mimeapps.list only takes a desktop file name, not a full path. Try text/plain=gedit.desktop;
J. Leclanche On Sun, Sep 30, 2012 at 6:36 PM, Paul Menzel < [email protected]> wrote: > Dear freedesktop.org folks, > > > using Debian Sid/unstable, trying to configure how to open files, I am > having some problems. > > $ xdg-mime --version > xdg-mime 1.1.0 rc1 > $ xdg-mime query default text/plain > /usr/share/applications/gedit.desktop > $ echo text > test.txt > $ xdg-mime query filetype test.txt > text/plain > $ grep 'text/plain' ~/.local/share/applications/mimeapps.list > text/plain=/usr/share/applications/gedit.desktop > $ xdg-open test.txt # opens with `less` instead of Gedit > > So instead of opening it with the configured Gedit, it is opened with > the pager `less`. > > > Thanks, > > Paul > > _______________________________________________ > xdg mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xdg > >
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
