FS#48517 - Nautilus doesn't change the default app to open xml files
Attached to Project:
Arch Linux
Opened by Juan Simón (j1simon) - Wednesday, 09 March 2016, 10:25 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 09 March 2016, 13:33 GMT
Opened by Juan Simón (j1simon) - Wednesday, 09 March 2016, 10:25 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 09 March 2016, 13:33 GMT
|
Details
GNOME Shell 3.18.4
GNOME nautilus 3.18.5 "application/xml" mime-type is associated by default to Firefox in my system. I want to open it with a text editor. I select, in Nautilus, the default application to gedit but it doesn't work. I've followed the guide of the wiki: https://wiki.archlinux.org/index.php/Default_applications#File_managers I've written these 2 files: $ cat ~/.local/share/applications/defaults.list: [Default Applications] text/markdown=menulibre-abricotine.desktop application/xml=org.gnome.gedit.desktop $ cat ~/.local/share/applications/mimeapps.list: [Default Applications] inode/directory=org.gnome.Nautilus.desktop application/xml=org.gnome.gedit.desktop Nothing works. Attach a video. |
This task depends upon
screencast.webm
$ mimeo --mime2desk application/xml
application/xml
org.gnome.gedit.desktop
"xdg-open file.xml" opens Firefox too but:
$ xdg-mime query default application/xml
org.gnome.gedit.desktop