Closed donlindsay closed 7 years ago
Create file ~/.local/share/applications/org-protocol.desktop containing:
~/.local/share/applications/org-protocol.desktop
[Desktop Entry] Name=org-protocol Exec=emacsclient %u Type=Application Terminal=false Categories=System; MimeType=x-scheme-handler/org-protocol;
Note: Each line's key must be capitalized exactly as displayed, or it will be an invalid .desktop file.
Then update ~/.local/share/applications/mimeinfo.cache by running:
~/.local/share/applications/mimeinfo.cache
On GNOME: update-desktop-database ~/.local/share/applications/ On KDE: kbuildsycoca4
update-desktop-database ~/.local/share/applications/
kbuildsycoca4
ref: http://stackoverflow.com/questions/7464951/how-to-make-org-protocol-work
Actually, I need to read the whole document myself first. The instructions are there, just at the bottom.
Add Protocol Handler
Create file
~/.local/share/applications/org-protocol.desktop
containing:Note: Each line's key must be capitalized exactly as displayed, or it will be an invalid .desktop file.
Then update
~/.local/share/applications/mimeinfo.cache
by running:On GNOME:
update-desktop-database ~/.local/share/applications/
On KDE:kbuildsycoca4
ref: http://stackoverflow.com/questions/7464951/how-to-make-org-protocol-work