[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can extra keyboard keys execute shell commands?



Hi, 

I've seen a program for doin that stuff, hotkeys on
freshmeat, but there is also an debian package in de testing / unstable.
But does someone know a program for doing this stuff under console ? ;-)

grtz Peter Durieux


On Sat, 14 Apr 2001, Noah L. Meyerhans wrote:

> Date: Sat, 14 Apr 2001 20:12:55 -0400
> From: Noah L. Meyerhans <frodo@morgul.net>
> To: Debian User List <debian-user@lists.debian.org>
> Subject: Re: Can extra keyboard keys execute shell commands?
> Resent-From: debian-user@lists.debian.org
> 
> On Sat, Apr 14, 2001 at 04:40:47PM -0700, brandtd@linuxfreemail.com wrote:
> > Just curious .... anyway that I can assign a key on my keyboard (I 
> > already know how to name and map the keys) to execute a command?  
> > If you want tu know, I'm know using XFree86 4.0.2 and
> > Window Maker
> 
> Yup.  The easiest way I know to do it is to have your window manger
> handle it.  That's because it's already listening to all the keyboard
> events that come in from the X server.  It is possible that there are
> other, WM independent programs out there to do it, but I don't know of
> them.
> 
> In any case, you will need to edit your Window Maker menu.  That's made
> a bit difficult (impossible?) if you're running the Debian generated
> menus.  If you're not, the the following (taken from
> ~/GNUstep/Library/WindowMaker/menu) will help:
> 
>  * Syntax is:
>  *
>  * <Title> [SHORTCUT <Shortcut>] <Command> <Parameters>
>  *
>  * <Title> is any string to be used as title. Must be enclosed with " if
> it
>  *      has spaces
>  * 
>  * SHORTCUT specifies a shortcut for that item. <Shortcut> has the
>  * same syntax of the shortcuts key options in the 
>  * $HOME/GNUstep/Defaults/WindowMaker file, such as RootMenuKey or
> MiniaturizeKe
> y.
> 
> I've got a MS Natural Pro keyboard with "Internet keys".  Using the
> Window Maker shortcuts I've set up the "Sleep" key to run xlock, another
> key to hide all the windows except that which currently has focus, and
> another to unhide all windows.  I've still got several more keys, but I
> don't know what to do with them.  8^)
> 
> HTH,
> noah
> 
> -- 
>  _______________________________________________________
> | Web: http://web.morgul.net/~frodo/
> | PGP Public Key: http://web.morgul.net/~frodo/mail.html 
> 
> 



Reply to: