help with key bindings


Forum: Other Help Topics
Topic: help with key bindings
started by: bravo-uniform-golf

Posted by bravo-uniform-golf on May 29 2006,19:06
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!
Posted by mikshaw on May 29 2006,19:26
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.

Posted by bravo-uniform-golf on May 30 2006,01:02
thanks it worked
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.