Ubuntu on Thinkpad X41 – Installing the Beryl Window Manager
Posted by Shane O'Sullivan on February 16, 2007
This is one of a number of posts detailing how to install Ubuntu 6.10 (codename Edgy) on a Thinkpad X41.
This post explains how to install the Beryl window manager on Ubuntu Edgy. Beryl is a very impressive window manager for Linux that adds many extremely cool effects and themes to the desktop. These include things like a 3D cube workspace switcher, a tab switcher with window preview, many minimize/maximize animations, and much much more. Watch this video to see Beryl in action.
To install Beryl:
- First the Beryl repository must be added. Open a terminal by clicking Applications->Accessories->Terminal
- Type sudo gedit /etc/apt/sources.list
- Add the two lines
- Save the file and close gedit.
- To ensure that the packages are correct, type:
- Update the package list before installing by typing:
sudo apt-get update
- Enable AIGLX and configure the X server by typing:
- sudo gedit /etc/X11/xorg.conf
- In the “Module” section, make sure that these three lines are included:
- In the “Device” section (for the graphics card), add the line: Option “XAANoOffscreenPixmaps”
- Search for the section “DRI” and make sure it looks like below, if not then add it:
- Close gedit and restart the X server by typing the line below. This might freeze, and if so, restart Ubuntu, using the power button if necessary:
sudo /etc/init.d/gdm restart
- Install Beryl by typing:
- Make Beryl start automatically.
- Save the file http://www.skynet.ie/~sos/ubuntu/startberyl.sh to /usr/bin
- Make the script executable by typing
sudo chmod a+x /usr/bin/startberyl.sh
- For safety’s sake, so that Beryl can be disabled easily later if it turns out to be buggy, create a new Session. Save the file http://www.skynet.ie/~sos/ubuntu/Beryl.desktop to /usr/share/xsessions
- When Ubuntu next starts up, you will have the option to use Beryl. To do this, in the log in screen
- Click Options->Select Session
- Choose Beryl
- Click Change Session
- To play around with Beryl settings, once logged in click the red diamond icon in the top right corner task bar.
- To see the cool cube effect, press Ctrl-Alt-Left and Ctrl-Alt-Right keys. you may only have one workspace open, so add more by right clicking on the Workspace switcher at the bottom right of the screen, choosing “Preferences” and setting the number of workspaces.
- To edit or change themes, open System->Preferences->Emerald Theme Manager and play around.
- To make double clicking on title bars maximise the window, which on my laptop changed this behaviour to the irritating “collapse window” effect, open System->Preferences->Emerald Theme Manager->Emerald Settings->Titlebar Double-Click-Action->Maximise/Restore
deb http://ubuntu.beryl-project.org/ edgy main
deb-src http://ubuntu.beryl-project.org/ edgy main
Note: If you are installing Ubuntu Feisty (version 7.04), replace the ‘edgy‘ with ‘feisty‘ in the lines above.
sudo wget http://firstname.lastname@example.org -O- | sudo apt-key add -
sudo apt-get install beryl