From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: capture with iceweasel/firefox -- nothing works Date: Fri, 03 Jun 2016 23:05:02 -0500 Message-ID: <87shwtfvkh.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b92pt-0004WB-60 for emacs-orgmode@gnu.org; Sat, 04 Jun 2016 00:05:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b92pn-0002kT-4Z for emacs-orgmode@gnu.org; Sat, 04 Jun 2016 00:05:20 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b92pk-0002dp-Rh for emacs-orgmode@gnu.org; Sat, 04 Jun 2016 00:05:15 -0400 In-Reply-To: (Xebar Saram's message of "Sat, 4 Jun 2016 06:04:47 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Xebar Saram Cc: org mode Xebar Saram 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