Red Hat Bugzilla – Bug 701614
Gnome Mime type associations to applications are broken if exo package (Xfce) is installed
Last modified: 2015-03-03 18:00:00 EST
Created attachment 496489 [details]
Description of problem:
There is some race condition for Gnome Desktop Environment triggered by installing package of exo file manager (part of Xfce desktop environment), which causes Gnome desktop environment to process MIME associations in a wrong way.
#xdg-mime query filetype screenshot.png
#xdg-mime query default image/png
So you would guess that eog will be executed to process a file, but instead the nautilus is executed and ends with attached error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have installed Gnome and Xfce desktop environment
2. Run GNOME session (Please note I am using gnome and not Xfce)
3. Trigger mime action from commandline:
#exo-open --launch FileManager /tmp/screenshot.png
and ends with error message:
Could not display "/tmp/screenshot.png". The location is not a folder.
In my opinion when having Gnome session the behaviour should not be affected by having installed any other desktop environment. These things should be independent. Running gnome - it should take gnome mime type settiongs, running Xfce it shuold take Xfce mime type settings.
I forgot to mention that after uninstalling the exo package things work as expected in Gnome:
#sudo rpm -e exo --nodeps
which opens file using /usr/share/applications/gnome-eog.desktop as expected
Problem is that obviously this will break the Xfce functionality on the other hand.
*** This bug has been marked as a duplicate of bug 674321 ***