# Capturing into org-mode from Chromium

org-protocol provides a way to capture information into org-mode from external sources, such as your browser. I like to be able to add TODO items related to webpages (e.g., something I want read at a later date).

Following the org-protocol guide I added the following bookmark in Chromium.

The ‘W’ indicates which template in org-capture-templates should be used and the other parts harvest the URL, page title, and any text I may have selected. In this case, my capture template is

I registered emacsclient to handle org-protocol links by creating a file at

~/.local/share/applications/emacsclient.desktop


with the following content.

The -c tells emacsclient to make a new frame for me. But I want to make sure that I get a frame with one window (just the capture buffer) and that once I finish the capture the frame will vanish. To achieve that, I added the following to my org-mode configuration.