All of lore.kernel.org
 help / color / mirror / Atom feed
* Keybinding on Matchbox, press a key and run an app
@ 2015-05-18 17:50 Robert Tulke
  2015-05-29 19:33 ` Trevor Woerner
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Tulke @ 2015-05-18 17:50 UTC (permalink / raw)
  To: yocto

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?

Robert

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Keybinding on Matchbox, press a key and run an app
  2015-05-18 17:50 Keybinding on Matchbox, press a key and run an app Robert Tulke
@ 2015-05-29 19:33 ` Trevor Woerner
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2015-05-29 19:33 UTC (permalink / raw)
  To: Robert Tulke, yocto

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-29 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.