When you installing Ubuntu in your Macbook Pro, then you will realize that F11 and F12 doesn't works very well.
F12 will be trigger right click which it may conflicting with yakuake. Even you use Ubuntu 12.04 Precise Pangolin, this still happen.
It's not bug anyway.
So, why this is happen? then you can blame "mouseemu" package.
To solve this problem, just uninstall mouseemu :
1. From Synaptic
Search "mouseemu" and remove / uninstall this packages.
2. From command-line
sudo apt-get remove mouseemu
Problem solved ? Not yet! You will facing problem when selecting items in Nautilus and right click will show problem.
So what should i do ? Yes, you can configure mouseemu to ignore F11, F12 and make Left-Ctrl + click as Right Click.
Damn! Why you told me after removing "mouseemu"? ..... Why You So Mad ?
So here are to do :
1. Install mouseemu
sudo apt-get install mouseemu
2. Configure Mouseemu
open "/etc/default/mouseemu" with sudo and edit :
# 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 just restart mouseemu daemon by :
sudo service mouseemu restart