[ltp] Can I use the Fn key as a modifier key?

Frederic Gaus linux-thinkpad@linux-thinkpad.org
Mon, 30 Jun 2003 06:53:49 +0200


Hi!

On Sun, Jun 29, 2003 at 10:41:19PM -0400, Steve K wrote:
> 
> Can I use my ThinkPad t40p's Fn key as a modifier key?  Love the keyboard, but 
> I miss a Windows key -- it is handy for global hotkeys.
> 
Yes you can do. It sends the keyevent 227. so executing 

	xmodmap -e "keycode 227 = Super_L"
	xmodmap -e "add Mod4 = Super_L"

sould work for you. But maybe it is more comfortable for you to use
Caps-Lock as a modifier key. Normaly the Caps-Lock-Key is only
distributing. But it works great as a modifier-key. you can use it as
the windows-modifier key with:

	xmodmap -e "remove Lock = Caps_Lock"
	xmodmap -e "keycode 66 = Super_L"
	xmodmap -e "add Mod4 = Super_L"

I even do this on non-notebook-keybords :-). Hope I could help. 

Have fun

Freddy