LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (https://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   Configuring fluxbox shortcut keys (https://www.linuxquestions.org/questions/damnsmalllinux-42/configuring-fluxbox-shortcut-keys-755327/)

sumeet inani 09-15-2009 06:49 AM

Configuring fluxbox shortcut keys
 
Hi, I am using DSL installed few days ago.I read about editing ~/.fluxbox/keys file to customise settings.
I added following line
Mod1 d :ShowDesktop
I also know that space between last key & colon is mandatory.Then reconfigured window manager but still pressing shortcut combination(alt+d) does not cause all window on desktop to minimize.In similiar way if I have minimised all windows then to restore all I tried
Mod1 m :Deiconify All Current
but no effect.

neonsignal 09-16-2009 08:37 AM

For some reason, the default ~/.fluxbox/init file points to the system key bindings file
Code:

session.keyFile:        /etc/X11/fluxbox/keys
This means that changes to the local key bindings in ~/.fluxbox/keys do not have any effect.

You can change the key bindings file to be the local one in ~/.fluxbox/init:
Code:

session.keyFile:        ~/.fluxbox/keys
However, before you reconfigure, you might want to copy the global key bindings to the local one (or at least see how they differ). I noticed on my system that the local file used the Alt-m combination to bring up the menu instead of the mouse right-click.

I would have liked the local key bindings to augment the system key bindings (rather than replace them), but I'm not sure if that is possible.


All times are GMT -5. The time now is 02:19 PM.