since some days my Files lens opens only nautilus but not the correct application which is associated with the file extension.
For example, if I choose a PDF file, Nautilus is openend, pointing to the directory there the file is (and the file is selected) but Adobe Reader is not opened.
Then I do the same in the terminal with
xdg-open sample.pdf
only Nautilus is opened too.
xdg-mime shows me this info:
$ xdg-mime query default application/pdf
acroread.desktop
The /usr/share/applications/acroread.desktop file:
[Desktop Entry]
Name=Adobe Reader 9
MimeType=application/pdf;application/vnd.fdf;application/vnd.adobe.pdx;application/vnd.adobe.xdp+xml;application/vnd.adobe.xfdf;
Exec=acroread
Type=Application
GenericName=PDF Viewer
Terminal=false
Icon=AdobeReader9
Caption=PDF Viewer
X-KDE-StartupNotify=false
Categories=Application;Office;Viewer;X-Red-Hat-Base;
InitialPreference=9
The same with other file types like images, music files and office documents.
Then I doubleclick the file in Nautilus everything is ok and the correct applications are opened.
I assume this behaviour has something to do with Thunar which I've installed some days ago but deinstalled after these problems.
Any suggestions?
Best Answer
I had the same problem when I installed xfce (my question can be found here).
My problem was solved after uninstalling all xubuntu*, xfdesktop4* and xfce4* packages (and thunar).
Perhaps you should start by typing:
aptitude search xfce xfd xubuntu | grep ^i
in order to see which packages are installed in your system.
Then proceed with their uninstallation.