I'm also suffering from this bug, so here's some workarounds I've found on the Internet.
SO suggests the following workarounds: * gtk-launch foo opens foo.desktop * exo-open [[path-to-a-desktop-file]...] * hashbang: #!/usr/bin/env deskopen * dex foo.desktop Ref: https://askubuntu.com/questions/5172/running-a-desktop-file-in-the-terminal -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/378783 Title: xdg-open *.desktop opens text editor To manage notifications about this bug go to: https://bugs.launchpad.net/gvfs/+bug/378783/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs