typewriter-style caps/shift lock?

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Jan 5 03:28:47 PST 2007


My mom prefers the old typewriter-style caps/shift behavior: pressing
shift drops the caps lock.  I couldn't find an xkb option for this, so I
wrote a small option:


partial modifier_keys 
xkb_symbols "breaks_caps" {
    key <LFSH> {
	type = "ALPHABETIC",
    	actions [Group1] = [
	    SetMods(modifiers=Shift),
	    SetMods(modifiers=Shift+Lock,clearLocks)
	]
    };
    key <RTSH> {
	type = "ALPHABETIC",
	actions [Group1] = [
	    SetMods(modifiers=Shift),
	    SetMods(modifiers=Shift+Lock,clearLocks)
	]
    };
};

Which I activate as shift:breaks_caps option.  Wouldn't be such option
useful to include in xorg?

Samuel



More information about the xorg mailing list