Re: butnmapr

From: Hans <hans_familiar_at_defect.org>
Date: Mon, 20 Aug 2001 09:44:11 +0200

Hi,

On Mon, Aug 20, 2001 at 11:55AM , DOI Yusuke
hopped a keyboard producing:

-snip-

> > As I understand it, this remapping maps the buttons to buttons on a
> > keyboard.
> >
> > Is it possible to execute a specific command by pressing one of the buttons?
> >
> > e.g. button 1 --> launch web browser etc.
> >
> > If so, how would I achieve this?
>
> I also need the same function. I believe usual(i.e. twm and many other
> successors) window manager have 'hot key and execution' functionarity
> but blackbox doesn't. Is there any stand-alone program to make it?
>
> Thanks.
>
> Yusuke

On http://www.longbros.com/benjamin/ipaq/, you can find bbkeys. It has
a .bbkeysrc that looks like this:
KeyToGrab(XF86Calendar), WithModifier(None),
   WithAction(ExecCommand), DoThis(schedule)
KeyToGrab(XF86Start), WithModifier(None),
  WithAction(ExecCommand), DoThis(/bin/echo >/proc/sys/pm/suspend)
KeyToGrab(telephone), WithModifier(None),
  WithAction(ExecCommand), DoThis(contacts)
KeyToGrab(menu), WithModifier(None),
  WithAction(ExecCommand), DoThis(/usr/bin/calculator)

Looks like the exect program you need.

hans
Received on Mon Aug 20 2001 - 00:34:49 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:33 EDT