From: Clay B. <cla...@gm...> - 2005-12-04 20:13:45
|
I have been struggling with sending events that are combinations with the Super/Meta4/"Windows" key. My syntax is [...] begin remote = rm1000w button = prev repeat = 0 config = Key mod4-comma CurrentWindow end [...] but I've tried Super_L- and meta4- as well. Is there a way to cause this shifting? I am using a window manager with bindings that are all in combination with the Super key (to avoid any possible collisions), and I would like to use these shortcuts with my remote. Is there some way to send a key down event for the Super_L (or _R), the key, then the key up event as a workaround? -Clay |
From: EC <zy...@ve...> - 2005-12-05 02:14:20
|
On Sun, 04 Dec 2005 13:13:30 -0700 Clay Barnes <cla...@gm...> wrote: > I have been struggling with sending events that are combinations with > the Super/Meta4/"Windows" key. My syntax is > > [...] > begin > remote = rm1000w > button = prev > repeat = 0 > config = Key mod4-comma CurrentWindow > end > [...] That is not correct lircrc syntax. You need to have a "prog = <foo>" entry to specify what program lirc passes the config string to. Look at http://lirc.org/html/configure.html#lircrc_format I believe you can do what you are trying to with irxevent. Look at its manpage. |
From: Clay B. <cla...@gm...> - 2005-12-05 12:46:59
|
EC wrote: >On Sun, 04 Dec 2005 13:13:30 -0700 >Clay Barnes <cla...@gm...> wrote: > > > >>I have been struggling with sending events that are combinations with >>the Super/Meta4/"Windows" key. My syntax is >> >>[...] >> begin >> remote = rm1000w >> button = prev >> repeat = 0 >> config = Key mod4-comma CurrentWindow >> end >>[...] >> >> > >That is not correct lircrc syntax. You need to have a "prog = <foo>" >entry to specify what program lirc passes the config string to. Look >at http://lirc.org/html/configure.html#lircrc_format > >I believe you can do what you are trying to with irxevent. Look at its >manpage. > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > > I have no idea how I mangled my message so much where it counts... I actually have this section in my config: begin remote = rm1000w button = next prog = irxevent repeat = 0 config = Key mod4-period CurrentWindow end Not the one I posted. --Clay |
From: EC <zy...@ve...> - 2005-12-06 22:31:43
|
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. |
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 |