You are not logged in.

#1 2013-05-26 04:43:31

Gradient
Member
Registered: 2013-05-19
Posts: 101

xdg-open strange behaviour

When I have no defaults.list and mimeapps.list, xdg-open opens text/plain with gvim. But when I create defaults.list in /usr/share/applications/ and add the following lines :

[Default Applications]
text/plain=emacs.desktop

it opens text files with firefox.

However, if I move /usr/share/applications/defaults.list to ~/.local/share/applications/mimeapps.list, it opens text files with emacs as expected.

What is happening with xdg-open?

Offline

Board footer

Powered by FluxBB