After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642680 - Window switcher does not respond to Alt-` or Alt-Shift-Tab
Window switcher does not respond to Alt-` or Alt-Shift-Tab
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-18 15:16 UTC by Josh Holland
Modified: 2012-10-24 06:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josh Holland 2011-02-18 15:16:36 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.
Comment 1 Florian Müllner 2011-02-18 15:22:19 UTC
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?
Comment 2 Robin Stocker 2011-03-04 22:07:38 UTC
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).
Comment 3 Robin Stocker 2011-03-19 14:06:42 UTC
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"
Comment 4 Florian Müllner 2012-10-24 06:47:20 UTC
We haven't depended on metacity for keybindings for quite some time, so this shouldn't be an issue anymore.