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

Re: logitech chordless desktop pro



	Subject: logitech chordless desktop pro
	Date: Wed, Aug 01, 2001 at 06:05:39PM +0200

In reply to:Bas van Gils

Quoting Bas van Gils(bas.vangils@home.nl):
> Hi everyone,
> 
> I've been using my Logitech Chordless Desktop Pro keyboard for a while;
> works like a charm. Lately I've been wondering whether it's possible to
> map the extra keys on this keyboard. e.g.:
> 
> 
>     `mail-button' -> start mutt
>     `browser-button' -> start lynx
>     `sound-off-button' ->turn sound off :-)
> 

Check out the showkey man page.  Once you get the correct code the
keys emit you can add them to your .inputrc file like so...

# reset the screen F1
"ESC[[A": "reset\C-M"
# F2
"\033[[B": "finger @finger.kernel.org\C-M"
# F3
"\033[[C": "/sbin/iptables -L -n -v ; /sbin/iptables -L -t nat -n -v ; /sbin/iptables -L -t mangle -n -v \C-M"
# F4
"\033[[D": "rsgpm\C-M"

HTH
Wayne
-- 
Computer analyst to programmer: "You start coding. I'll go find out
what they want."
_______________________________________________________



Reply to: