From: Matt Lundin <mdl@imapmail.org>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: capture with iceweasel/firefox -- nothing works
Date: Fri, 03 Jun 2016 23:05:02 -0500 [thread overview]
Message-ID: <87shwtfvkh.fsf@fastmail.fm> (raw)
In-Reply-To: <CAOQHXPpfLyds_1R4-C8O=Un1p-Kvy-iR3seumn3OqbEPaFyGiw@mail.gmail.com> (Xebar Saram's message of "Sat, 4 Jun 2016 06:04:47 +0300")
Xebar Saram <zeltakc@gmail.com> writes:
> Hi
>
> i will add that im exactly in the same situatuon
> i use a window manager (i3) on arch linux and have tried almost every
> solution out there (with FF, chrome etc) with no working method.
> i really wish org-protocol had a much simpler way of capturing
> links,text tec. im not a programmer but to me it seems so complicated.
> it the past before i was using org i had a simple bash script that
> yanked links/text from dwb (a simple web browser) and added that to a
> text file. something like this
>
> #!/bin/bash
> # dwb: xtm
> task add pro:dl +music $DWB_TITLE $DWB_URI
> where the current title+URI of the webpage was added to a text file
> (task add) command.
>
> would love something simple like that for orgmode
I think you could put something like this in the script:
emacsclient "org-protocol://capture?url=$DWB_URI&title=$DWB_TITLE"
If you wanted to add the extra project and tag information (e.g.,
"music"), you could create a custom capture template and then designate
the template shortcut (e.g., "m") in the script:
emacsclient "org-protocol://capture?template=m&url=$DWB_URI&title=$DWB_TITLE"
Matt
next prev parent reply other threads:[~2016-06-04 4:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-04 1:23 capture with iceweasel/firefox -- nothing works Samuel Wales
2016-06-04 1:30 ` Samuel Wales
2016-06-04 1:33 ` Samuel Wales
2016-06-04 3:04 ` Xebar Saram
2016-06-04 4:05 ` Matt Lundin [this message]
2016-06-04 3:56 ` Matt Lundin
2016-06-04 4:00 ` Matt Lundin
2016-06-04 5:13 ` Samuel Wales
2016-06-04 15:11 ` Matt Lundin
2016-09-04 3:23 ` Samuel Wales
2016-09-12 23:14 ` Adam Porter
2016-09-20 1:38 ` Samuel Wales
2016-07-21 10:01 ` Adam Porter
2016-06-04 8:26 ` tumashu
2016-06-04 12:03 ` Philip Hudson
2016-06-04 20:53 ` [OT] " Matt Lundin
2016-06-04 23:01 ` Philip Hudson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shwtfvkh.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).