hi i'm a linux noob and i want to know how to change the key bindings for one of the function keys (or a key combination i guess would work too). basically i want to have it set up so that i can press a button/button combo and have it launch xscreensaver so that i can quickly lock my computer when i have to leave it. thanks a lot!If you're using Fluxbox, add a string to /home/dsl/.fluxbox/keys For example, if you want "Alt-Shift-s" to launch xscreensaver, you add something like this:
Code Sample
Mod1 Shift S :ExecCommand xscreensaver
Reload fluxbox config to apply the change (might need to restart for fluxbox stable).
If you're using JWM, add a line to .jwmrc, but i'm sorry i don't know what the syntax is for this.thanks it worked
original here.