i used to have kubuntu on my ibook g4 and my right click was mapped to the eject/f12 button. now after switching to ubuntu my keys are all mapped correctly but now i dont have a right click anymore. suggestions?
i used to have kubuntu on my ibook g4 and my right click was mapped to the eject/f12 button. now after switching to ubuntu my keys are all mapped correctly but now i dont have a right click anymore. suggestions?
what about F11 ? You can install mouseemu
to have this backCode:sudo apt-get install mouseemu
where is that. synaptic says i already have it installed but i cant find it on my computer. i just have a mouse preferences which doesnt have what i need
is mouseemu loaded at startup ?
what does the following give you:
Code:ps -ax | grep mouseemu cat /etc/default/mouseemu
matt@ubuntu:~$ ps -ax | grep mouseemu
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
1214 ? S<s 0:00 /usr/sbin/mouseemu
1215 ? S< 0:01 /usr/sbin/mouseemu
2425 pts/0 S+ 0:00 grep --color=auto mouseemu
matt@ubuntu:~$
matt@ubuntu:~$ cat /etc/default/mouseemu
# Defaults for mouseemu initscript (/etc/init.d/mouseemu)
# These are the default values on PowerPC. On all other architectures
# middle and right click are disabled by default.
# Key codes can be found in include/linux/input.h in the kernel headers
# or by using `showkey` in a console.
#MID_CLICK="-middle 0 87" # F11 with no modifier
#MID_CLICK="-middle 125 272" # Left Apple Key (LEFTMETA) + click
#RIGHT_CLICK="-right 0 88" # F12 with no modifier
#RIGHT_CLICK="-right 29 272" # Left Ctrl + click
#SCROLL="-scroll 56" # Alt key
#TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a keypress
im not sure what that all means.
I think I see the problem...
you have to edit the /etc/default/mouseemu file
you are now in an editor and you see the text. Remove the # in the second part of the file to make it look like this (NOT EVERYWHERE!):Code:sudo nano /etc/default/mouseemu
Then CTRL-X and "y" to saveCode:# Defaults for mouseemu initscript (/etc/init.d/mouseemu) # These are the default values on PowerPC. On all other architectures # middle and right click are disabled by default. # Key codes can be found in include/linux/input.h in the kernel headers # or by using `showkey` in a console. MID_CLICK="-middle 0 87" # F11 with no modifier #MID_CLICK="-middle 125 272" # Left Apple Key (LEFTMETA) + click RIGHT_CLICK="-right 0 88" # F12 with no modifier #RIGHT_CLICK="-right 29 272" # Left Ctrl + click SCROLL="-scroll 56" # Alt key TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a keypress
Then restart and you should have right button at F12 and middle click button at F11, hope that is what you wanted...
Bookmarks