blogage.de > Forlong's Blog
  De | En | Sign up | Login

Support for transparency in GTK on the horizon!

Andrea Cimitan (aka Cimi) of Murrine fame posted some proof-of-concept screenshots of his GTK engine with transparent background and widgets on his blog:

Thumbnail?transparent-gtk-murrine2
Thumbnail?transparent-gtk-murrine


This is quite an exciting step for GTK+
Up until now, all we could achieve were transparent window boarders, because they are independent from the GTK engine/theme or make the whole window transparent - including text, icons, widgets etc. making it unusable on any background that's not plain-colored.

Cimi claims it doesn't require any dirty hacks but only 10 to 20 extra lines of code.

It does require a compositing manager like Compiz to run GTK themes like this, of course.
But he also states the theme will just switch to a non-transparent version when stopping the compositing manager.

A working version of Murrine (or any other GTK engine) with such abilities has yet to be released.

Hurry up - download for Radiohead's latest album In Rainbows expires tomorrow!

In case you didn't know it (due to lack of advertisement and/or living under a rock), Radiohead chose to release their latest album online - at least for now. They initially released their seventh album, In Rainbows, solely as a digital download in October 2007.

The clou: you decide what you pay for it.
Visit whatpricedidyouchoose.com to get a glimpse of what people were willing to pay for the DRM-free mp3 songs.

However the album will finally be released on CD after this years Christmas, so the download will expire on the 10th December of 2007.

Apart from that there's a special limited discbox available since December 3rd, which contains the album on CD and two 12" heavyweight vinyl records with lyric booklets.
Also in the box is a second CD which contains 8 additional tracks, as well as digital photos and artwork.
The overall set is packaged in a hardcover book and slipcase. The discbox is priced at £40 (which includes the digital download as well).

Thumbnail?13
Discbox as advertised on inrainbows.com


I couldn't resist and bought me the box today for myself as a Christmas present (I certainly deserve it):

Thumbnail?confirm
Check out the inconspicuous download hint!

 

fglrx 8.42.3 - finally with AIGLX support

Believe it or not, I am running Compiz without Xgl on fglrx. Right now.

Here's the new driver

 

