I have spent the last two hours on Google, Ubuntu Forums and IRC trying to find a seemingly simple solution to a problem. I’m not able to find anything yet… so I thought I’d blog the question and see if any of the general public had an answer for me.
Question: How can I un-map a keyboard binding? My macbook F10 key has been mapped to right-click (although I don’t remember doing it) and I would like to have F10 actually do F10.
I’d appreciate any comments for tips on doing this. I’ve already looked at my xmodmap. I don’t see it defined in there. I don’t think it is in my xorg.conf either…
Cheers
Check out the following files in /proc
/proc/sys/dev/mac_hid
mouse_button2_keycode
mouse_button3_keycode
mouse_button_emulation
It’s a kernel thing rather than an X thing.
echo 0 > /proc/sys/dev/mac_hid/mouse_button_emulation
will probably do the trick
Pingback: University Update - Google - A Little Help From The Readers…
johnf – the values from those three components are:
97
100
0
It appears the value you’re suggesting to set is already set. Any other ideas?
You might try xkeycaps. It’s a graphical way to modify Xmodmap that will allow you to do it graphically and then export a new one to live in your home directory. After hours of struggle trying to make my laptop buttons work properly, this was the fix for me.
Hm… look here:
System – (user)settings – keyboard shourtcut.
You might find something there.
ps. I’m not too sure about the names of the folders, since I’m on a swedish version of gnome.
It’s set in /etc/sysctl.conf
fdoving – actually the only uncommented line in my sysctl.conf is:
kernel.printk = 4 4 1 7
…I had looked in there as well.
Ok, you have an macbook, i did this on an iBook, on powerpc the sysctl.conf contains this:
# Emulate the middle mouse button with F11 and the right with F12.
dev/mac_hid/mouse_button_emulation = 1
dev/mac_hid/mouse_button2_keycode = 87
dev/mac_hid/mouse_button3_keycode = 88
# end
This will probably not work on your macbook. You can of course try.
Sorry for the confusion.
Trying to update Avast on Edgy virus signature…. I get message file is corrupt try again… I removed the new .vps file and tried again and had no luck.. Any suggestions? Guess it could be their file but I tried again a day later with the same results………tnx
best regards Mark