http://openbox.org/oldwiki/index.php?title=Help_talk:Bindings&feed=atom&action=historyHelp talk:Bindings - Revision history2024-03-28T23:22:50ZRevision history for this page on the wikiMediaWiki 1.19.14+dfsg-1http://openbox.org/oldwiki/index.php?title=Help_talk:Bindings&diff=2770&oldid=prevHoffel at 17:10, 15 May 20112011-05-15T17:10:24Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:10, 15 May 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>in this part:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>in this part:</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">----</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>"Keys</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>"Keys</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 33:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></keyboard></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></keyboard></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Note that the "0x" prefix is required to interpret the key as a numeric keycode, and that the hex characters are case-insensitive (i.e. you can use "0xAE" or "0xae")."</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Note that the "0x" prefix is required to interpret the key as a numeric keycode, and that the hex characters are case-insensitive (i.e. you can use "0xAE" or "0xae")."</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">----</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>it doesn't seem to work if you put the "C-" before the name of the key in <keybind key="C-Menu">. for me it just works if i set it to <keybind key="Menu"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>it doesn't seem to work if you put the "C-" before the name of the key in <keybind key="C-Menu">. for me it just works if i set it to <keybind key="Menu"></div></td></tr>
</table>Hoffelhttp://openbox.org/oldwiki/index.php?title=Help_talk:Bindings&diff=2769&oldid=prevHoffel: New page: is it possible that this article isn't up to date? in this part: "Keys The Key is the name of the key, such as "a", "space", "Escape", "less", or "F1". You can find the name of any key b...2011-05-15T17:09:20Z<p>New page: is it possible that this article isn't up to date? in this part: "Keys The Key is the name of the key, such as "a", "space", "Escape", "less", or "F1". You can find the name of any key b...</p>
<p><b>New page</b></p><div>is it possible that this article isn't up to date?<br />
<br />
in this part:<br />
<br />
"Keys<br />
The Key is the name of the key, such as "a", "space", "Escape", "less", or "F1". You can find the name of any key by using the xev command in a terminal, pressing the desired key, and watching the output from xev in the terminal. For example, the following xev output indicates, on the third line, that the Menu key was pressed.<br />
KeyRelease event, serial 36, synthetic NO, window 0x1e00001,<br />
root 0x7e, subw 0x0, time 29920856, (168,-7), root:(900,313),<br />
state 0x0, keycode 135 (keysym 0xff67, Menu), same_screen YES,<br />
XLookupString gives 0 bytes: <br />
XFilterEvent returns: False<br />
This key can then be used as in the following example.<br />
<keyboard><br />
...<br />
<keybind key="C-Menu"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
...<br />
</keyboard><br />
Keys can also be specified by their numeric codes. This can be done by specifying the keycode in hex. To take the above example, the keycode for the Menu key is 135, which is 0x87 in hexadecimal. This can then be used:<br />
<keyboard><br />
...<br />
<keybind key="C-0x87"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
...<br />
</keyboard><br />
Note that the "0x" prefix is required to interpret the key as a numeric keycode, and that the hex characters are case-insensitive (i.e. you can use "0xAE" or "0xae")."<br />
<br />
<br />
it doesn't seem to work if you put the "C-" before the name of the key in <keybind key="C-Menu">. for me it just works if i set it to <keybind key="Menu"></div>Hoffel