GS Extensions: Auto Move Windows

Well, I am using this extension in combination with my pidgin extension I mentioned below and it works great. I set all my pidgin, xchat and skype windows to be opened on the 3rd desktop so this way I know all the time where to look for new messages and such.

I am writing this post because while trying to install the extension I encountered some problems. The first one, and a fatal one is that gsettings is not loading the schemas from ~/.local/share/glib-2.0/schemas, there is a bug already filed on that here. This affects the extension because it installs two files there: gschemas.compiled and org.gnome.shell.extensions.auto-move-windows.gschema.xml there. If these two files are not found the shell will not start at all, and you will not even be able to get to lg (alt+f2 lg Errors) to see what is going on.

The only solution possible as of this moment is to place the two files in /usr/local/share/glib-2.0/schemas/ where gsettings does look for them. WARNING: Do not place the two files in /usr/share/glib-2.0/schemas, this will brake your system!

cd ~

git clone git://git.gnome.org/gnome-shell-extensions

cd gnome-shell-extensions

./autogen.sh –prefix=$HOME/.local –enable-extensions=’auto-move-windows’

make install

sudo cp -r ~/.local/share/glib-2.0 /usr/local/share/

The second problem I encountered is the lack of documentation which I happily found here.

For example if you want all windows by pidgin to be opened in desktop 3 and all windows of firefox to be opened in desktop 2 the invocation would be:

gsettings set org.gnome.shell.extensions.auto-move-windows application-list “['pidgin.desktop:3','firefox.desktop:2']“

Wednesday, May 11th, 2011 gnomeshell

Leave a Reply