Boy. Did this take a lot of schlepping to figure out. I use xubuntu/xfce because the extra keystrokes/mouse clicks required with gnome 3, puts undue stress on my repetitive stress injury. And the interface is dead simple.
Normally changing the default application in Linux is pretty easy.
For example (Thanks Joe):
And that is what you would normally see. But xubuntu uses the xfce interface.
And well, this is what you get:
Notice anything different? (other than the fact the font is too small). The details icon, does not exist! So how do you change the default program for an application? Preferred applications won’t let you change the default media player for example.
With much schlepping. I found the answer. Ta da!
Note anything with an octothorpe (#) is a comment and does NOT need to be coded. This changes the default applications GLOBALLY (for ALL users).
cd /usr/share/applications/ # change the working directory
sudo cp defaults.list defaults.list.bkp # make a backup copy first
sudo nano defaults.list
and you will see:
[Default Applications] application/csv=libreoffice-calc.desktop application/excel=libreoffice-calc.desktop application/msexcel=libreoffice-calc.desktop application/msword=libreoffice-writer.desktop application/ogg=rhythmbox.desktop application/oxps=evince.desktop application/pdf=evince.desktop
and more good stuff! That is the easiest way to change the default program in xfce. No it’s not impossible (but I was beginning to think it just might be), it just requires a bit more effort.
To make the change just for the user (LOCALLY) you would be changing
.local/share/applications/mimeapps.list
Wayno
Related Articles
No user responded in this post