GNOME Bugzilla – Bug 642680
Window switcher does not respond to Alt-` or Alt-Shift-Tab
Last modified: 2012-10-24 06:47:20 UTC
When switching windows with Alt-Tab, I pressing Alt-Shift-Tab or Alt-` does not have any visible effect. Using the arrow keys or the mouse work as expected.
Mutter shares keybindings with metacity, so the latest changes require a current version of metacity installed in the same prefix as gnome-shell. Can you confirm that it works if you do that?
After I figured out how to add metacity to jhbuild (is there an easy way?), I get this error when building metacity (with gtk3): gcc -DHAVE_CONFIG_H -I. -I../.. -DGSEAL_ENABLE -pthread -D_REENTRANT -DORBIT2=1 -I/home/robin/gnome-shell/install/include/gtk-3.0 -I/home/robin/gnome-shell/install/include/atk-1.0 -I/home/robin/gnome-shell/install/include/cairo -I/home/robin/gnome-shell/install/include/gdk-pixbuf-2.0 -I/home/robin/gnome-shell/install/include/pango-1.0 -I/home/robin/gnome-shell/install/include/glib-2.0 -I/home/robin/gnome-shell/install/lib64/glib-2.0/include -I/home/robin/gnome-shell/install/include/pixman-1 -I/home/robin/gnome-shell/install/include/gconf/2 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/libgtop-2.0 -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wall -ansi -Werror -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c cc1: warnings being treated as errors main.c: In function ‘evil_timeout’: main.c:123: error: implicit declaration of function ‘gtk_widget_set_uposition’ main.c:123: error: nested extern declaration of ‘gtk_widget_set_uposition’ make[4]: *** [main.o] Error 1 Could metacity be added to the default jhbuild? Do you have any instructions on how to install metacity? And why is metacity even needed, I thought mutter was a fork of it (so it should also ship the keybinginds).
I figured it out in the meantime, here's how to get it working: cd ~/gnome-shell/source git clone http://git.gnome.org/browse/metacity cd metacity ./autogen.sh --prefix ~/gnome-shell/install --enable-jhbuild-wrapper-script --disable-static --disable-gtk-doc make && make install gconftool-2 --set /apps/metacity/global_keybindings/switch_group --type=string "<Alt>Above_Tab" gconftool-2 --set /apps/metacity/global_keybindings/switch_windows_backward --type=string "disabled"
We haven't depended on metacity for keybindings for quite some time, so this shouldn't be an issue anymore.