Difference between revisions of "Talk:Multimedia Key Mapping in Mythbuntu using xmodmap"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "== 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 n...")
 
(Middle Mouse Button)
Line 9: Line 9:
 
You need the xkbset program to change a keypress event into a buttonpress event. xkbset can be downloaded from:
 
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)
 
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.

Revision as of 16:54, 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.