Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I can assign Alt+F1 and Alt+F2 to any function I like in the keyboard configuration window, but its not beeing used. Alt+F1 is always 'dash home' and Alt+F2 is always 'run'

share|improve this question

3 Answers 3

I sat with the same issue after upgrading to 12.04 and installing Gnome Shell. I tried to disable Alt+F1 from wherever I could, to no avail.

As I was about to give up I found this gist: https://gist.github.com/2402448

gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "[]" # disable Alt+F1

Credits to https://gist.github.com/musinsky

share|improve this answer
1  
Indeed works for Alt-F1. I found the following way to list built-in keybindings: for k in `gsettings list-keys org.gnome.desktop.wm.keybindings`; do echo $k = `gsettings get org.gnome.desktop.wm.keybindings $k`; done –  Jesse Glick May 23 '12 at 15:03
    
Worked for me on Ubuntu 13.04 –  ehsanullahjan May 17 '13 at 14:22

With ubuntu unity plugin installed, the musinsky gist snippet in terminal wasn't enough.

Disabling using compizconfig-settings-manager:

sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-plugins-extra
ccsm
ubuntu unity plugin

general tab

  • Key to show the HUD - disable
  • Key to execute a command - disable

launcher tab

  • Key to give keyboard focus to Launcher - disable
share|improve this answer
    
After using johanmynhard's method, this one did the trick. –  nana Sep 10 '13 at 11:02

Although johanmynhardt gave us the right answer for the Alt-F1 he did not tell us what it is for Alt-F2. With the for loop as shown by Jesse Glick, I figured out the Alt-F2 command. Like this to remove BOTH keys:

gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "[]" # disable Alt+F1
gsettings set org.gnome.desktop.wm.keybindings panel-run-dialog "[]" # disable Alt-F2
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.