alphapapa / org-protocol-capture-html

Capture HTML from the browser selection into Emacs as org-mode content
453 stars 39 forks source link

Include Add Protocol Handler in README.org #15

Closed donlindsay closed 7 years ago

donlindsay commented 7 years ago

Add Protocol Handler

Create file ~/.local/share/applications/org-protocol.desktop containing:

[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:

On GNOME: update-desktop-database ~/.local/share/applications/ On KDE: kbuildsycoca4

ref: http://stackoverflow.com/questions/7464951/how-to-make-org-protocol-work

donlindsay commented 7 years ago

Actually, I need to read the whole document myself first. The instructions are there, just at the bottom.