And here's how I managed to get it to run on Ubuntu 7.10 Gutsy Gibbon

 

  1. Remove Xgl (whoohoo) (if present)

    sudo apt-get remove xserver-xgl
  2.  

  3. Remove the old driver (if present)

    Go to System → Administration → Restricted Drivers Manager and choose disable.

    Alternatively remove it yourself:

    sudo apt-get remove xorg-driver-fglrx
  4.  

  5. Delete old fglrx debs (might not be necessary)

    sudo rm -f /usr/src/fglrx-kernel*.deb
  6.  

  7. Blacklist old fglrx module

    sudo gedit /etc/default/linux-restricted-modules-common
  8. And insert fglrx - it should look like this then:

    DISABLED_MODULES="fglrx"

    Alternatively remove the linux-restricted-modules-* package for your kernel (that's what I did, because I don't need them - don't do this, if you use an Atheros chip).

     

  9. Download the driver installer to your home folder

    wget http://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run
  10.  

  11. Install necessary packages

    sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic
  12.  

  13. Create .deb packages

    bash ./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy
  14.  

  15. Install .deb packages

    sudo dpkg -i fglrx-kernel-source_8.42.3-1_i386.deb xorg-driver-fglrx_8.42.3-1_i386.deb
  16.  

  17. Compile kernel module

    sudo m-a prepare,update
    
    sudo m-a build,install fglrx-kernel
    sudo depmod
  18.  

  19. Set up the driver

    sudo gedit /etc/X11/xorg.conf

  20. Make sure "fglrx" is set for the Driver in the Section "Device".

     

    And if present, remove (whoohoo again)

    Section "Extensions"
    
    Option "Composite" "0" # or "Disable"
    EndSection
    As well as
    Section "ServerFlags"
    
    Option "AIGLX" "off"
    EndSection

     

  21. Reboot
  22.  

  23. Enjoy

    SKIP_CHECKS=yes compiz
  24. (necessary because fglrx is not on Ubuntu's whitelist)

    If it works, do this:

    mkdir -p ~/.config/compiz && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager

    This will create a file in your home folder which makes sure that Compiz will run without the above prefix from then on.

How to set up Compiz Fusion - updated for Gutsy

I decided to check (and update where necessary) my blogentry How to set up Compiz Fusion before all hell brakes loose tomorrow.

Most of the changes are very subtle, so you might not even notice them, when you already used the How-To before.

I added a new remark about installing ccsm (because it's not installed by default in Ubuntu Gutsy), where I gave apturl a try.
Please let me know if it didn't work for you (note that apturl requires Synaptic and Firefox).

 

About the guide

I wrote the How-To in order to show how you can get most of the popular features of Compiz Fusion (particularly the cube).
Additionally, it's a nice walkthrough to get used to CompizConfig Settings Manager, which appears to be a closed book for many people.

Please note that it is not for Ubuntu users only. You should be able to use the guide on any Linux install with Compiz 0.6

I'm always open for further requests, so if you feel your favourite feature should be included in the guide, please let me know and I will consider adding it.

Keep in mind that a lot of settings are a matter of taste. That's why I tried to focus on reasonable effects. I acknowledge there are some useless and potentially annoying settings in the guide but I tried to keep that to a minimum.

Update on Compiz Fusion by default in Ubuntu Gutsy

Two weeks ago, I wrote a review about Desktop effects by default in Gutsy - how Compiz Fusion enhances Ubuntu's desktop of version 7.10

I published it by the time the beta was still fresh. We have passed the release candidate by now, so this is pretty much the actual state of affairs.
Time to see what has been fixed (and what not) or generally improved.

The following quotes are from the above mentioned review.


Setting workspaces

Quote:
The only problem that hasn't been resolved, is that you can't change the number of desktops in the panel's Workspace Switcher.
You would have to do that in gconf or turn off the effects, change them in the context menu of the workspace switcher and turn the effects back on.

That was an annoying issue and pretty urgent, because ccsm (CompizConfig Settings Manager) is not installed by default in Gutsy. I am very happy to say that this has been fixed.
If Compiz is enabled, you can now change the number of desktops in the Preferences of the Workspace Switcher's context menu. Hopefully this will put an end to the confusion about "Horizontal/Vertical Virtual Size" and "Number of Desktops".
Furthermore, it's much easier now to explore the advantages of the Desktop Wall plugin (which is enabled in Gutsy by default).
For example having 2x2 desktops is a very good substitute to the cube.
In fact, I think it's even more practical. Particularly in Expo mode where you can rearrange your windows and switch to the desktop you want to work on next.


Default animations

Quote:
Only the window animations are a little more intense then I would have thought and, to be honest, I think is appropriate. Particularly the open animation can get quite annoying in the long run.
Same goes for the Alt+Tab switcher, that doesn't really follow the one you are used to from Metacity.

The Alt+Tab switcher has been improved. A little.
They scrapped the annoying "bounce" but unfortunately decided to go with the "Bring to front" option, which makes the live previews pretty useless.
If I want an eye-candy switcher, I go with Shift and Ring but the usual switcher should focus on functionality.

The open animation still annoys me as well (especially since applications that are minimized to the tray use that every time you access them) but that may be a matter of taste.


Screen corners

Quote:
Unfortunately, [Scale] hasn't been mapped to a screen corner in Ubuntu (in contrary to Compiz' default settings), so many people won't even know that such a feature exists until somebody tells them.
[...]
And again, no hot corner for [Expo] in Ubuntu. I know it brakes Fitts' law but those are two killer features of Compiz and acquiring them through the upper screen corners is very effective once you get used to it.

I talked to Michael Vogt (see https://launchpad.net/~compiz) about this and he confirmed they decided to abandon hot corners because of Fitts' law.
I actually received e-mails about this, so in case you didn't know what I meant with "it brakes Fitts' law":
Ubuntu has the shutdown button on the top right screen corner and the Applications menu on the top left. That's on par with Fitts' law, because this way they are very easy to acquire - you just have to thrust the mouse pointer to the corner and click. Since it's not going to go any further, you certainly won't miss.
Now, if you have hot corners enabled - like in Compiz - you have to get used to this, because you can't just move your mouse incautious to the screen corner anymore.

Although I think it would be worth it, I can respect the decision not to enable them. Unfortunately, I don't see any other way of letting the users know about those two features.


Disappointing Extra set

Quote:
The number of additional plugins isn't exactly mind-bogglingly large:
  • Shift Switcher
  • Wobbly Windows
Yes, that's it. Two plugins.

And while it's perfectly understandable that the wobbly windows aren't part of the default settings, it would have been no problem to add the Shift Switcher to the "normal" set, because it's mapped to another shortcut than the usual one.
And it doesn't require a faster computer, of course.
[...]
So it boils down to this: the only real difference between the normal and the extra set are the wobbly windows. Which is a little disappointing.

Unfortunately, this hasn't been changed at all. No additional plugins will be enabled with the Extra set, except for these two.
I have to apologize for claiming Shift wouldn't require a faster computer, though. Michael told me he tested the enabled plugins on older machines and they had troubles with the Shift switcher - that's why it had been moved to the Extra set.


ATI users and the proprietary (restricted) fglrx driver

Quote:
The problem is, the user doesn't get any information that he needs to install Xgl to get the effects.

[see "Possible problems for ATI users" here for more infos]

Simple answer from Michael: Xgl is in universe and therefore not to be recommended. He also said it hasn't been tested enough by the Compiz team of Ubuntu.
While those are legitimate reasons, I still think a cautious consideration in any of the pointed out possibilities would save a lot of trouble.

Desktop effects by default in Gutsy - how Compiz Fusion enhances Ubuntu's desktop of version 7.10

The beta of Ubuntu's next release (7.10 Gutsy Gibbon) is out - time to review the well discussed decision to incorporate desktop effects by default in this version.

 

Desktop effects vs. Compiz

Since this topic has caused a lot of confusion lately (especially since Feisty introduced it's Desktop Effects), I feel it's time to shed some light.

Let me say this right away: the desktop effects in Ubuntu are Compiz.
Unlike Xfce there is no support for compositing effects in GNOME (it would be possible but nobody makes use of it right now) and the same goes for KDE (but this will change at the end of the year with the release of KDE4).
In addition to that, the desktop effects of Xfce are very basic and can not really be compared to the many possibilities of Compiz.

 

So what is Compiz exactly?

Compiz is a window manager, that means it takes care of all the basic needs to interact with the windows on your desktop - like moving, minimizing and resizing.
In GNOME the default window manager is Metacity. Most people won't have even heard about it, because it's integrated in the desktop environment and its name is nowhere mentioned.
This results in the fact that the usual user isn't aware of the mere existing of such software or rather that it's a separate application that can be replaced like any other on Linux.

The bottom line is: Ubuntu's desktop effects are not just an enhancement of the desktop environment but it replaces a specific part of it.

 

Compiz in Gutsy

Compiz has been integrated very well in the GNOME desktop of Ubuntu.
Just like GNOME obscured the existence of Metacity, many people won't know they're running Compiz on Gutsy.

Certain options of Compiz can be configured directly through the panel menu of GNOME in Gutsy.

None of those entries are specifically related to desktop effects.
While the brand new Appearance menu combines a couple of previously separate settings menus, the last two entries were until now exclusively to configure Metacity.

Furthermore if you install the CompizConfig Settings Manager provided by the Compiz Fusion project, you will get an entry in the panel menu, named "Advanced Desktop Effects Settings"

The tab for the effects in the new Appearance menu introduced in Gutsy, replaces the separate Desktop Effects application of Feisty. The second screenshot demonstrates how the menu gets altered automatically, when the CompizConfig Settings Manager is installed:

Then there's the Window Preferences menu, that could only manage Metacity properly before. With the recent version of Compiz, the changes on Metacity get parsed and Compiz adopts them.

Same goes for Keyboard shortcuts, since there are many settings for window management located there, this had to be adjusted to work with Compiz as well:

The only problem that hasn't been resolved, is that you can't change the number of desktops in the panel's Workspace Switcher.
You would have to do that in gconf or turn off the effects, change them in the context menu of the workspace switcher and turn the effects back on.

 

The default configurations

Ubuntu Gutsy is the first distribution to install and use Compiz with the plugins of Compiz Fusion.
By default there are, besides the core, the main plugins of Compiz as well as the main and extra plugins of Compiz Fusion installed.

So let's have a look at the default settings.
As you could see in the screenshot above, we can choose between "normal" and "extra" effects.

The plugins used by the normal effects (besides the basic plugins for moving and resizing windows etc.) are:

  • Animations
  • Application Switcher
  • Desktop Wall
  • Enhanced Zoom Desktop
  • Expo
  • Negative
  • Scale
  • Viewport Switcher
As you can see, that's really not too much and accordingly tame are the effects that you will get to see.
Ubuntu obviously aimed to mimic Metacity's behaviour mostly and added some flavour of Compiz.
There is no cube nor wobbly windows by default, nothing screams "look at those fancy effects!"

The first thing you might notice are the shadows on panels and windows and maybe the transparent part of the titlebar on inactive windows.
And when you change desktops for the first time, you'll see a nice animation that shows you where you switch to - although it has to be pointed out that it's pretty superfluous with Ubuntu's two desktops by default.

Only the window animations are a little more intense then I would have thought and, to be honest, I think is appropriate. Particularly the open animation can get quite annoying in the long run.
Same goes for the Alt+Tab switcher, that doesn't really follow the one you are used to from Metacity.

 

New Features

Compiz isn't just about effects, it provides a lot of nice usability features.

Viewport Switcher

That's a feature that has already been implemented in many window managers before (except Metacity). It allows you to switch desktops with the mousewheel, while hovering with the mousecursor over the desktop.
This replaces the scrolling over the workspace switcher in the panel.
But you can still change desktops the way you are used to with the keyboard, of course.

Scale

This is one of the most practical features of Compiz and many users claim they couldn't live without it anymore.
Once initiated, it will display all the open windows of the current desktop at once and you can choose which one you would like to have on focus next.
It's basically like an application switcher but much more clearly arranged and intuitive to use.

Unfortunately, this feature hasn't been mapped to a screen corner in Ubuntu (in contrary to Compiz' default settings), so many people won't even know that such a feature exists until somebody tells them.

 

Expo

Similar to Scale, this plugin displays all of your desktops at once.
What you'll get to see is a live preview of your desktops and windows. You are even able to re-arrange windows between the desktops in this mode.
It can be used as a more visual way to change desktops as well, because this way it's much easier to identify the desktop you want to switch to.

And again, no hot corner for this feature in Ubuntu. I know it brakes Fitts' law but those are two killer features of Compiz and acquiring them through the upper screen corners is very effective once you get used to it.

 

Enhanced Zoom Desktop

This is pretty much a magnifier for your desktop. But the clou is, you get to have full control over your desktop and applications while zooming in.
This includes typing in form fields or any application like a text editor.
Additionally you can move/resize/minimize/etc. your windows, open the panel menus or start an application - everything you usually do.

And it's not limited to the magnified section, you can indefinitely zoom in and still move into every corner of the desktop.
It even works with other features activated, like scale and expo.

 

Negative

Ever stumbled upon a website that had such lousy contrast, you had troubles reading the text?
Then this is for you.
This feature provides high-contrast window contents by simply inverting the colors.

You can either invert the current windows or all open windows at once.

 

Extra Effects

Now, lets have a look at the extra option that »provides more aesthetically pleasing set of effects« and even »requires faster computer«
Sounds exciting, eh? Well, don't hold your breath.
The number of additional plugins isn't exactly mind-bogglingly large:

  • Shift Switcher
  • Wobbly Windows

Yes, that's it. Two plugins.

And while it's perfectly understandable that the wobbly windows aren't part of the default settings, it would have been no problem to add the Shift Switcher to the "normal" set, because it's mapped to another shortcut than the usual one.
And it doesn't require a faster computer, of course. So there isn't really a reason, why it's not there by default - it's much nicer than the usual Application Switcher anyway.

So it boils down to this: the only real difference between the normal and the extra set are the wobbly windows. Which is a little disappointing.
There's no cube (and that's particularly disappointing, since Feisty had an option to get it), no additional transparency effects like Trailfocus, no Window Previews, no Scale Addons or - and that would have made the "disclaimer" about faster computers comprehensible - Water Effects.

 

Worst case scenario

Travis Watkins (aka Amaranth) described the worst case in his blog as someone that doesn't get Compiz to work at all.
But it's enabled by default, so what happens to anyone with unsuitable hardware?

To answer this, I will have to get a little techie but I can assure you this already: you won't have to worry about not being able to start your graphical interface or something like this.
Ubuntu makes sure on several levels that everything will be as usual and you'll end up using GNOME's default window manager Metacity.
So you won't even notice there has been changed anything from Feisty to Gutsy in terms of window managers when your graphics card (driver) doesn't support composition.

First of all there's the gnome-wm script.
This is the default way in GNOME to run the window manager on startup.
And a comment in that script says it right there:

# metacity is still the default wm in GNOME
It makes use of a gconf key (that's actually considered as depracted because of the gnome-wm script but things are a little more complex now than with the usual GNOME).
As you can see, the key points to /usr/bin/compiz which is the startscript for Compiz.

 

The Compiz wrapper

The actual binary that starts Compiz is called 'compiz.real' in Ubuntu.
What you start with 'compiz' is a script that takes care of everything for you.
It has mainly been written due to the fact that if you build Compiz from source, you will have to run it with certain extensions. For example, when compiling from git, I used to run Compiz like this:

LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering --sm-disable --ignore-desktop-hints ccp


In order to run the proper command, the script needs to check how you are trying to run Compiz.

 

Whitelist and blacklist for drivers and hardware

Apart from taking care of running Compiz properly, the wrapper contains a whitelist as well as a blacklist in Ubuntu - and that's the interesting part.

The whitelist contains only five drivers: nvidia, intel, ati, radeon and i810.
So the script checks your Xorg.0.log, if one of those drivers are in use.
If not, you'll start with Metacity. So this basically locks out all

  • Nvidia users that didn't install the proprietary driver
  • ATI users whose card isn't supported by the open radeon driver
  • Savage users
  • Via users
  • Matrox users
  • users that are trying to run Compiz on Ubuntu in a virtual machine


But even if your set-up passes this test, there's a blacklist, that checks for problematic hardware or hardware that shouldn't run Compiz on those drivers (currently, that applies only to newer ATI cards whose 3D support by the open radeon driver is only experimental).

Last but not least, there are also certain hardware tests such as checking the amount of memory and the maximum 3D texture size of the card, compared to the resolution in use.

So as you can see, Ubuntu doesn't take a chance here.

 

BulletProof-X

If all else fails, there is still the new feature introduced in Gutsy called BulletProof-X.

This is a new failsafe mode that comes into operation if the graphical X-Server fails to start.
Instead of the infamous scrambled blue screen telling you this and redirecting you to a root shell to adjust this manually, it now starts a basic graphics environment (see here for screenshots).
In this failsafe X mode runs only a single application: displayconfig-gtk

This is a GTK frontend for the displayconfig of the KDE guidance project, introduced in Gutsy.
The user is able to choose a monitor type and graphics driver from a list and can do further adjustments (resolution and the like).
The best case would be that you make a backup of the configurations before fiddling with them. Then all you have to do is choose it from the dropdown menu and start the X-Server just fine.

But as already pointed out, this is really the last resort. Normally disabling the Visual Effects yourself - even if you have to log in to your failsafe GNOME session - should solve any problems related to Compiz.

 

Possible problems for ATI users

ATI users that want or have to use the proprietary fglrx driver might ask now: what about us? Our driver is not on the whitelist!
Don't worry, the script checks for Xgl prior to the whitelist (in case you didn't know: fglrx doesn't support AIGLX right now, so those users need to install this in order to run Compiz) - so if Xgl is running, your free to go.

But that's actually a weak point in the script. If Xgl is not running, the script proceeds and comes to the conclusion that it's not possible to run Compiz.

The problem is, the user doesn't get any information that he needs to install Xgl to get the effects.
Even if you try to enable the effects yourself, all you'll get is a vague error message.

So you actually have to go ahead and run compiz in the terminal (which the usual user will probably never do, because he doesn't even know it's Compiz that he's looking for in the first place):

Checking for Xgl: not present.
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity

And still no word of that it is something the user can install...

This is particularly unfavorable in the light of Gutsy's new feature that it tells people right after the install, that a restricted driver is available for them:

So all users with ATI cards, that are supported by the radeon driver, will have desktop effects out-of-the-box on first boot but when they follow this popup (and who wouldn't?) it will break Compiz and they are left without a clue as to way it worked before and now, when they are using their hardware "more efficiently", it doesn't.

It would be easy to blame this new feature, where the restricted drivers manager checks for available drivers by default or you could say the text is misleading.
But that wouldn't address this issue in its entirety, since it is perfectly appropriate for Nvidia users. As we saw, Nvidia users in fact rely on the proprietary driver in order to use desktop effects.

So the only solution to this would be to inform the user about this issue before or at least after the install of the fglrx driver.

This could be for instance a comment in the GUI of the Restricted Drivers Manager.
Or, even better, a detailed description in the popup window that asks you whether you really want to enable fglrx.

Another possible way would be a popup after the install of the xorg-driver-fglrx package.

That this would be possible, shows the installation process of Xgl.
When you install the package xserver-xgl in Gutsy, there's a message now telling you about the new features of that package.

Ever since Dapper you had to set up a separate X-session, which involved gathering a lot of cryptic commands and if you didn't do it properly, the session either didn't start at all or you had to face certain drawbacks. Although they haven't been resolved entirely, the new solution in Gutsy is a major step in the right direction.

 

Conclusion

Since I know the troubles of compositing effects very well (as I'm doing support for Beryl/Compiz for nearly a year now in various forums, including the ones of the now defunct Beryl site, the german Ubuntu community, compiz-fusion.org and the ubuntuforums) I was very sceptical that Ubuntu could really carry it off.

Even in the face of how well integrated Compiz is in the GNOME desktop and the (mostly) reasonable default settings, I still would have been rather put off by the idea of having them switched-on by default.
But after an exhaustive examination, I think they have done an amazing job (and by "they", I refer to the Ubuntu devs as well as the Ubuntu community, that participated so well in bug triaging) which persuades me, that this was anything but a rushed decision.

 

Why desktop effects by default?

That's a legitimate question. Do we really need them?
As I tried to show you, Compiz is not just about eye candy. It has some pretty convenient features and because of the already vast number of plugins available, it is very customizable.
Besides, it can be configured to replace Metacity pretty seamless.

Then, no matter what you may think about this, Compiz has become a killer application for Linux in the past few years. The internet is packed with videos showing off desktop effects and people keep asking »where can I get my hands on this, that's awesome!«
What an impact this has, shows the many people that are still asking about Beryl, although the project has already been ended (and it's features incorporated in Compiz Fusion mostly) but those videos are still around.

In the end many users get drawn to Linux because of that and the desktop has to get ready for them, so Ubuntu had to take a brave step (some might even call it gutsy) to show the people willing to change, this is the right distribution to choose.
On a side note, Ubuntu heavily relies on community support and from that point of view the decision to install and set up Compiz Fusion by default, has made things considerably easier.

In addition to that, Ubuntu has a large community that takes great interest in those effects as well as a powerful infrastructure with Launchpad.
Compiz and Compiz Fusion will benefit from both.
Both bugzillas of Compiz (located at fd.o) and Compiz Fusion (located at opencompositing for now) haven't exactly been overrun with reporters.
That's mostly due to the fact that both aren't well known but you would also have to set up a new account for each. Since it's common to report upstream bugs on Launchpad as well, there's actually no reason to hesitate from reporting the bugs you stumble upon.

 

Is it the right time?

I don't know, frankly. It's definitely the first time this could come into serious consideration but it may have been better to wait until the next release.
The Compiz Fusion project is fairly new and this is the very first time it's plugins have been incorporated.
But the problem is, the next version (code name: Hardy Heron) of Ubuntu is a LTS release, so it's best to test those packages thoroughly before this. It's even questionable if Compiz will be turned on by default in Hardy anyway, so we would have to wait for the release after the next one.

Besides, Compiz has already been installed by default in Feisty (although not turned on) and Beryl is in Feisty's (universe) repository as well - since most Compiz Fusion plugins come from there, you could say both applications have already been tested thoroughly by the Ubuntu community.

 

Synopsis

The desktop effects have been integrated very well in the (GNOME) desktop of Ubuntu 7.10 Gutsy Gibbon.
Compiz replaces Metacity almost seamlessly and adds convenient functionality with the help of Compiz Fusion.
While there are still certain issues to resolve until everybody benefits from this (such as fglrx users, although it has to be pointed out that Xgl may not be necessary anymore, at the end of the year) most are taken care of.
Nevertheless, Ubuntu doesn't want to take risks and excludes certain set-ups without further ado from this decision, so the concerned users shouldn't even notice there has been changed anything at all.

How to set up Compiz Fusion

 

Attention: if you are looking for a guide to set up Compiz Fusion 0.7.4 (found in Ubuntu Hardy), go here.

This guide has originally been written for this blog entry that describes how to install Compiz Fusion on Ubuntu Feisty and is now updated to use with Gutsy. It is still mostly distribution-independent and you should be able to use it on every Linux install (you'll need to ignore the comments regarding Ubuntu's default settings, of course).


Configure Compiz and its plugins

Ubuntu has some unusual default configurations that makes you miss (among other things) the "infamous" cube.
If you like them, you can, of course, leave them as they are but here are some tips to advance Compiz' configurations. If you don't like them, you will at least get familiar with the settings manager.

 

CompizConfig Settings Manager

This guide makes use of the CompizConfig Settings Manager (ccsm) provided by the Compiz Fusion project.
So if you do not have it already installed, you need to install it first. On Ubuntu the required package is called compizconfig-settings-manager.
In order to install it on Gutsy (using Firefox), all you have to do is click here: apt:compizconfig-settings-manager

Now let's start the settings manager via System → Preferences → Advanced Desktop Effects Settings.
Or simply type in the terminal (or [Alt]+[F2]):

ccsm

 

Since there are so many plugins, it's sometimes tricky to find the plugin you want. That's why there's the Filter in the top left corner of the application. So don't waste your time looking for the plugins all the time - just type the initial letters in there and it will get much clearer.

 

Getting the cube

Firstly, enable the following plugins (by checking the box next to them):

  • Desktop Cube - to actually use it, we might have to disable some other plugins (just follow the popup)

  • Rotate Cube - that is necessary to spin the cube

  • Viewport Switcher (optional) - if you want to change desktops with the mousewheel

  • Cube Caps (optional) - lets you use an images on top and bottom of the cube


Secondly, we have to increase the number of the virtual desktops to 4
at General Options → Desktop Size → Horizontal Virtual Size
(the other two options have to be left at 1 - it should look like this then)

Now we can switch desktops via [Ctrl]+[Alt]+[Left]/[Right] and spin the cube via [Ctrl]+[Alt]+[Left Mousebutton] (or via middle-click on the desktop).

 

Configuring the Cube

  • Set the cube (semi-)transparent
    Set Desktop Cube → Transparent Cube → Opacity During Rotation to 85.0000 (or what suits you best)
    • Additionally you might want to disable Lighing in General Options → Display Settings


  • Cange the cube's color
    Cube Caps → Appearance → Cube Top/Bottom Color - choose a color for each option, that fits best to your wallpaper

  • Cube on a glossy plane
    Enable the Cube Reflection plugin

  • Show the cube's engine
    Enable the Cube Gears plugin

 

Getting windows to wobble

  • First of all you obviously have to enable Wobbly Windows

  • Then, if you want your panel menu to be wobbly as well, choose Shiver in Wobbly Windows → General → Map Effect

  • And you might want to disable Wobbly Windows → General → Snap Inverted to prevent windows from adhering to screen edges.

 

Bind useful plugins to screen corners

  • Display active windows at once when moving the mouse pointer to the top right corner of the screen
    Double-click Scale → Actions → General → Initiate Window Picker For All Windows and choose TopRight

  • Display all virtual desktop when moving the mouse pointer to the top left corner of the screen
    Double-click Expo → Actions → Bindings → Expo and choose TopLeft

 

Tips & Tricks for Scale and Expo

  • If you enable the Scale Addons and Scale Window Title Filter plugins, it enhances your Scale mode:
    • Right-clicking a window lets you have a look at the application

    • You can close a window via [Middle Mouseclick]

    • And if you are looking for a certain application, just type the first letters of the window title


  • While in Expo mode
    • You can change the desktop by right-clicking on a different one

    • And you can even drag the windows from one desktop to another

Nicer window switchers

While the default [Alt]+[Tab] window switcher that comes with Compiz is certainly nicer than the one that came with your desktop environment, Compiz Fusion has much nicer ones, which can be initiated via [Super]+[Tab] (with "Super" being the win-key).

  1. Cover Switch - if you enable the Shift Switcher this will be the default mode

  2. Flip 3D - choose Flip in Shift Switcher → Switcher Mode

  3. Or enable the Ring Switcher plugin
    (if this one is enabled, the Shift Switcher won't work anymore, since it's bound to the same keys)

 

 

You can bind those to different key combinations, if you like and have three different window switchers at a time (the "usual" one, one of the "Shift Switcher" ones and the "Ring Switcher").
Additionally you can use them for different needs, like Ring Switcher for the current workspace and a Shift Switcher for all active windows - just set them the way you like in the plugin's Key bindings of the respective Actions tab.

 

Reasonable window effects

There's nothing particularly wrong with the settings provided by Ubuntu but some of them can get quite annoying and it's always fun to fiddle with that part of Compiz.
All of the options are located at the Animations plugin.

  • Close Animation
    Double-click on the first entry ("Glide 2" by default) and pick Zoom in the drop-down menu.
    Additionally, double the Duration to 400 (that's obviously not the most reasonable thing to do but it's such a nice effect)

  • Minimize Animation
    Double-click on the first entry ("Zoom" by default) and pick Magic Lamp

  • Open Animation
    Double-click on the first entry ("Glide 1" by default) and pick Glide 2

  • Focus Animation (optional)
    I don't recommend changing the effect, just increase it's duration to 300 or 400 to actually see the nice effect. But if you're a wobbly fanatic you can change the Focus Effect to Wave or choose Dodge if you want some eye candy.

 

Transparency

One of the main reasons for me, why I wanted to try Compiz, was the fact that you could have real transparency (and not just the fake one, where you can't see what's actually going on below your window). It's still one of the most impressive effects to me, that you are able to move a transparent window over your desktop and it's like, well, an actual window, where you can look right through.

  • Real transparency in the GNOME-Terminal
    That's the easiest way to enjoy real transparency, since the GNOME-Terminal already supports it. All we have to do, is open the terminal and go to Edit → Current Profile → Effects and select Transparent background. You can change the level of opacity with the scrollbar, if you like.

  • Steplessly adjust window transparency
    That's a basic feature of Compiz. Just press [Alt] and increase/decrease the level of opacity with the mousewheel while hovering over any window (even the panel).

  • Transparent panels and menus
    Unlike the Xfce panel, the GNOME panel doesn't support real transparency. Therefore we have to adjust this manually.
    • Go to General Options → Opacity Settings and choose Add. Then in the popup window type dock and for Opacity Window values type 85 (that means the transparency is set to 15% - you can set it higher or lower, of course - but I wouldn't recommend something lower than 75, because icons and the like get transparent too).

    • Now that you have a transparent panel, the opaque menus doesn't fit too well. Click on Add again, this time type dropdownmenu and set the transparency the same way as your panel.
      (If you are using the Main Menu, you have to type popupmenu instead of dropdownmenu - this will make your context menus transparent too!)

  • Transparent windows on the move
    Go to the Move Window plugin and set Opacity to 85. Now the windows get 15% transparent every time you drag them.

  • Getting lower windows to dissolve
    This is a very nice effect, that makes the windows more transparent the later you last focused them. To achieve this, all you have to do is enabling the Trailfocus plugin. (The Brightness effect is also very nice in this one - you can enable it, by lowering the Brightness Level of Unfocused Windows)

 

*     *     *

 

There are obviously many other plugins and lots of additional options to explore and we haven't even mentioned the really useful effects like "rain on your desktop" and "setting your screen on fire" (OK, we already had the incredibly important gears) but I guess you should be experienced enough by now to find them yourself - and customizing everything on your own is much more fun.

 

Troubleshooting

No window boarders (titlebars)

Insert the window decorator of your choice (gtk-window-decorator, kde-window-decorator or emerald) in CompizConfig Settings Manager → Window Decoration → Command

Additionally for Nvidia users:
Make sure you have a nvidia-glx driver installed and use the following command to configure your xorg.conf:

sudo nvidia-xconfig --add-argb-glx-visuals -d 24

(you have to restart X to make it work)

16 Desktops instead of 4 (although configured correctly)


This can happen on KDE, try starting Compiz like this from now on:

compiz --replace --ignore-desktop-hints

 

Can't drag windows around

Make sure the Move Window plugin is enabled.

No Cubecaps or Skydome

Make sure the JPEG and/or Png plugin(s) are enabled, depending on the image(s) you want to use.

Regards,
Nick

How to install Compiz Fusion on Ubuntu Feisty - tutorial for advanced and/or KDE as well as Xfce users

 

This guide is an alternative to the original blog entry that describes how to install Compiz Fusion on Ubuntu Feisty step-by-step.

If you haven't followed a link from there to get here, please make sure to at least read the introduction of the original entry before using this guide.


So why another one?

The original how-to was written with the "standard" Ubuntu user in mind and therefore strictly focuses on GNOME. Since there are at least two more popular desktop environments around that are officially supported by Ubuntu, I felt that I owe those KDE and Xfce users a similar opportunity to get their desktop effects as well.

Although this guide will not be as detailed as the original one, I tried to give as much information as I felt was necessary.
And while I planned to provide a how-to for more experienced users, I felt that I couldn't ignore the Kubuntu and Xubuntu users, that are new to Ubuntu and Linux in general.

So this will focus mostly on terminal commands but gives additional infos you might need, instead of just telling you what to do (that's the problem with most how-tos in my opinion, as many users just copy & paste some commands and have no clue what they're actually doing).

 

Install Compiz Fusion on Feisty

Important:
Before we start, it's absolutely necessary to remove all the packages related to Compiz, Beryl and/or Emerald that you might have installed.

For Compiz this should do the job:
sudo apt-get remove compiz* && sudo apt-get autoremove

And to completely remove Beryl and Emerald, type:
sudo apt-get remove beryl* emerald* && sudo apt-get autoremove

It's also of vital importance to remove any third-party repository for Compiz and/or Beryl you have added to your sources.list!

 

Adding the Repository

To add the repository to your sources.list via terminal you can simply type:

sudo su -c 'echo deb http://ppa.dogfood.launchpad.net/amaranth/ubuntu feisty main >> /etc/apt/sources.list'

 

Afterwards, we have to update the package informations:

sudo apt-get update

 

 

Choosing the packages

Now you have to choose which of the following packages you want to install:

  • compiz (only recommended for GNOME users) - this is a metapackage that will install Compiz as well as Compiz Fusion - but also the "gtk-window-decorator" which depends on Metacity (GNOME's window decorator) and will therefore pull lots of GNOME-dependencies.

  • compiz-core - that's just the Compiz window manager without any plugins at all
    • compiz-kde (optional for KDE users) - this will install a window decorator that uses your KWin-themes on Compiz
    • compiz-gnome (optional for GNOME users) - window decorator for Metacity themes on Compiz (this packages is already included in compiz)

  • compiz-plugins - standard plugins for Compiz (like cube and wobbly windows)

  • compiz-fusion-plugins-main - main plugins of the Compiz Fusion project (see here for details)

  • compiz-fusion-plugins-extra - additional Compiz Fusion plugins (details)

  • compizconfig-settings-manager (recommended) - powerful configuration tool for Compiz and it's plugins
    • sexy-python (optional) - required for clear-buttons in certain input fields

  • emerald (optional) - nice independent window decorator
    • emerald-themes (optional) - a set of themes for Emerald


Tips for installing Compiz Fusion

Since the repository doesn't have a GPG-Key, apt will give you a warning, stating »The following packages cannot be authenticated!« - in this case, that's nothing to worry about, but you have to approve this step! Just pressing [Enter] will abort the process.

 

Recommended install for Kubuntu users

This will install Compiz with all the plugins available as well as the "CompizConfig Settings Manager". It will also install the kde-window-decorator that makes sure you can continue using your current KWin window boarders:

sudo apt-get install compiz-kde compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-settings-manager sexy-python

 

You might want to include the packages for Emerald as well - or install it later via:

sudo apt-get install emerald emerald-themes


Installing Compiz Fusion only with Emerald
(recommended for Xubuntu users)

If you're sure you only want to use Emerald themes witch Compiz and pass on KWin or Metacity window boarders, type:

sudo apt-get install compiz-plugins compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-settings-manager sexy-python emerald emerald-themes


Due to a bug, the version number of compiz-core doesn't get updated and therefore if you are doing a "sudo apt-get upgrade", it will tell you to install a newer version of compiz-core, although you already have the latest available. So it's best to remove the repository after we have installed every package we need.
In order to do so, open your sources.list in a text editor (you need to be root to modify it), e.g.
sudo nano /etc/apt/sources.list
and navigate to the very end of the file, where you disable the repository by typing "# " (there's a space next to the number sign).
It should look like this then:
# deb http://ppa.dogfood.launchpad.net/amaranth/ubuntu feisty main
Finally press [Ctrl]+[o] and then [Enter] to save the file.


This is certainly easier with a graphical text editor like kate (KDE), mousepad (Xfce) or gedit (GNOME).


First steps

Before we launch Compiz for the first time, start the CompizConfig Settings Manager via System → Preferences
The command for the terminal or [Alt]+[F2] is simply:

ccsm

 

  • There we click on Preferences and in the Backend section choose "Flat-file Configuration Backend" (this is the most reliable and it won't mess with any of your previous settings of Compiz).

  • Then create a new profile, so that you can easily switch back to default and back. To do so, click on the [+] in the Profile section.

  • Last but not least, click Back and look for the Window Decoration button. Right next to Command, type kde-window-decorator, gtk-window-decorator or emerald (depending on what you want to use - this will prevent the window borders to disappear in certain situations).
    If you want to use Emerald as your default window decorator but have another one installed too, see below.


Run Compiz

Press [Alt]+[F2] and type:

compiz --replace

This should start Compiz with the window decorator you chose above.

If you want to use Emerald instead of your standard window boarder, press [Alt]+[F2] again and type:

emerald --replace




Run Compiz with Emerald by default (optional)

When you didn't choose to install Compiz Fusion only with Emerald but you still want to start Compiz with Emerald right away, there are two ways to achieve this:

  1. Remove the package compiz-kde or compiz-gnome
    This will leave you without your window boarders, that you are used to from your desktop environment (only on Compiz, of course), so you should only do that when you are certain you solely want to use Emerald from now on!

  2. Create a startscript via
    nano start-compiz
    and type:
    #!/bin/bash
    compiz --replace &
    sleep 5
    emerald --replace
    Then save the file by pressing [Ctrl]+[o] and then [Enter] (it will get created in your home folder).

    Additionally we have to make the file executable:

    chmod +x start-compiz

    After this, you can use that file to start Compiz - it's even possible to use that file with a launcher in the panel (or on the desktop) and of course use it for the command in the startup programs

Either way, insert emerald at CompizConfig Settings Manager → Window Decoration → Command


 


Configure Compiz and it's plugins

This section of the guide has been moved to a separate blog entry

 

Troubleshooting


Compiz doesn't work at all

Please make sure you have the right driver for your graphics card installed as well as configured it correctly.
Here are some rules of the thumb depending on your graphics card brand:

Nvidia user

Install the appropriate package depending on your card's type:

  • nvidia-glx-new - GeForce5/FX and above
  • nvidia-glx - from GeForce2 MX to GeForce4
  • nvidia-glx-legacy - older cards like TNT, TNT2, TNT Ultra, GeForce, and GeForce2 without MX

 

Afterwards, run this command in a terminal to make sure your xorg.conf is configured correctly:

sudo nvidia-xconfig --add-argb-glx-visuals -d 24

 


ATI user

If your graphics card is supported by the open radeon driver, it should work out-of-the-box with Compiz.
Check your xorg.conf, if ati is listed as the driver:

sudo gedit /etc/X11/xorg.conf


this is how it should look like:

Section "Device"
    Identifier    "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
    Driver        "ati"
    BusID         "PCI:2:0:0"
EndSection

If you want to make sure or it's set to "vesa" (then your graphics card didn't get recognized by default) change it to "radeon" (but nothing else!)

 

If you want (or have) to use the fglrx driver, you have to install and set up Xgl (I strongly recommend Method A)

 

Intel user

Normally there are no troubles with intel chips whatsoever, since there is an open driver available, that comes with Ubuntu by default.
If you have issues nevertheless, have a look at this.


Compiz Fusion needs too much resources on Xgl


Try starting Compiz this way:

LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace


Compiz freezes randomly and/or permanently on logout

If you are using a Nvidia driver, try this:

Open the startscript for Compiz:

sudo nano /usr/bin/compiz


look for the line about "No indirect by default" and change it to

INDIRECT=0

 

 

No cube and wobbly windows

It's not a bug, it's a feature.
Just check out the following guide how to set up Compiz Fusion

Additionally, you might want to check out this thread on the ubuntuforums, where I already answered many other questions.

Regards,
Nick

The best way to install Compiz Fusion on Ubuntu Feisty

Introduction


Compiz Fusion is the the result of the merge of Compiz and Beryl.
The Beryl developers gave up their own core (and therefore the window manager itself) and focus now - together with voluntary Compiz devs - on developing plugins for Compiz.

 

Additionally Emerald (Beryl's window decorator) got ported to Compiz and a config tool called "CompizConfig Settings Manager" got developed, that continues to give the users the choice and flexibility they're used to from the defunct "Beryl Settings Manager".

Since Compiz Fusion is in early development there are no official packages for Feisty out there right now.
But the next release of Ubuntu (Gutsy Gibbon) is in development as well and therefore already includes packages for Compiz Fusion.

So how does this help us on Feisty? Amaranth of the Ubuntu (and Compiz) community backported those packages to Ubuntu 7.04 Feisty Fawn!
I wouldn't go so far to call those packages rock stable, but they are definitely the most stable ones you can get right now. This means on the other hand they probably omit some features you might have heard of. It includes only the plugins that are in the "plugins-main" and "plugins-extra" branches. Nothing from "plugins-unsupported" or even uncategorised plugins. But these are very few and most of them aren't ready for the end-user anyway. In fact, I for myself did not miss any plugins while using those packages and I'm compiling from git on a daily basis.

So this how-to is for everyone that want new eye-candy but don't want to worry about whether the installation will corrupt anything on their machine or face new problems with every update (what is the case with those bleeding edge repositories - don't get me wrong, I think those guys are doing a great job but that's certainly not for everyone - and the forums are packed with threads like "Help! Latest update broke my Compiz" etc.).

I'm going to keep the guide as simple as I can, because I know there are many people out there getting attracted by those fancy effects and are otherwise totally new to Linux.
(Because of that, I'm going to use Synaptic for most of the steps - if you're on KDE, you can do similar things with Adept)

 

I have written an additional Tutorial for advanced and/or KDE as well as Xfce users, which focuses mostly on the terminal. Furthermore, it describes how Kubuntu and Xubuntu users can install Compiz Fusion without GNOME-dependencies.


Install Compiz Fusion on Feisty

First we have to launch Synpatic via System → Administration → Synaptic Package Manager

Important:
Due to dependency problems, it's necessary to remove at least one package but I recommend removing everything regarding Compiz.
In order to do that, click on Search and type compiz (if it's not set by default, choose "Look in: Description and Name").
Then click on the (green) box next to all the installed packages we found and choose "Mark for Removal". Afterwards, click Apply.

In addition to that: if you have any other packages related to Compiz, Beryl and/or Emerald installed (besides the ones that came with your installation of Ubuntu) you have to remove all of them!

It's also of vital importance to remove any third-party repository for Compiz and/or Beryl you have added to your sources.list!

On a side note: as you might have noticed, removing compiz will cause to automatically remove ubuntu-desktop too. That's generally nothing to worry about, as it's just an empty metapackage. But it's perfectly safe to install it subsequent to the installation again (that applies to applications that depend on Compiz, like Screenlets, as well).


Adding the Repository

Click on Settings and choose Repositories - that will start the "Software Sources" application where you click on the Third Party Software tab and choose Add...
This is the APT line you need:

deb http://ppa.launchpad.net/amaranth/ubuntu feisty main

 

After we added the repository and closed the window, we need to reload the package informations in Synaptic, click Reload to do so.


Choosing the packages

Now we do a search for compiz again, wich will list all the packages that are ready to install (in order to do that, click on the empty box next to each entry and choose "Mark for installation").

Since the repository doesn't have a GPG-Key, Synaptic will list the packages as "NOT AUTHENTICATED" in the installation process.
In this case, that's nothing to worry about.

 

The following packages (including dependencies) are the ones we are looking for:

  • compiz - this is a metapackage, that will install most of the necessary packages, including the Compiz Fusion ones.

  • compizconfig-settings-manager (recommended) - powerful configuration tool for Compiz and it's plugins
    • sexy-python (optional)
      required for clear-buttons in certain input fields
      (you have to do a separate search for that package)

  • emerald (optional) - nice independent window decorator
    • emerald-themes (optional) - a set of themes for Emerald (including "human-ubuntulooks", a port of the Ubuntu standard theme)
      (you have to do a separate search for that package)

After we have checked all the packages we want for installation, we finally click Apply

Due to a bug, the version number of compiz-core doesn't get updated and therefore Synaptic wants to upgrade the package all the time, although it's already the latest available. So it's best to remove the repository after we have installed every package we need: all we have to do is uncheck the box next to the repository at Settings → Repositories → Third Party Software
And after another reload we can finally close Synaptic.

 

 

First steps

Before we launch Compiz for the first time, start the CompizConfig Settings Manager via System → Preferences.

  • There we click on Preferences and in the Backend section choose "Flat-file Configuration Backend" (this is the most reliable and it won't mess with your previous settings of Compiz in gconf).

  • Then create a new profile, so that you can easily switch back to default and back. To do so, click on the [+] in the Profile section.

  • Last but not least, click Back and look for the Window Decoration button. Right next to Command, type gtk-window-decorator (this will prevent the window borders to disappear in certain situations) - if you want to use Emerald as your default window decorator, see below.

 


Run Compiz

Press [Alt]+[F2] to start "Run Application" and type:

compiz --replace

This should start Compiz with your standard window boarder.

 

If you want to use Emerald instead, press [Alt]+[F2] again and type:

emerald --replace

 

 

Run Compiz on startup

In order to use Compiz as your default window manager, all you have to do is add the before mentioned command (only the compiz one) to
System → Preferences → Sessions → Startup Programs

 


Run Compiz with Emerald by default (optional)

 

Compiz uses the gtk-window-decorator by default, but if you want to start Emerald right away, there are two ways to achieve this:

 

  1. Remove the package compiz-gnome (it will remove compiz too but don't worry, that's just an empty metapackage)
    This will leave you without your window boarders, that you are used to from GNOME (only on Compiz, of course), so you should only do that when you are certain you solely want to use Emerald from now on!

  2. Create a startscript
    Run Applications → Accessories → Text Editor and type the following:
    #!/bin/bash
    compiz --replace &
    sleep 5
    emerald --replace
    Then save the file as start-compiz in your home folder. Close the text editor and open Places → Home Folder.
    There you right-click on the file and check the box at Properties → Permissions → Allow executing file as program
    After this, you can use that file to start Compiz - it's even possible to use that file with a launcher in the panel (or on the desktop) and of course use it for the command in the startup programs

 

Either way, insert emerald at System → Preferences → CompizConfig Settings Manager → Window Decoration → Command


 


Configure Compiz and it's plugins

This section of the guide has been moved to a separate blog entry

 

Troubleshooting

Compiz doesn't work at all

Please make sure you have the right driver for your graphics card installed as well as configured it correctly.
Here are some rules of the thumb depending on your graphics card brand:


Nvidia user

Install the appropriate driver via
System → Administration → Restricted Drivers Manager
Afterwards, run this command in a terminal to make sure your xorg.conf is configured correctly:

sudo nvidia-xconfig --add-argb-glx-visuals -d 24

 

ATI user

If your graphics card is supported by the open radeon driver, it should work out-of-the-box with Compiz.
Check your xorg.conf, if ati is listed as the driver:

sudo gedit /etc/X11/xorg.conf


this is how it should look like:

Section "Device"
    Identifier    "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
    Driver        "ati"
    BusID         "PCI:2:0:0"
EndSection

If you want to make sure or it's set to "vesa" (then your graphics card didn't get recognized by default) change it to "radeon" (but nothing else!)

 

If you want (or have) to use the fglrx driver, install it via
System → Administration → Restricted Drivers Manager
But then you have to install and set up Xgl (I strongly recommend Method A)

 

Intel user

Normally there are no troubles with intel chips whatsoever, since there is an open driver available, that comes with Ubuntu by default.
If you have issues nevertheless, have a look at this.

 

 

Compiz Fusion needs too much resources on Xgl


Try starting Compiz this way:

LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace

 

 

Compiz freezes randomly and/or permanently on logout


If you are using a Nvidia driver, try this:

Open the startscript for Compiz:

sudo gedit /usr/bin/compiz


look for the line about "No indirect by default" and change it to

INDIRECT=0

 

 

No cube and wobbly windows

It's not a bug, it's a feature.
Just check out the following guide how to set up Compiz Fusion

Additionally, you might want to check out this thread on the ubuntuforums, where I already answered many other questions.


 


Disclaimer: I have written and tested this how-to on a (relatively) fresh install of Ubuntu Studio (because I didn't want to mess with the git-install on my main machine), which has the advantage of not having Compiz installed by default. I did install the desktop-effects package, to check which (dependency) problems it brings but I may have missed something anyhow. So please let me know if you didn't understand a specific part of the guide and/or ran into problems I didn't address here.

 

I'm gonna go build my own weblog... with blackjack and hookers.

So... here we are. Me and the so-called Web 2.0 - who thought we would ever get along?
I've never posted a video on youtube or uploaded one of my photos to flickr. And I'm certainly wouldn't even think of submitting something to myspace.
I do have a last.fm account, though. But that's two years old (back in the days when it was just a nice little tool, to create your own private hit parade, called audioscrobbler and, well... didn't belong to a multimillion-dollar network) and I rarely use any of those fancy features. Mostly because I don't like people shouting at me.

And now a blog... what has become of me? Where will it end? Will I get poked?
Hopefully not, because I don't plan to taddle and twaddle here. For now I will just use it for How-To's mostly, because I feel like I've been around in the Linux-community long enough to share my knowledge.

Alright, if you insist... here are some informations about myself:
I'm 26 year old student (I'm studying philosophy and mathematics intending to become a teacher) from Cologne, Germany and I'm married with two children (this always makes me laugh, because in german you say you're married with and not to someone... so if you translate the sentence word by word, it means I'm married to two children).
I'm using Linux¹ for one (and a half) year now and my first distribution was Ubuntu Dapper Drake.

The first time I got hooked on the whole concept of free software was when Firefox came out (or Firebird as they called it that time) and it still amazes me to this very day. The community played (and still plays) a big part in this for me.
I was attracted mostly by Ubuntu because of it's community and got a regular poster on the german Forum right away.
When Edgy came out, I thought I was experienced enough to try Compiz but switched to the newly created fork Beryl (again, mostly because of the community).
I learned a lot about window managers, the XServer and things like Xgl and AIGLX. In general, I can say Beryl and Compiz made me understand Linux and free software a way lot better and I learned to help people out, that weren't so much into it.
Right now I'm an active member of the Compiz Fusion community, compiling from git on a daily basis, following the mailing lists... you know, the geeky stuff.

Because of that, I always stumble upon people that are fairly new to Linux and since desktop effects are a popular way to attract people to free software, I want to help them out with a detailed How-To once in a while.
And this is what a majority of this blog will be about.
Another thing I'm planning to do are previews of alpha/beta stuff of both Compiz and Ubuntu.

So much for the introduction. Stay tuned for more Happy Days.

Regards,
Nick

P.S. as you might have noticed the title subtitle of this blog is quite long but I always loved this line (it's from the song "Much against everyone's advice" by Soulwax) and if the guys at blogage.de let me use unreasonable long titles subtitles it's their damn fault, so don't blame me.
I guess the The title will be has been changed some time soon to something short and boring.
(The one who knows on what song of which band the subtitle is a pun on, wins... uhm... a virtual banana.)

 


¹I will use Linux as a short term for the GNU/Linux operating system and Linux-kernel for the kernel itself on this blog. If you want to know more about the distinction, see Linux and the GNU Project - by Richard Stallman

 

Pages:«Vorherige 1, 2Nächste»