Archive for the ‘Ubuntu’ Category

Xinerama support in rdesktop

June 26, 2008

As of rdesktop version 1.5.0 Xinerama is not supported, but ideas for a patch are in have slightly modified the patch, and result can be found in

sudo apt-get install devscripts build-essential fakeroot
sudo apt-get build-dep rdesktop
apt-get source rdesktop
cd rdesktop-1.5.0
patch  -p0 < /tmp/rdesktop-xinerama.patch
debuild -us -uc
cd ..
sudo dpkg -i rdesktop*.deb

Now, when entering fullscreen using Ctrl+Alt+Return, fullscreen only runs on the monitor where rdesktop runs.


Move windows between workspaces using keyboard shortcuts

June 18, 2008

Ok, this little how-to describes how to make the moving of windows between workspaces more convenient using shortcuts, instead of the usual way where you have to press on the menu, and choose to which workspace it should be put.

The following instructions makes you able to move the window to another workspace by, when already moving the window, pressing the number of the workspace; e.g. when moving a window around on the screen, press 1, and it will change to workspace 1.

The following assumes that you run ubuntu (8.04), and that you desktop effects are disabled (running metacity). I will come up with a solution for compiz whenever i have time.

First, install required packages.

sudo apt-get install devscripts build-essential fakeroot
sudo apt-get build-dep metacity

Now, download the patch from, the metacity source, and perform the patching;

apt-get source metacity
cd metacity-2.22.0
patch -p0 < /tmp/window_move_workspace.patch
debuild -us -uc
cd ..
sudo dpkg -i metacity*.deb

That is it. Restart the computer, and you are able to move the windows around easier then ever before:)