Re: Openbox keybindings, how do you use them?
<keybind key="W-0"><action name="ToggleFullscreen"/></keybind>CrunchBang Linux Forums » CrunchBang Talk » Openbox keybindings, how do you use them?
<keybind key="W-0"><action name="ToggleFullscreen"/></keybind>Where does one find a list of these things like: Menu = 135 = 0x87?
I don't know about a list, but you can use xev to find the key codes. Example output (there will be a lot of text btw):

or what are the:
M Meta key, and H Hyper key (If it is bound to something)
Meta:
http://en.wikipedia.org/wiki/Meta_key
Im not sure about the Hyper key though.
is the "less" key the < ?
< is "less" or keycode 59
> is "greater" or keycode 60
@ anonymous
I am going to adopt you! ![]()
I went through the xev thing you gave me and got a list. I took out the obvious ones like the letters and numbers --- then I trimmed the fat. I missed the [Shift]+< to get > = greater. ![]()
It is obvious that this list is specific to my keyboard in some respects --> ñ Ñ ó ° ¿ ¡ blah blah
state 0x10, keycode 49 (keysym 0x7c, bar) (7c) "|"
state 0x10, keycode 20 (keysym 0x27, apostrophe) (27) "'"
state 0x10, keycode 21 (keysym 0xbf, questiondown) (c2 bf) "¿"
state 0x10, keycode 23 (keysym 0xff09, Tab) (09) " "
state 0x10, keycode 34 (keysym 0xfe51, dead_acute) (c2 b4) "´"
state 0x10, keycode 35 (keysym 0x2b, plus) (2b) "+"
state 0x12, keycode 48 (keysym 0x7b, braceleft) (7b) "{"
state 0x12, keycode 51 (keysym 0x7d, braceright) (7d) "}"
state 0x10, keycode 47 (keysym 0xf1, ntilde) (c3 b1) "ñ"
state 0x10, keycode 48 (keysym 0x7b, braceleft) (7b) "{"
state 0x10, keycode 51 (keysym 0x7d, braceright) (7d) "}"
state 0x10, keycode 94 (keysym 0x3c, less) (3c) "<"
state 0x10, keycode 59 (keysym 0x2c, comma) (2c) ","
state 0x10, keycode 60 (keysym 0x2e, period) (2e) "."
state 0x10, keycode 61 (keysym 0x2d, minus) (2d) "-"
state 0x10, keycode 111 (keysym 0xff52, Up)
state 0x10, keycode 116 (keysym 0xff54, Down)
state 0x10, keycode 113 (keysym 0xff51, Left)
state 0x10, keycode 114 (keysym 0xff53, Right)
state 0x10, keycode 119 (keysym 0xffff, Delete)
state 0x10, keycode 115 (keysym 0xff57, End)
state 0x10, keycode 117 (keysym 0xff56, Next)
state 0x10, keycode 112 (keysym 0xff55, Prior)
state 0x10, keycode 110 (keysym 0xff50, Home)
state 0x10, keycode 118 (keysym 0xff63, Insert)
state 0x10, keycode 107 (keysym 0xff61, Print)
state 0x10, keycode 78 (keysym 0xff14, Scroll_Lock)
state 0x10, keycode 127 (keysym 0xff13, Pause)
state 0x10, keycode 50 (keysym 0xffe1, Shift_L)
state 0x11, keycode 49 (keysym 0xb0, degree) (c2 b0) "°"
state 0x11, keycode 10 (keysym 0x21, exclam) (21) "!"
state 0x11, keycode 11 (keysym 0x22, quotedbl) (22) """
state 0x11, keycode 12 (keysym 0x23, numbersign) (23) "#"
state 0x11, keycode 13 (keysym 0x24, dollar) (24) "$"
state 0x11, keycode 14 (keysym 0x25, percent) (25) "%"
state 0x11, keycode 15 (keysym 0x26, ampersand) (26) "&"
state 0x11, keycode 16 (keysym 0x2f, slash) (2f) "/"
state 0x11, keycode 17 (keysym 0x28, parenleft) (28) "("
state 0x11, keycode 18 (keysym 0x29, parenright) (29) ")"
state 0x11, keycode 19 (keysym 0x3d, equal) (3d) "="
state 0x11, keycode 20 (keysym 0x3f, question) (3f) "?"
state 0x11, keycode 21 (keysym 0xa1, exclamdown) (c2 a1) "¡"
state 0x11, keycode 94 (keysym 0x3e, greater) (3e) ">"
state 0x11, keycode 48 (keysym 0x5b, bracketleft) (5b) "["
state 0x11, keycode 51 (keysym 0x5d, bracketright) (5d) "]"
state 0x90, keycode 48 (keysym 0xfe52, dead_circumflex) (5e) "^"
state 0x90, keycode 51 (keysym 0xfe50, dead_grave) (60) "`"
state 0x90, keycode 20 (keysym 0x5c, backslash) (5c) "\"
state 0x90, keycode 24 (keysym 0x40, at) (40) "@"And I do not have the Meta key but I do have a [Alt Gr] key:
state 0x14, keycode 37 (keysym 0xffe3, Control_L)
state 0x50, keycode 133 (keysym 0xffeb, Super_L)
state 0x18, keycode 64 (keysym 0xffe9, Alt_L)
state 0x10, keycode 65 (keysym 0x20, space)
state 0x90, keycode 108 (keysym 0xfe03, ISO_Level3_Shift) (my [Alt Gr] key)
state 0x50, keycode 134 (keysym 0xffec, Super_R)
state 0x10, keycode 135 (keysym 0xff67, Menu)
state 0x14, keycode 105 (keysym 0xffe4, Control_R)Anyway with all that I am ready to start customizing my keybindings and come back with a proper response. It will be a few days though. ![]()
I also checked out the [Alt Gr] key I have:
[Alt Gr] + key:
| 1 2 3 4 5 6 7 8 9 0 ' ¿
¬ | @ · ~ ½ ¬ { [ ] } \
q w e r t y u i o p [ ] + [this key once and a vowel for accent = ó]
@ ł € ¶ ŧ ← ↓ → ø þ ¨ ~
a s d f g h j k l ñ { }
æ ß ð đ ŋ ħ j ĸ ł ~ ^ ` (the last two need to be hit twice)
< z x c v b n m , . -
| « » ¢ “ ” n µ ·[Alt Gr]+[Shift] + key
1 2 3 4 5 6 7 8 9 0 ' ¿
¡ ⅛ £ $ ⅜ ⅝ ⅞ ™ ± °
q w e r t y u i o p ´ +
Ω Ł ¢ ® Ŧ ¥ ↑ ı Ø Þ ° ¯
a s d f g h j k l ñ { }
Æ § Ð ª Ŋ Ħ J & Ł ˝ { }
< z x c v b n m , . -
¦ < > © ‘ ’ N º × ÷ ˙I never knew I had all that stuff until just now.
Now I can really give my 2¢ worth. ![]()
Last edited by Sector11 (2010-06-21 02:49:10)
I can't get hex codes to work! I'm trying to get my eee pc power button to launch the log out script.
The button is 116 is decimal, and 74 in hex.
<keybind key="0x74">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Logout</name>
</startupnotify>
<command>openbox-logout</command>
</action>
</keybind>
Nothing hapens
And just as a test, I changed W-x to hex. but that didn't work
<keybind key="W-0x2d">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Logout</name>
</startupnotify>
<command>openbox-logout</command>
</action>
</keybind>
Any help would be great! thanks
Did you run "openbox --reconfigure" after modifying the rc.xml?
I did. And after changing W-x to hex, using super-x just types "x".
On my keyboard hex code for "x" is 0x35. How did you get 0x2d?
...following question:
Do you use keybindings and if so, which ones do you use on a regular basis? I am looking for key combinations and their actions.
Apart from the default ones already set:
Alt+F11=Iconify
Alt+F12=Maximize
Alt+r=Resize with mouse
I was wondering how much of the (manual) tiling could be done with openbox, so i made keybindings to move windows around the screen. I now use my numeric keypad to resize and move windows.
Unfortunatly openbox is down atm, so i can't check if it's possible to resize to a percentage.
Here's the code for rc.xml
Of course you have to adjust height and width to your screen size.
<keybind key="W-KP_7">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<height>410</height>
<width>716</width>
</action>
<action name="MoveToEdgeNorth"/>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-KP_8">
<action name="UnmaximizeFull"/>
<action name="MaximizeHorz"/>
<action name="MoveResizeTo">
<height>410</height>
</action>
<action name="MoveToEdgeNorth"/>
</keybind>
<keybind key="W-KP_9">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<height>410</height>
<width>716</width>
</action>
<action name="MoveToEdgeNorth"/>
<action name="MoveToEdgeEast"/>
</keybind>
<keybind key="W-KP_4">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>716</width>
</action>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-KP_5">
<action name="MaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>716</width>
</action>
<action name="MoveToEdgeEast"/>
</keybind>
<keybind key="W-KP_6">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>716</width>
</action>
<action name="MoveToEdgeEast"/>
</keybind>
<keybind key="W-KP_1">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<height>410</height>
<width>716</width>
</action>
<action name="MoveToEdgeSouth"/>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-KP_2">
<action name="UnmaximizeFull"/>
<action name="MaximizeHorz"/>
<action name="MoveResizeTo">
<height>410</height>
</action>
<action name="MoveToEdgeSouth"/>
</keybind>
<keybind key="W-KP_3">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<height>410</height>
<width>716</width>
</action>
<action name="MoveToEdgeSouth"/>
<action name="MoveToEdgeEast"/>
</keybind> Posts [ 26 to 34 of 34 ]
CrunchBang Linux Forums » CrunchBang Talk » Openbox keybindings, how do you use them?
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.