Page 1 of 1
using "W-." keybind
Posted: Thu Oct 11, 2012 5:15 am
by KranthiKatikala
I'm trying to use the following code in the lxde-rc.xml file.
Code: Select all
</keybind>
<keybind key="W-.">
<action name="ToggleMaximize">
<direction>both</direction>
</action>
</keybind>
But the keybind won't work. I don't mind changing the keybind to something else at all, but can anyone please direct me to the page which contains a possible explanation for this please?
Thanks.

Re: using "W-." keybind
Posted: Thu Oct 11, 2012 2:44 pm
by maaaaaarco
open a terminal and do this:
Now press the key-button you want to use and read its code. For example this is the output when i press the right shift
Code: Select all
$xev
KeyRelease event, serial 41, synthetic NO, window 0x2600001,
root 0x25c, subw 0x0, time 1549033, (-358,489), root:(262,779),
state 0x1, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
This is the line that interest you:
state 0x1, keycode 62 (keysym 0xffe2,
Shift_R), same_screen YES
Shift_R it's the key-button code to use in lxde-rc.xml

Re: using "W-." keybind
Posted: Sat Oct 13, 2012 5:35 am
by KranthiKatikala
I already did that.Thanks. Both the keys are recognised. Maybe there are keybindings in other rc files which must be checked for conflicts. Where can i find them.? any suggestions? thanks.
Re: using "W-." keybind
Posted: Sat Oct 13, 2012 12:15 pm
by maaaaaarco
take a look to /etc/xdg/openbox/rc.xml
Re: using "W-." keybind
Posted: Sat Oct 13, 2012 5:32 pm
by seppalta
Keybindings are stored in
/etc/xdg/openbox, /usr/share/lxde/openbox, ~/.config/openbox, or a slight variation of these depending upon distribution.
http://lxlinux.com/#3
Re: using "W-." keybind
Posted: Sat Oct 20, 2012 9:02 pm
by networker
KranthiKatikala wrote:I'm trying to use the following code in the lxde-rc.xml file.
Code: Select all
</keybind>
<keybind key="W-.">
<action name="ToggleMaximize">
<direction>both</direction>
</action>
</keybind>
But the keybind won't work. I don't mind changing the keybind to something else at all, but can anyone please direct me to the page which contains a possible explanation for this please?
Thanks.

Caution with the code that you posted, it has a keybind ending tag on the top, it made me an error when I rebooted and the session started, so I saw it
