Hi,
i wanted to map the windows key on a Dell Inspirion to a useful Linux key on my son's notebook. This can be done the following way:
Use xev command to capture the key code. Left windows button should be key code 115.
Than you can do the following:
xmodmap "keycode 115 = F20"
This maps left windows button to function key 20.
To have the Windows key-mappings enabled automatically every time you start X either put the xmodmap commands in your ~/.xinitrc file or, preferably, create a file ~/.xmodmaprc and include the xmodmap options, one per line, then add the following line to your ~/.xinitrc:
xmodmap $HOME/.xmodmaprc
After that you can map the F20 inside your window manager to the function you like to use.
What's going on in Mesiols work day
Showing posts with label linux windows key xmodmap xinitrc xmodmaprc. Show all posts
Showing posts with label linux windows key xmodmap xinitrc xmodmaprc. Show all posts
Saturday, February 28, 2009
Subscribe to:
Posts (Atom)