Jun
23
A Little Help From The Readers…
Filed Under Community
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
I post tutorials very regularly on this site. You may want to consider subscribing to the RSS feed. Or if you'd prefer these tips sent to your inbox you can use Email Subscriptions.
Related Posts
Random Posts
Comments
9 Responses to “A Little Help From The Readers…”
Leave a Reply

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
[...] Link to Article google A Little Help From The Readers… » Posted at Ubuntu Tutorials : [...]
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