From: Clay B. <cla...@gm...> - 2005-12-07 22:38:34
|
EC wrote: > On Mon, 05 Dec 2005 05:46:42 -0700 > Clay Barnes <cla...@gm...> wrote: > >> begin >> remote = rm1000w >> button = next >> prog = irxevent >> repeat = 0 >> config = Key mod4-period CurrentWindow >> end > > > look at > http://howto.gp.mines.edu/local-apps/lirc-0.7.1/doc/irxevent.keys as > well as /usr/include/X11/keysymdef.h, there is a list of valid lirc > keys. I see Meta_L and Meta_R, don't think mod4 is a valid descriptor. The documentation seems to imply that mod(3|4)- and meta- should work : In BNF this looks like: LINE = "config =" <KEY|BUTTON|XYKEY> <TARGET> | "config =" <KEY|BUTTON|XYKEY> "Focus" <TARGET> XYKEY = "xy_Key" <x_position> <y_position> <MOD><KEYSPEC> KEY = "Key" <MOD><KEYSPEC> MOD = ["shift-"]["numlock-"]["ctrl-"]["alt-"]["meta-"] ["numlock-"]["mod3-"]["mod4-"]["scrlock-"] KEYSPEC = Keyname | "KeySym:"KeySym | "KeyCode:"KeyCode BUTTON = "Button" <1..5> <x_position> <y_position> TARGET = Windowname | "WindowID" id | "CurrentWindow" | "RootWindow" (from http://www.lirc.org/html/irxevent.html) Well, I tried the following config lines anyway: config = Key mod4-l RootWindow config = Key mod3-l RootWindow config = Key meta-l RootWindow config = Key super-l RootWindow config = Key hyper-l RootWindow config = Key mod3-l CurrentWindow config = Key mod4-l CurrentWindow config = Key meta-l CurrentWindow config = Key super-l CurrentWindow config = Key hyper-l CurrentWindow in the following context: begin remote = rm1000w button = play prog = irxevent repeat = 0 config = Key [shifting]-l [window] end ...and none did what I was trying to accomplish (trigger a window-manager event). Any idea what else to try? --Clay |