Archive for June, 2008

XSD Editor in Eclipse 3.4

June 27, 2008

For some reason the nice xsd editor have been removed from the default eclipse installation. To get it back, start eclipse, go to help, software updates, available software, and search for “Web Developer Tools”.

Install this add-on, and you are ready to go.

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 http://joyce.webcreations.ca/rdesktop/rdesktop-1.4.1-xinerama.patch.I have slightly modified the patch, and result can be found in http://kom.aau.dk/~raller/rdesktop-xinerama.patch.

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 http://kom.aau.dk/~raller/window_move_workspace.patch, 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:)