Skip to content

Instantly share code, notes, and snippets.

@detrout
Created November 3, 2016 06:06
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save detrout/d27ad655bfb3b09007fa2683f213d4cb to your computer and use it in GitHub Desktop.
Save detrout/d27ad655bfb3b09007fa2683f213d4cb to your computer and use it in GitHub Desktop.
Desktop file to use org-protocol with xdg-open AKA GNOME 3 / KDE Plasma 5 (Save to ~/.local/share/applications/org-protocol.desktop
[Desktop Entry]
Version=1.0
Name=org-protocol helper
Comment=helper to allow GNOME to open org-protocol: pseudo-urls
TryExec=/usr/bin/emacsclient
Exec=/usr/bin/emacsclient %u
NoDisplay=true
Icon=emacs24
Terminal=false
Type=Application
@detrout
Copy link
Author

detrout commented Nov 3, 2016

You also need to update ~/.config/mimeapps.list with

[Added Associations]
x-scheme-handler/org-protocol=org-protocol.desktop;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment