Hidden Linux : Wobbly Windows Step-by-Step

I've become so used to wobbly windows now that whenever I use a regular machine I end up feeling cheated if I drag one and it doesn't display a certain sticky inertia. And if I feel positively deflated if I hit Ctrl + Alt + [any arrow key] and a glorious desktop cube doesn't flip me over to the next display face.
What am I talking about? Beryl! It's a fork of the Compiz project -- which I first looked at here, and although it's only at version 0.2 I've found it remarkably solid and reliable.

This is the sort of thing I'm talking about...

...and this. (Click the images for a detailed view.)
You don't the latest PC with a multi-gigahertz engine and truckloads of RAM to run Beryl. In fact it runs surprisingly well on quite old kit. Here's the specs of the machine I used to test the configuration procedure outlined below...
- AMD Athlon 800MHz CPU
- 500MB RAM
- NVidia GeForce FX 5200 (128MB) video card
To start, I added a pristine copy of Kubuntu 7.04 to the machine's existing OS, partitioned as follows;
- 10GB /root partition
- 30GB /home partition
- 500MB /swap partition
Setting up the Video Card
The official NVidia video drivers require a license agreement so aren't included in Kubuntu by default.They are however available via Automatix - and I've found that's the easiest way to install them.
To add Automatix, visit www.getautomatix.com/wiki/index.php?title=Installation. Ubuntu and Debian users can follow the Easy Direct Installation method. Kubuntu users have to be a little more hands on, cutting an pasting six whole lines into a terminal session.
After you've done that -- and had a little lie down to recover -- kick off Automatix via K Menu > System > Automatix. Choose Drivers and install.
To activate the new driver you need to restart the X (graphics) server. You can do this the brutal way by hitting Ctrl + Alt + Backspace or by sedately logging out of this session and doing an Alt + E from the login window.
Installing Beryl
- Start Adept Manager (K-Menu > System > Adept Manager).
- Enter beryl in the Search windown and select the following packages;
- beryl
- beryl-manager
- emerald-themes
(The necessary support
packages will be selected automatically.)
- Click Apply Changes and close Adept Manager when installation's complete.
Running Beryl for the First Time
- Open a console window (K-Menu > System > Konsole).
- Type beryl-manager and hit <Enter>. This will start Beryl, put the application's red diamond icon into the Taskbar and display any configuration problems in the console window. In my case I got...
beryl: No GLXFBConfig for
depth 32
This seems to be a common
problem and the fix is straightforward.Quit Beryl, either by
right-clicking the red diamond icon or, if things are really screwed
up, typing killall
beryl-manager in the console window.
In the console window type
sudo kate /etc/X11/xorg.conf and add the following two lines under the
Section "Screen" tag;
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
Option "DisableGLXRootClipping" "True"
You'll need to restart the
X server again (see above) and log back in. Restart beryl-manager and,
with a bit of luck, you have wobbly windows too!
The Fun Stuff
Beryl-Manager is the entry point for lots of goodies. Right-click and choose the Emerald Theme Manager to select from dozens of window surrounds, and Beryl Settings Manager to enable and configure more fancy graphics features than you can shake a stick at. I'll let you do the exploring, but here's just a handful of shortcut keys to get you started.
| Alt + Tab + any arrow key | Rotate the 3D cube. |
| Alt + Tab + drag the left mouse button | Free-form control of the 3D cube. |
| Alt + Tab | Window switcher (between windows on this cube face). |
| Alt + Ctrl + Tab | Window switcher (between all windows on the cube). |
| Alt + Mouse scroll wheel | Preview all windows on this face. |
| Alt + Mouse scroll wheel | Change windows opacity. |
<< Previous Hidden Linux
>> Next Hidden Linux



Comments
Hi godora,
Assuming you're running Ubuntu, I found a couple of links here; http://ubuntuforums.org/showthread.php?t=490594
Don't forget check out Beryl's forum at http://forum.beryl-project.org
Also try googling on BERYL INTEL video_card_details. Eg: "BERYL INTEL 950 GMA" (without the quotes).
Good luck!
Geoff
Posted by: Geoff | July 18, 2007 11:43 AM
hey dude !!!
i am just wondering i have Intel video card !!! it was bought with the PC around 2003!!
so i am wondering if i can RUN beryl on my VIDEO card ????
thanks in advance mate
Posted by: godora | July 17, 2007 2:15 PM
Whether it works dual head depends on your graphics card. It does on my Desktop (Nvidia 7600GS using the nvidia driver) but not on my laptop (Intel 855GM using the i810 driver).
Posted by: Daniel | May 23, 2007 11:14 AM
Thank you for your bloggs on Linux as well as the tutorials in PCWorld that were so informative although I must admit I find it hard to keep up due to laziness. Your tut's on Mandrake 10 were the best I've seen for straight forward instructions and examples. Perhaps PCWorld could publish the whole series on their web site (unless they already have and I missed them. I did mention I'm lazy). But your bloggs that I love most and look forward too are your consumer affairs type stuff telling us what foul tricks, flawed logic and downright stupidity the big guys are inflicting on us humble users and what we might do about it.
Anyway, keep up the good work, fight the good fight, and insist your readers think you deserve a raise.
Kea kaha
Posted by: Adam | May 22, 2007 7:16 AM
But it does work on a crappy old Thinkpad R30 with intel i810 graphics :)
Posted by: chris | May 21, 2007 2:26 PM
Scratch that.. 64bit Kubuntu doesnt have beryl in Adept.
Posted by: chris | May 21, 2007 1:33 PM
Nice..
Do you think it would work on a dualhead system?
( getting my dualhead working was such a pain-in-the-a that I dont wasnt to screw it up )
Posted by: chris | May 21, 2007 1:21 PM
I have used Beryl for a few years now and I love the versatility of this lovely program.
It's funny now when I show Windows users Beryl, they thing that it is Beryl, then I show them the cube and their jaw drops.
It just cracks me up when they ask me how to do that and they look at me like a lost dog when I tell them that they can't do this on Windows.
Linux is the wave of the future. Too bad Windows users don't realize that yet.
Thanks for listening to me....again.
Posted by: steveneddy | May 21, 2007 11:20 AM