Difference between revisions of "Talk:Multimedia Key Mapping in Mythbuntu using xmodmap"
From Free Knowledge Base- The DUCK Project: information for everyone
(→Middle Mouse Button) |
m (Admin moved page Talk:Multimedia Key Mapping in Mythbuntu using Modkeymap to Talk:Multimedia Key Mapping in Mythbuntu using xmodmap: correction) |
(No difference)
|
Revision as of 16:01, 28 February 2015
Middle Mouse Button
Here is how to convert the PrintScreen key into a middle mouse button:
xmodmap -e 'keysym Print = Pointer_Button2' xkbset m xkbset exp =m
You need the xkbset program to change a keypress event into a buttonpress event. xkbset can be downloaded from: http://www.math.missouri.edu/~stephen/software/xkbset/ ( or xkbset-0.5.tar.gz, local copy)
xmodmap can be used to make a key on the keyboard behave as a mouse click. it cannot make a mouse click behave as a key being pressed. For that a program called xbindkeys is needed.