Page 1 of 1

Hotkeys

Posted: Sat Apr 22, 2017 8:55 pm
by Triloblob
Hello, i am using an hp laptop with debian installed and the hotkeys don't seem to work, does anyone know a way to make them work?

Re: Hotkeys

Posted: Tue Apr 25, 2017 1:37 am
by rufwoof
Mine works fine (Debian Jessie/LXDE).

I've extended mine to open up a Openbox menu by editing ~/.config/openbox/lxde-rc.xml to add

Code: Select all

    <keybind key="Menu">
         <action name="ShowMenu"><menu>root-menu</menu></action>
    </keybind>
just before the final keyboard section that precedes the mouse section
</keyboard>
<mouse>

IIRC I installed obmenu
apt-get update
apt-get install obmenu
and when that's run you can add/change menu items that are shown when the MENU button (similar position to the WIN key, but on the other side of the large space-bar) is pressed. Note that after making changes to the menu you have to run the Reconfigure option (logging out and back in again might do the same)

Image

For the reboot and shutdown options in that image I simply used systemctl reboot and systemctl poweroff commands

When the menu is showing you can type the first character of the program you want, or repeatedly press that character to step through all of the programs with that character as the first character ... and then press ENTER (ESC kills the menu).

You have to have the MENU, PREFERENCES, DESKTOP PREFERENCES, ADVANCED ... Show Menus Provided By Windows Manager ticked (the menu is also shown if you right click the desktop).

Other hot keys are defined in a similar manner, so maybe your file is corrupted or something like that. Perhaps try running debsums to validate all your installed packages (that will highlight any differences in your installed files compared to those in the Debian repositories).

apt-get debsums

debsums -c

will list any changed files (debsums --help will show help of how to run debsums).

Re: Hotkeys

Posted: Thu May 04, 2017 11:02 pm
by Triloblob
rufwoof wrote:Mine works fine (Debian Jessie/LXDE).

I've extended mine to open up a Openbox menu by editing ~/.config/openbox/lxde-rc.xml to add

Code: Select all

    <keybind key="Menu">
         <action name="ShowMenu"><menu>root-menu</menu></action>
    </keybind>
just before the final keyboard section that precedes the mouse section
</keyboard>
<mouse>

IIRC I installed obmenu
apt-get update
apt-get install obmenu
and when that's run you can add/change menu items that are shown when the MENU button (similar position to the WIN key, but on the other side of the large space-bar) is pressed. Note that after making changes to the menu you have to run the Reconfigure option (logging out and back in again might do the same)

Image

For the reboot and shutdown options in that image I simply used systemctl reboot and systemctl poweroff commands

When the menu is showing you can type the first character of the program you want, or repeatedly press that character to step through all of the programs with that character as the first character ... and then press ENTER (ESC kills the menu).

You have to have the MENU, PREFERENCES, DESKTOP PREFERENCES, ADVANCED ... Show Menus Provided By Windows Manager ticked (the menu is also shown if you right click the desktop).

Other hot keys are defined in a similar manner, so maybe your file is corrupted or something like that. Perhaps try running debsums to validate all your installed packages (that will highlight any differences in your installed files compared to those in the Debian repositories).

apt-get debsums

debsums -c

will list any changed files (debsums --help will show help of how to run debsums).
thanks!

Re: Hotkeys

Posted: Fri May 05, 2017 12:49 am
by rufwoof
Triloblob wrote:thanks!
Your welcome. Hope it works out for you.

Re: Hotkeys

Posted: Sun Sep 10, 2017 5:22 am
by seppalta
Put new key bindings to your heart's desire in the keybindings section of ~/.config/openbox/rc.xml following the patterns suggested by the keybindings already there. See http://lxlinux.com/openbox.html for additional information.