I'm trying to play Minecraft (A video game) that makes use of F3. However, I'm on a laptop which requires you to hold down Fn in order for a F# key to be registered. The problem is that Ubuntu registers Fn+F3 as the lock keyboard shortcut. How can I turn this behavior off? Also, the shortcut isn't appearing in Keyboard.
2 Answers
Here is some background info that could help.
Check out the section on replacing shortcut keys. It's near the bottom. You can use xbindkeys to set hot-keys. Here's how:
Install xbindkeys with:
sudo apt-get install xbindkeys.
Create a default config file with:
xbindkeys --defaults > /home/your-user-name/.xbindkeysrc
Install the GUI for xbindkeys with:
sudo apt-get install xbindkeys-config
The xvkbd utility must also be installed:
sudo apt-get install xvkbd
Next, bring up "Run Application" and type
xbindkeys and xbindkeys-config
If you want to override the system hot-keys already in effect, you need to install xmacro:
sudo apt-get install xmacro
Start xmacro with xmacroec :0.0
After giving a key that will allow you to quit xmacro, you can press the key(s) you want to know the code for. You can then use xbindkeys to override the system hot-keys that are bothering you.
Here is the home page for xbindkeys.
This may help as well : Here is a tutorial for turning off a shortcut.