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

Azureus Look & Feel for Vuze 4

Following my guide how to install Vuze 4 on Ubuntu (this should be working on any Vuze 4 install, though), here I will guide you through the options how to make Vuze's look & feel more like Azureus'.

Basically there are two different choices: you can either try to make the Vuze interface behave and look more like Azureus or totally revert back to the old style.

 

Enhance the Vuze interface

By default Vuze 4 starts with the Vuze platform, which is most probably not the (main) reason you installed this bittorrent client.
Vuze 4 is not as confusing as it's predecessor in terms of changing the GUI, though.
All you need to do, to get a proper interface, is to choose My Library in the sidebar and then click on the button on the top right where it says View.

The GUI should look like this then, which is pretty close to what you'd expect it to be:



To make this change a permanent one, go to Tools → Options, click on the arrow next to Interface and choose Start.
Here you check Open 'My Torrents' on startup


You'll notice that apart from having a slicker design, Vuze 4 now features a searchbar, which lets you skim through certain platforms.
Some of them are pre-installed but for most of the popular bittorrent sites exist add-ons.



The main downside of the new interface is the sidebar, which bloats the GUI way too much.
Hitting [F7] will hide it, so we'll get a nice looking, visually improved Azureus interface.

Unfortunately, there seems to be no way to hide it by default.
Also it's pretty annoying to show and hide it everytime, because the sidebar totally replaces the tabbed interface of the classic Azureus GUI.

 

 

Revert back to classic interface

If you simply want that classic GUI back, this is also possible without much hassle.
Just go to Tools → Options → Interface → Start and access the Vuze UI Chooser via the Show button.



This way you will get back the classic Azureus-style interface in all its glorious butt-ugliness in exchange for usability:

Enjoy!

How to install (and update) Vuze (formerly Azureus) 4 on Ubuntu

Since you can not update the version of Vuze from Intrepid's repositories (or any other version for that matter), here's how to install the latest version easily (no need to compile) and keep it updated.

Download & Install

  • Before we install anything we need to make sure, there is no Ubuntu package installed:
    sudo apt-get remove azureus
    (Don't worry, all your configurations and torrents are saved in your home directory so none of those get deleted.
    You will be able to use them in the new version just like before.)

  • Then we need to make sure the Java Runtime Environment is installed:
    sudo apt-get install default-jre

  • Now go to http://azureus.sourceforge.net/download.php and download the version suitable for your OS (when in doubt, do not choose the AMD64 version) to your home directory

  • Afterwards, extract the program to /opt
    sudo tar -xvjf Vuze_*.tar.bz2 -C /opt/

Basically, that's it. :)

Now you could launch Vuze like this:

/opt/vuze/vuze

or

/opt/vuze/azureus

Vuze Splash


But here are some steps to make the usage more convenient:

Keep Vuze updated

Vuze does that automatically but we need to have write privileges in the directory Vuze stores its program files:

sudo chown -R $USER:$USER /opt/vuze/
The current user is from then on able to update the application.

 

Create menu entry

Finally, we'll create a .desktop file, so we have a launcher in the panel menu. In order to do that we need to create the file
/usr/local/share/applications/vuze.desktop

    e.g. on GNOME you can do it like this:

sudo mkdir -p /usr/local/share/applications
gksu gedit /usr/local/share/applications/vuze.desktop
and copy the following text in there:
[Desktop Entry]
Name=Vuze (Azureus 4)
Comment=Bittorrent Client
Exec=/opt/vuze/azureus
Terminal=false
StartupNotify=true
MultipleArgs=false
Type=Application
Icon=/opt/vuze/vuze.png
Categories=Application;Network

 

Run Vuze easily from a command line (optional)

This requires a simple start-script that we'll locate at
/usr/local/bin/vuze

    e.g. on GNOME you can do it like this:

sudo mkdir -p /usr/local/bin
gksu gedit /usr/local/bin/vuze
with the following content:
#!/bin/sh
exec /opt/vuze/azureus "$@"

Don't forget to make it executable:

sudo chmod +x /usr/local/bin/vuze

Afterwards, you will be able to run Vuze by executing simply
vuze
in the terminal or via [Alt]+[F2]

    In case you want to be able to run it as azureus do this

sudo ln -s /usr/local/bin/vuze /usr/local/bin/azureus

 

 

Make Vuze look and behave like Azureus

Go here: Azureus Look & Feel for Vuze 4

How to set up Compiz Fusion 0.7.4 (included in Ubuntu 8.04 Hardy Heron)

Many people requested an update of my set up guide to the version of Compiz Fusion found in Ubuntu's latest release "Hardy Heron".

From the beginning I was reluctant to do that, because the official current stable release is still Compiz 0.6.2 / Compiz Fusion 0.6.0.

So I decided to start from scratch... well not really, most of the new guide is based on the content of the "old" one.
But I decided it was time for a complete makeover. I hope it's even more easy to follow now:

How to set up Compiz Fusion 0.7.4

P.S. The reason for this separate blog entry here is I didn't want to expose the whole guide to the planets my blog is aggregated on, because it's way too long. I hope you will enjoy it anyway

Update: sorry, I noticed the guide got forwarded to ubuntuweblogs.org nonetheless. Fixed it.

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.

 

Pages:1