You are not logged in.
hi, i've set up my thinkpad t42's ACCESS IBM button to produce "XF86LaunchA"
how can assign it to spawn urxvt with netcfg-menu in dwm?
thx 4 ur help
☃ Snowman ☃
Offline
If you have other hotkeys you'd like to bind then you might be better off using xbindkeys--it's dead simple to configure and doesn't even require that the keys are assigned. Otherwise, have a look at this thread:
http://lists.suckless.org/dwm/0701/1781.html
Basically you'll have to do something like this with your config.h:
#include <X11/XF86keysym.h> /* makes XF86* keys work */
/* commands */
static const char *netcfgcmd[] = { "urxvt", "-e", "netcfg-menu", NULL };
static Key keys[] = {
/* modifier key function argument */
{ 0, XF86XK_LaunchA, spawn, {.v = netcfgcmd } },
Haven't done this myself, so I can't confirm it'll work in the current version, but several older threads report success.
Last edited by thayer (2008-10-31 14:43:36)
thayer williams ~ cinderwick.ca
Offline
I use XF86 keysyms in my config.h. The include above works.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
XF86XK_LaunchA
thats what i was looking for
thx
☃ Snowman ☃
Offline