How do you "Edit ➜ Keyboard Shortcuts" in a terminal window? First line.
–
jcollumFeb 13 '12 at 19:01

Ah, ok, it's "open the Edit menu, the select Keyboard Shortcuts". I forgot that terminals have menu bars. Was thinking I should be typing that :)
–
jcollumFeb 13 '12 at 19:13

6

Doing everything above does not solve the F10 key in 12.04. It is still bound somewhere to mouse right click.
–
Paweł GościckiApr 30 '12 at 18:18

1

Anyone how to disable F1 Help in Ubuntu 14.04? The Help row has disappeared, it seems. I am very close in getting back to ctwm.
–
towiApr 22 '14 at 19:56

@towi In that dialog box, you need to click on the Help line first. The key setting should change from F1 to "New accelerator...". If you click it again, it will change to "Disabled".
–
user100464May 8 '14 at 13:44

"Keyboard shortcut key for launching help. Expressed as a string in the same format used for GTK+ resource files. If you set the option to the special string "disabled", then there will be no keyboard shortcut for this action."

The instruction at http://ubuntuforums.org/showthread.php?t=1317325 (quoted below) also works in Ubuntu 11.04. (It seems to disable F1 both in the desktop and in the terminal. That is, F1 does not send an ansi sequence to the shell in the terminal, if that is what OP wanted.)

Go to System - Preferences - Keyboard Shortcuts

Create a new shortcut. Name it 'do nothing', and write 'false'
(without quotes) in the "command" field. Push ok.

Scroll to the bottom of the list and find your new command. Click
on the "Disabled", on the right, and push F1.

I am new to Linux and this F10 key drives me crazy. All above tricks didn't work, but I found now a solution (for Ubuntu 11.10 with Gnome 3 classic desktop). In a terminal, enter the following command:

gsettings set org.gnome.desktop.interface menubar-accel ""

With dconf-editor it can be found that the F10 is really gone. Note that these kind of tricks seem to be highly Gnome / Ubuntu version dependent.

This is a tip for Thnkpad users, especially T60. Remap the F1 key to escape. This eliminates the annoying popup of terminal help when you hit F1. You often do this becasue of the funny placement of ESC on T60s.

I recommend using F1 as a shortcut for something else. I run Tilda, a quake-style command line terminal, and the default shortcut is F1. It overrides Help, so I never have Help launching when I hit F1. Even if you don't like Tilda much, hitting F1 again to hide it is much less tedious than closing Help after accidentally launching it.

12.04

F1 doesn't appear to do anything out of the box on 12.04F10 appears to simulate a right mouse click
So in response to the specifics of the question, there's no need to disable help and notifications.

You can still map them to something else like this:
Mapping hot-keys in 12.04 is simply accomplished through the Keyboard widget.

In the Unity launcher find keyboard.
In the window that opens select the shortcuts tab and custom shortcuts.
Click the plus to add a new shortcut.
Name it to whatever matches the functionality you're assigning it.
Enter the command you want it to run in command.
At the right side of the window click where it says disabled. This should toggle to New Accelerator.
Now just hit F10.
The Custom Shortcuts accelerator you defined overrides the Right-click simulation behavior. You could set this the command to echo 'nope' > /dev/null if you just want your F10 to do nothing.

This is no good. It disables F10 in mc opened up in terminal.
–
Paweł GościckiApr 30 '12 at 18:12

I don't see where that makes it no good. It was specifically for 12.04 where it has the right-click behaviour. The remapping was shown to change it to something else, not to free up the key.
–
hbdgafApr 30 '12 at 18:31

I have installed Ubuntu 12.04/64 and have completely removed Unity from it following these directions.. Many of the tools that modify the behaviour of Unity, therefore, don't work. In particular CCSM no longer "sees" the keyboard shortcuts.

I found that the method using Edit->Keyboard Shortcuts in the terminal window also didn't work. After a bit of playing around I found that looking farther down the Keyboard Shortcuts window in the Shortcut Keys section, F1 and F11 were still defined to their respective shortcuts.

To fix this,

Click on the "F11" in the right hand field of the line that defines
F11 as Fullscreen. The text will change to "New Accelerator...".

Type some other, less objectionable, key sequence (like alt-F11) and
that key combo will replace the shortcut.
If someone knows how to type "nothing" please let us know.