[solved] `xdg-open test.txt` uses `less` instead of configured application

Paul Menzel paulepanter at users.sourceforge.net
Sun Sep 30 10:55:38 PDT 2012


Am Sonntag, den 30.09.2012, 18:37 +0100 schrieb Jerome Leclanche:
> mimeapps.list only takes a desktop file name, not a full path. Try
> text/plain=gedit.desktop;

That indeed worked. Thanks!

With the wisdom of hindsight, I now know that I invoked `xdg-mime`
incorrectly.

    $ xdg-mime default /usr/share/applications/gedit.desktop text/plain


Thanks,

Paul
-------------- 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/fe4d0bcb/attachment.pgp>


More information about the xdg mailing list