On Wed, 2004-02-18 at 05:54, stu wrote:
> Thanks for all the suggestions, everyone. For anyone who may be
> interested, I created a .xmodmaprc file in my home directory containing:
>
> keycode 222 = F33
> keycode 223 = F34
> keycode 227 = F35
>
> I had to use F33, F34 and F35 (my keyboard doesn't have them) as xmodmap
> complained if I used a keysym name that wasn't in keysymdef.h - I'm not
> sure if it's safe to add my own entries to keysymdef.h. I've added
>
> xmodmap .xmodmaprc
>
> to my .xinitrc, and bound the above keys to some handy xmms functions.
> It all works like a charm!
FWIW, XFree86 has key symbols for these keys (defines in XF86keysym.h):
XF86PowerOff, XF86Sleep, and XF86WakeUp. There are also some symbols
that may be more appropriate to what you're actually using the keys for,
such as XF86AudioNext.
--
Ben Winslow <rain_at_bluecherry.net>
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Feb 18 2004 - 06:50:23 GMT