emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Jackin <jackin@opt.utsunomiya-u.ac.jp>
Cc: emacs-orgmode@gnu.org
Subject: Re: Trigger org-capture window using linux shortcut key
Date: Wed, 22 May 2013 17:00:02 -0500	[thread overview]
Message-ID: <8738tead5p.fsf@fastmail.fm> (raw)
In-Reply-To: <loom.20130522T083952-277@post.gmane.org> (jackin@opt.utsunomiya-u.ac.jp's message of "Wed, 22 May 2013 06:40:39 +0000 (UTC)")

Jackin <jackin@opt.utsunomiya-u.ac.jp> writes:

>       I am wondering if it is possible to start a org-capture window
> (when not within emacs) using a shortcut key. Org-protocol allows this
> to be done from a web browser or adobe reader which is very useful. But
> I am thinking of a more general solution, for triggering a org-capture
> window from any where in Linux -> type in something and -> C-c c-c.
>
>      Any ideas or solutions? Thanks in advance.

The answer will likely depend on which desktop or window manager you
use. I have the following in my openbox rc.xml:

    <keybind key="W-r">
      <action name="Execute">
        <execute>emacsclient -c -e "(org-capture)"</execute>
      </action>
    </keybind>

Gnome and KDE will likely have a GUI for adding custom keyboard
shortcuts.

Best,
Matt

  parent reply	other threads:[~2013-05-22 22:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22  6:40 Trigger org-capture window using linux shortcut key Jackin
2013-05-22  7:10 ` Michael Strey
2013-05-22 22:00 ` Matt Lundin [this message]
2013-06-12 11:49   ` jackin
  -- strict thread matches above, loose matches on Subject: below --
2013-05-22  6:38 trigger " jackin

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=8738tead5p.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jackin@opt.utsunomiya-u.ac.jp \
    /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).