From: Trevor Woerner <twoerner@gmail.com>
To: Robert Tulke <rt@debian.sh>, yocto@yoctoproject.org
Subject: Re: Keybinding on Matchbox, press a key and run an app
Date: Fri, 29 May 2015 15:33:37 -0400 [thread overview]
Message-ID: <5568BF11.9070401@gmail.com> (raw)
In-Reply-To: <5FC071E3-FA55-4622-9560-1CE4DE14C499@debian.sh>
Hi Robert,
On 05/18/15 13:50, Robert Tulke wrote:
> Hi i’ve a question, how i can create a keybinding or mapping for a specific key to run an application?
>
> So what i want, i’ll press for example F12 and that will start a application?
It depends.
If you're running a GUI environment with a window manager of some sort,
then you'll have to read up on that window manager's documentation to
see if binding a key to an event is possible. If it is, each manager
will have its own way of doing this. For example fvwm2 has the "Key"
command which you would have to configure in a .fvwm2rc configuration
file. Each user has their own such configuration file, so just because,
say F12 works one way for one user, doesn't mean it'll do anything for
another user.
xfce has its own way of configuring key bindings. I have no idea if sato
supports this.
If you wanted to set a key binding that would work across users then
you'd have to look at the underlying display manager, which is probably
X in your case, and see if/how you'd tie into the X event system (I'm
not even sure it's possible at this level).
If you're using Wayland instead of X, I have no idea.
If you're not using a GUI environment, I wouldn't have the faintest idea
how to do this (or if it is even possible) using just a plain ol' console.
Maybe this will help:
https://wiki.archlinux.org/index.php/Keyboard_shortcuts
prev parent reply other threads:[~2015-05-29 19:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 17:50 Keybinding on Matchbox, press a key and run an app Robert Tulke
2015-05-29 19:33 ` Trevor Woerner [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5568BF11.9070401@gmail.com \
--to=twoerner@gmail.com \
--cc=rt@debian.sh \
--cc=yocto@yoctoproject.org \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.