[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: Caps Lock



On  0, Thorsten Haude <debian@thorstenhau.de> wrote:
> Hi,
> 
> I want to get my caps lock key a new purpose (because I absolutely
> despise the current one) and want to hear your opinion about it.
> 
> There are several options:
> - a second ctrl key
> - make a Modn key from the OS key, another Modn key from caps lock
> - make the same Modn key form OS key and caps lock
> 
> So what are your thoughts about this? Is there another good use I
> could put caps lock to? Experiences?

My pinky has loved me ever since I used a Sun keyboard and got used to
it, and then figured out how to make X treat Caps-Lock as a control.
Putting this in /etc/X11/XF86Config-4 will do it:

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
	Option		"XkbOptions"	"ctrl:swapcaps,alt:altismeta"
EndSection

or putting this in ~/.xmodmap:

remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

and using it with this command:

xmodmap ~/.xmodmap

Some of the other suggestions have been quite inventive, though, I
thought.

Regards
Tom
-- 
Tom Cook
Information Technology Services, The University of Adelaide

Do not meddle in the affairs of dragons, for you are crunchy, and taste good with ketchup.

Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au

Attachment: pgppDm7O5ihgN.pgp
Description: PGP signature


Reply to: