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.

After upgrading to 12.04 the keyboard shortcut of the windows manager (Metacity) such as my custom Alt+1, Alt+2 for desktop switching but also the default Alt+F10 for maximizing window stopped working in Gnome shell. Anyone knows what might be the cause and/or remedy?

share|improve this question

2 Answers 2

up vote 12 down vote accepted

Gnome-Shell uses not Metacity Window Manager, but new Window Manager - Mutter, which uses new configuration system - dconf, while old GNOME and Ubuntu Unity interface uses old configuration system - gconf. Because of this "System Settings" -> Keyboard -> Shortcuts doesn't work on Ubuntu with GNOME3 shell :(

One Workaround

Install dconf-tools Install dconf-tools

Run dconf-editor

Look in org.gnome.desktop.wm.keybindings or org.gnome.mutter.keybindings

See Ubuntu bug #965921 for more info and workarounds.

Some useful info also can be found here: blog.sudobits.com/2011/10/12/top-10-gnome-shell-keyboard-shortcuts/

share|improve this answer

in ubuntu 12.04 gnome-shell keybindings were modified so that WindowsKey and CursorKeys now control Window Maximization and Left-/Right-Side Splitting, while moving between Activities (aka Desktops) is now controlled by Ctrl-Alt and the Up/Down Keys.

To get back to much more useful behaviour, install dconf-tools and execute these dconf commands from the shell:

dconf write /org/gnome/desktop/wm/keybindings/toggle-maximized "['<Super>Return', '<Alt>F10']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-down "['<Super>Down']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-up "['<Super>Up']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-down "['<Super><Shift>Down']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-up "['<Super><Shift>Up']"

You will get:

<WindowsKey>Enter  : maximize Window
<WindowsKey>Left   : Align Window to left half of monitor
<WindowsKey>Right  : Align Window to right half of monitor
<WindowsKey>Up     : go to Activity/Desktop above
<WindowsKey>Down   : go to Activity/Desktop below

Thus your Ctrl and Alt Keys are once again freed up for your applications, like they should be, and only the WindowsKey is used for Windows/Desktop management.

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.