You are not logged in.
Hi everybody. I'm trying to extend the range of the rc.xml file in Openbox by attaching key bindings to the Page_Up, Page_Down, Home and End keys but so far I haven't been able to find out which letter combinations I would use to indicate these keys in the file.
Can anyone tell me where I would find this information please?
Thanks in advance,
CP .
Last edited by Colonel Panic (2021-02-10 20:33:43)
Offline
You can probably figure out hex code or name for key with something like 'xev' and then use the hex syntax or name found
http://openbox.org/wiki/Help:Bindings
Example, this looks like for page-up and page-down
KeyRelease event, serial 48, synthetic NO, window 0x2200001,
root 0x14c, subw 0x0, time 184241, (123,108), root:(1397,872),
state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 48, synthetic NO, window 0x2200001,
root 0x14c, subw 0x0, time 187228, (123,108), root:(1397,872),
state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
Last edited by brontosaurusrex (2021-02-01 21:04:41)
Offline
Yes, use xev: "Home", "End", "Prior", "Next"
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Thanks both! I'll try your suggestions soon (I'm currently in Slackware and XFce, but I can get back to Openbox in another distro).
Last edited by Colonel Panic (2021-02-02 19:14:25)
Offline
Yes, use xev: "Home", "End", "Prior", "Next"
And you shouldn't use these by themselves, because most apps already use them.
Also "Alt-Home" is a popular shortcut in apps.
You probably want to combine these with the Super/Windows key:
<keybind key="W-Home">...
Since I'm running out of windows key shortcuts I sometimes use Ctrl-Alt as well:
<keybind key="C-A-Home">...
You get the picture.
Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos
Offline
Thanks, yes I do. Unfortunately I've had 'flu this last week and things Openbox have had to take a back seat. I'll mark the thread "Solved" anyway because I think it is now.
Thanks again to everyone who's helped.
Last edited by Colonel Panic (2021-02-10 20:34:16)
Offline