`xdg-open test.txt` uses `less` instead of configured application
Paul Menzel
paulepanter at users.sourceforge.net
Sun Sep 30 10:36:40 PDT 2012
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
-------------- next part --------------
text
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20120930/63c439e5/attachment.pgp>
More information about the xdg
mailing list