#807854 devede: DeVeDe hijacks file associations in Xfce

#807854#5
Date:
2015-12-13 19:49:31 UTC
From:
To:
Dear Maintainer,

I installed devede using apt-get.

Now whenever I double-click on any file in the Xfce file manager
(Thunar), DeVeDe starts.

It appears that DeVeDe has hijacked the file associations in
Xfce/ Thunar.

David

#807854#10
Date:
2015-12-13 21:34:23 UTC
From:
To:
 > I noted the problem when opening a *.txt file.

After I had configured Thunar to open *.devede files using DeVeDe.


David

#807854#15
Date:
2015-12-13 21:28:35 UTC
From:
To:
I noted the problem when opening a *.txt file.


STFW Xfce stores file associations for a given user in:

     ~/.config/mimeapps.list


Mine contained two entries that seem to be the source of the bug:

     2015-12-13 13:23:42 dpchrist@i72600s ~/.config
     $ egrep -i '^\[|devede' mimeapps.list-20151212-225710-devede
     [Default Applications]
     text/plain=devede.desktop
     [Added Associations]
     text/plain=devede.desktop;


Removing them fixed the problem for *.txt files -- double-clicking on a
*.txt file in Thunar opens the file in Mousepad.


But when I double-click on a *.devede file, it is also opened by Mousepad!


So, it appears that:

1.  Xfce thinks *.txt files are MIME type text/plain.

2.  Xfce thinks *.devede files are MIME type text/plain.

3.  Xfce uses MIME type for file association.


So, the root cause of the problem appears to be Xfce and the design of
its file association feature (?).


David