[openbox] How to use caps lock key to launch an app?

Mikael Magnusson lists at bak.och.fr.am
Thu Aug 7 21:45:21 EDT 2008


On Thu, 7 Aug 2008, chombee at lavabit.com wrote:

>> chombee at lavabit.com wrote:
>>> Can anyone think of a way to use both at once?
>>>
>> As a cheap (read: crappy) fix, you could make the xmodmap command in
>> your autostart sleep for a while to let g-s-d do its thing.  Something
>> like:
>>
>> (sleep 10 && xmodmap...) &
>>
>> but then things won't work for 10 seconds.
>
> Yeah that works, thanks, and 3 seconds seems to be enough. I had tried it
> myself but I got the syntax wrong.
>
> It's a shame that it's so hard to turn the caps lock key into something
> useful on linux, I have to remap to some other sacrificial key then use
> that key, and doing it means messing around with multiple config files.
> GNOME's settings only let you remap it to Escape, nothing else. Ah well,
> at least it works, it's practically the biggest key on the keyboard so
> it's really great for summoning a launcher.

IIRC, which i probably don't, you can configure this somewhere deep in the 
bowels of gnome control center.

--
Mikael Magnusson



More information about the openbox mailing list