3

I am using LXDE, and I need to create keybinding for ALT + PgDn and ALT + PgUp in my $HOME/.config/openbox/lxde-rc.xml

I already have the necessary code, the only thing missing is the correct description for PgDn and PgUp:

<keybind key="INSERT CODE FOR PAGE DOWN HERE">
  <action name="Execute">
    <startupnotify>
      <enabled>true</enabled>
      <name>amixer</name>
    </startupnotify>
    <command>amixer -c 0 set Master 5- unmute</command>
  </action>
</keybind>

Could somebody please advise what is the code for those two keys?

2

From the Openbox documentation:

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.

To answer your question

<keybind key="A-Prior">

for the Alt+PgUp binding and

<keybind key="A-Next">

for the Alt+PgDn binding.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.