Xubuntu + Compiz = Pretty pretty Xubuntu

Note to users of 8.04 or 8.10: flotoonie and Ivotron report that this guide also works for Xubuntu 8.04 “Hardy Heron”, which I can confirm myself, and Ravan reports that it works for Xubuntu 8.10 “Intrepid Ibex”.

Note to users of 9.04: According to shadowsky and Andrew, Compiz also works in 9.04, except that you might not be able to use the more efficient way described below. If I get 9.04 running myself I’ll see if I can update this post with my own information. Until then, the section has been updated to link to instructions provided by sisco311 in the comments.

With the release of Xubuntu 7.10 “Gutsy Gibbon”, Xubuntu looks better than ever. However, it can look better still, with the breathtaking effects provided by Compiz. How would you like all your windows zooming out into little thumbnails to give you an overview a la Mac OS X’s Exposé? Or what about flipping through your windows Cover Flow-style (or Flip 3D-style, for that matter)? And then you haven’t even experienced the joy of your windows casting shadows on your desktop, or wobbling like jelly as you drag them!







And that’s just the tip of the proverbial iceberg as there are many more features for you to discover – after you’ve installed it using this guide :).

Preliminary note: your graphics card should support it. Most cards from Nvidia and ATI are supposed to work, as well as some cards from Intel. Most likely you will need to enable the proprietary, non-open source drivers using the Restricted Drivers Manager in Applications->System->Restricted Drivers Manager.

You can check whether you system can run Compiz using Compiz Check.

Before we start, I should also note that Compiz has not made a stable (i.e. 1.0) release, and undoubtly you will experience bugs yourself. This could include the occasional crash, your window borders disappearing (you can get them back by pressing Alt+F2 and entering “emerald” or, if that doesn’t work, “xfwm4″), windows being black in their entirety, or even being thrown out of your graphical environment completely. Be aware of the risks, and don’t blame me if it breaks ;) .

A bit of history would be appropriate, so here goes. You can skip this paragraph if you already know what Compiz and Compiz Fusion are and just want to install them.
Developed within Novell (they bring you SUSE Linux) they released Compiz, a window manager with gorgeous effects to demonstrate their new XGL software which allowed better use of hardware and made these effects possible. Compiz became an independent project and kept adding astonishing new effects. As Red Hat (who bring you Red Hat Linux) developed AIGLX as an alternative to XGL, Compiz didn’t even need XGL anymore. A community formed around Compiz that made lots of useful and not-so-useful (but pretty) additions. One particular group of enhancements were not accepted into the main project and, being open source, a spin-off named Beryl that did include the enhancements was started. Beryl became very popular – perhaps even more popular than Compiz itself. However, both projects were dissatisfied with the duplicate work and found that they could settle their previous arguments. In a re-merge, most of Beryl’s plugins were made to work on Compiz under the name of Compiz Fusion. So now we have Compiz (or Compiz-core), the base system, with Compiz Fusion, which provides many additional, perhaps more experimental, plugins.

We will install Compiz as well as Compiz Fusion from the official software sources which will no longer pull along half of Gnome as it did in the previous version of Xubuntu.

A word of thanks goes out to Forlong who wrote a guide titled “How to install Compiz Fusion on Ubuntu Feisty – tutorial for advanced and/or KDE as well as Xfce users” – about the only guide that explains how to install Compiz on Xubuntu (up until now, that is ;) ). Whereas his tutorial focus[es] mostly on terminal commands I’ll explain it like I usually do – the graphical way, with loads of screenshots. Do use his excellent tutorial if you prefer using terminal commands. Be sure to note, though, that his tutorial is for version 7.04, so you’ll have to replace “feisty” with “gutsy”.

Let’s start, shall we?

Note: If you rather copy and paste a command into a terminal window, use this: sudo apt-get install compiz-core compiz-plugins compiz-fusion-plugins-main compiz-fusion-plugins-extra emerald compizconfig-settings-manager

Fire up Applications->System->Synaptic Package Manager to install the required packages. First of all, we need compiz-core. This is just pure Compiz as opposed to the compiz package which pulls along half of Gnome. Then, of course, we need the plugins that take care of all the bling – don’t worry, you can select which plugins you want to activate ;) . We need the packages compiz-plugins, compiz-fusion-plugins-main and compiz-fusion-plugins-extra. Furthermore, you might like the application to draw the window borders, Emerald, instead of Xubuntu’s default xfwm4 (if you’re unsure, you’ll probably want it). If so, select the package emerald. Last but not least, we need an application to configure Compiz to be usable, so select compizconfig-settings-manager too.
Having selected them all, you can click Apply to start the installation.



Setting it up

Before you can run your newly installed Compiz, you need to configure it a bit. In order to do so, open Applications->Settings->Advanced Desktop Effects Settings.



Beneath the “Effects” heading, click Window Decoration. In the Command input field, enter the window decorator you prefer (emerald if you installed that, xfwm4 if not).



Well, that’s about it – let’s try running it!

Running Compiz

Only one way to find out whether everything works as expected – run it! In order to do so, press Alt+F2, enter compiz --replace, then click Run. If everything works as it should, you should now see shadows around your windows!





Make it default

Now I’ll just assume that it ran successfully and that you want to have Compiz run by default every time you login. I’ll cover two ways to do that.

The easy-but-inefficient way

Using the first way Compiz will replace your default window manager every time you login. This means that, when you log in, first xfwm4 is ran which will then be replaced by Compiz, so even though xfwm4 is started, it will then be closed again without being used.

Also note that you might want to skip to the next part “Managing window decorations” if you’re going for the easy way.

For this method, you open Applications->Settings->Autostarted applications.



There, you click Add to create an entry with the following values:

Name:
Compiz Fusion
Description:
Desktop Effects
Command:
compiz --replace

Well, actually, only the last entry really matters ;)



Click OK and you’re done! The next time you login, Compiz will be started automatically.

The more-difficult-but-better way

Update: Reportedly this way doesn’t work anymore in Xubuntu 9.04 and above, due to the new version of Xfce being used (namely version 4.6). Though I haven’t verified them myself, sisco311 provides updated instructions in the comments section. Users of Xubuntu 9.10 reportedly need Sahkolihaa’s instructions.

So… You prefer the scary stuff? Well, it’s not that difficult, actually. You just press Alt+F2 and enter

gksudo "mousepad /etc/xdg/xfce4-session/xfce4-session.rc"

Basically, that opens the file xfce4-session.rc with root rights with the text editor mousepad.

In this file, all you have to do is replace:

Client0_Command=xfwm4

…with:

Client0_Command=compiz

(Thank Ubuntuforums user sisco311 for this one)

Do note that this makes Compiz default for all users, as opposed to the previous method which made it default just for you.

Managing window decorations

It might be that you’re not always in the mood for shiny effects on your desktop – perhaps you prefer working in good old xfwm4. Fear not, as Fusion Icon is here to save the day! Fusion Icon is an application that sits in your system tray, waiting for you to right-click it. When you do, a menu will pop up so you can quickly and easily enable Compiz when your friends are watching ;-) .

You can easily install it like you would install any other application. You can then run it from Applications->System and play with it.

If you followed “the easy-but-inefficient way” above, you’ll want to follow those steps now but replace the command with fusion-icon (and perhaps the name with “Compiz Fusion Icon”) to start it by default.

If you followed the more-difficult-but-better way and want to load this by default, you also have to follow the steps described in the-easy-but-inefficient way above (though in this case there’s nothing inefficient about it), but with the command fusion-icon --no-start (and perhaps the name “Compiz Fusion Icon”).

(Thanks to Ravan)

Take it easy

CompizConfig allows you to tweak a lot of the settings, which might be a bit overwhelming. Therefore you might feel the need for some sane defaults. Luckily, CompizConfig, in the Preferences menu, allows you to import and export profiles.



As you can guess, I’ve exported mine, so go and download it and Import it!

You might also want to use different themes for your window borders (“Emerald themes”). Fortunately, Ravan provides some instructions on the installation of Emerald themes.

Troubleshooting

It might just be that it does not work for you – please say so using the comment form below, then I can share the solution with the world:

  • If you experience problems that you cannot solve using any of the methods above, you can revert back to Xfwm4. Of course, how to revert depends on the method you used. If you used the easy-but-inefficient way you can simply uncheck the checkbox before Compiz Fusion in Applications->Settings->Autostarted Applications. If you used the more-difficult-but-better way you have to open that configuration file again (gksudo "mousepad /etc/xdg/xfce4-session/xfce4-session.rc") and replace

    Client0_Command=compiz

    …with:

    Client0_Command=xfwm4

    Note that this will not uninstall Compiz – it will merely disable it.

  • If nothing happens after you have followed all the steps, it might be that you need XGL for it to work (Xubuntu by default includes AIGLX). You can simply install it using Synaptic – look for the package xserver-xgl.
  • Ivotron reports what’s happening when you do not have window borders and how to solve it:

    For those not having window decorations after following all the steps try first by removing the contents of the .cache/sessions/ folder as mentioned by Rob Hodge.

    Then, on Settings->Settings Manager->Sessions and Startup, check that ‘Automatically save session on logout’ is disabled. Also, check that if you have the ‘Prompt on Logout’ option is enabled, when you actually log out, the checkbox that appears below the ShutDown, Restart, etc.. buttons isn’t checked.

    What happens is the following. If you like (as I did) to save your session so that the next time that you log in all the programs you had running appear again, this will also include the autostarted (from the xfce4-session.rc file) compiz. Then, when you log out and log in again, the XFCE session manager will try to run compiz twice (one from the xfce4-session and another from the last session), causing (at least that’s what happens to me) that the emerald window decorator never gets started (or something alike like killed by the –replace flag).

    So, the conclusion. Follow all the steps, stop saving sessions and use the autostarted applications configuration instead.

  • If Compiz doesn’t work and you have an Nvidia graphics card, then you may need to make sure it is configured correctly. You can do so by pressing Alt+F2, typing sudo nvidia-xconfig --add-argb-glx-visuals -d 24 and pressing “Run”. With thanks to Ransom’s comment.
  • If you are left with just one desktop, you have to set the “Horizontal Virtual Size” in General Options->Desktop Size in the Cube settings.
  • Rob Hodge also had a problem:

    i couldn’t get it to work as the default setup.. it kept loading xfcewm instead of compiz or loading no window mqanager at all. so i”d sometimes be left with no decoration as the major noticable effect. this was even after changing the xfce4-session.rc file.

    He solved it by opening a terminal window (Applications->Accessories->Terminal) and typing:
    rm ~/.cache/sessions/*
    WARNING: After pressing Enter, this command will remove your saved session (i.e. the state saved if you checked “Save session” on logging out previously). If you don’t know what I’m talking about then it’s probably no problem.

  • Crewe did not have window decorations. Though the steps he took are quite complicated, and he needed to install Metacity, GNOME’s window manager, he solved his problem. I am not sure whether this will work for you, and it is probably safest to assume it won’t. For those still interested:

    A run down of what I did was first

    installed all the apps I needed:

    sudo apt-get install compiz-core compiz-plugins compiz-fusion-plugins-main compiz-fusion-plugins-extra emerald compizconfig-settings-manager

    I removed nvidia-glx / nvidia-glx-new as they directly conflicted with my nvidia drivers, and put me into “Low Graphics Mode” and caused all sorts of issues with the xserver.

    sudo apt-get remove nvidia-glx –purge
    sudo apt-get remove nvidia-glx-new –purge

    respectively.

    installed metacity:

    sudo apt-get install metacity

    restarted the computer (this is key)

    then made sure I had a fully functioning xorg.conf that I created from mish-mashing the generated
    configs from the following commands:

    sudo nvidia-xconfig
    sudo dpkg-reconfigure -phigh xserver-xorg
    nvidia-settings

    and everything was working graphically, and I was using the restricted drivers, with nothing was crashing.

    Then I added these entries to my xorg.conf

    Section “Extensions”
    Option “Composite” “Enable”
    EndSection

    and

    Option “AddARGBVisuals” “True”

    to the Device section

    I then reinstalled the nvidia drivers

    sudo nvidia-installer -f

    -f forces the install, when the install asks you if you want it to generate and xorg for you SAY NO! (You just spent a lot of time creating a working one)

    then restarted the computer again.

    it’s still a bit finicky as I had to run it twice to get it to work, and afterwards I can’t switch back to xfwm4 but it’s I small price to pay.

    UPDATE: I’ve since uninstalled metacity, and everything seems to be working great

Of course, you can always read the comments for this post to read everybody’s problems/solutions or general tips.

That’s all folks!

Just because Xubuntu is speedy doesn’t mean it should not look pretty. With the release of 7.10, finally Compiz is no longer exclusively Ubuntu’s. Enjoy the looks!

About these ads

291 Responses to “Xubuntu + Compiz = Pretty pretty Xubuntu”


  1. 1 Jos 9 December 2007 at 9:49 pm

    Nice screenshots! ;-)

  2. 2 Papa 9 December 2007 at 10:26 pm

    Nice article Vincent !!

    Papa

  3. 3 hecatae 10 December 2007 at 10:19 pm

    thanks for the profile to import, made setting up my fresh install a breeze, and I no longer need to install gnome for compiz.

  4. 4 xubuntu 11 December 2007 at 3:05 am

    Stop teasing me :(

    Some of us have SIS cards…

  5. 5 iomicifikko 11 December 2007 at 3:11 am

    Hi thanks for this guide. I followed it step by step (well, it is easy) and i can get all the stuff working properly only using emerald window decorator. If i try to use the default xfwm4 (i’d prefer it) compiz starts but no windows dec loads. Any idea? Thanks (are u using compiz or the default composite options in the pictures with the default xubuntu theme?)

  6. 6 Vincent 11 December 2007 at 12:39 pm

    iomicifikko, I use Emerald (use another theme now, though). I’ve ran xfwm4 in my sister’s account though, that worked fine. Have you set xfwm4 in CompizConfig? Also, if you open a terminal window and type “xfwm4″, does that display any errors?
    (If you use IRC, you can also try to ask for help in #xubuntu on FreeNode… Need to do a post on that too ;) )

  7. 7 sy 11 December 2007 at 9:36 pm

    Hi, I did everything and I still do not see any effects. I am using an Intel card if that helps.

    Thanks

  8. 8 Vincent 11 December 2007 at 9:41 pm

    sy, could you open a terminal window (Applications->Accessories->Terminal), type compiz --replace, press enter and then paste here what you got?

  9. 9 sy 11 December 2007 at 9:44 pm

    This is what I got

    Checking for Xgl: not present.
    Blacklisted PCIID ’8086:2a02′ found
    aborting and using fallback: /usr/bin/metacity
    no /usr/bin/metacity found, exiting

  10. 10 Vincent 11 December 2007 at 9:52 pm

    sy, ah, if your card is supported it apparently needs Xgl to be able to run Compiz. I think you can follow this guide for that. For the section where it has a few lines you can copy and paste for Gnome and KDE, the Xfce lines would be:

    #!/bin/sh (-)
    Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
    DISPLAY=:1
    dbus-launch --exit-with-session xfce4-session

  11. 11 sy 11 December 2007 at 9:55 pm

    Thanks a lot for the quick response!! I will try it now and post if everything went well.

    ( ^__^ ) Oh, and very nice article!

  12. 12 sy 11 December 2007 at 10:02 pm

    Thanks a lot again Vincent. All I had to do was install XGL with the command

    sudo apt-get install xserver-xgl

    And it worked perfectly.

    I am hoping to see more articles from you!

  13. 13 Vincent 11 December 2007 at 10:04 pm

    Thanks a lot for the quick response!! – that’s just because I happened to be online ;)

    Great that it worked, and thank you for sharing your result – I’ve added it to the article :)

  14. 14 sy 11 December 2007 at 10:08 pm

    Hahaha, well I guess I am lucky that you happened to be on.

  15. 15 Craig 11 December 2007 at 10:58 pm

    I see you have avant working, my install on xubuntu wont work properly. I just cant seem to add any launchers to it nothing works, i cant drag and drop or use the menu. I’d LOVE to get this working properly just to finish off the eyecandy fest that is xubuntu with compiz. Any help would be appreciated.

    thanks

    Craig

  16. 16 Vincent 11 December 2007 at 11:06 pm

    Craig, I’ve already removed AWN because it was getting too annoying, but anyway…

    I had it working by just installing the package from the Ubuntu repositories, but I later installed the development version of AWN which included many more plugins. You might try that and see if it works.
    (Note: I could drag and drop by opening Thunar, browsing to /usr/share/applications/ and then dragging the application icons from there onto AWN. It’s Xfce that lacks drag-and-drop support from/to the menu and panels.)

  17. 17 Craig 12 December 2007 at 6:10 pm

    Your tip worked a treat, i can see why you dumped it though, it is still a bit ‘glitchy’ half the plaugins dont work properly, but so far its doing what i wasnt it to do. Are there any alternatives that run smoother? Having a dock at the bottom of my screen looks so much better than a boring task bar :).

    Thanks for all the help,

    Craig

  18. 18 Vincent 12 December 2007 at 6:23 pm

    Well, admittedly, it didn’t really run that glitchy with me, it was just unpractical – took up too much space and autohide was annoying. Furthermore, I found it hard to recognise my individual windows – I guess I’m just used more to text.

    Anyway, as for alternatives, I haven’t really investigated it. I believe there were Cairo Dock and probably some Gdesklets.

  19. 19 Craig 12 December 2007 at 8:07 pm

    I find that quite a few of the plugins don’t work properly, such as the gmail one, just shows a white line where the icon should be. Also when opening a new window often some of the icons corrupt, only to fix itself 10 seconds or so later.

    Craig

  20. 20 Vincent 12 December 2007 at 8:42 pm

    Ah, yes, now that you mention it – I experienced that too. I suppose the plugins you see in the screenshot are mainly those that did work, but there were a few other ones I’d have liked to use but didn’t work. Ah well…

  21. 21 Ransom 12 December 2007 at 11:36 pm

    Good guide, I would add the following line for nvidia users to your instructions

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

    I needed this before it would accelerate using my video card

  22. 22 Vincent 13 December 2007 at 10:49 am

    Ransom, I would add it but I want to know exactly what it does and why you needed to do that before I recommend it to my readers (wow, that sounds good ;) ). So, could you tell me what it does and why you need to do it? Thanks in advance.

  23. 23 Blaine 13 December 2007 at 12:25 pm

    Where did you get the mac os leopard look alike dock? Is that part of Compiz?

    thanks in advance

  24. 24 Vincent 13 December 2007 at 12:28 pm

    That’s Avant Window Navigator (see Craig’s comment and the replies to it). You can run it if you run Compiz, it is available through Synaptic.

  25. 25 Ransom 13 December 2007 at 3:46 pm

    Basically what it does is add the line

    Option “AddARGBGLXVisuals” “True”

    to you xorg.conf. I found this command on the other guide that you linked to. Also, in the comment, the dashdash got converted to a long dash. And the -d 24 argument isn’t really necessary.

    Ransom

  26. 26 Vincent 13 December 2007 at 3:57 pm

    Thanks Ransom, I’m adding it in a sec. :)

  27. 27 yvan 14 December 2007 at 10:02 am

    Hello,

    Thank you very much for this tutorial.
    Just have two little problems, firefox and thunderbird are just two big black windows. Firefox when run in safe mode is ok. Do you know how to make these two visible?
    Thanks

  28. 28 yvan 14 December 2007 at 10:18 am

    indeed several others applications are just all black. Geany, gedit, evince….

  29. 29 Vincent 14 December 2007 at 12:45 pm

    yvan, it’s the notorious Black Window Bug. Seems that a newer Nvidia driver would be able to fix this a little bit (as in: make it happen less frequently) but that still wouldn’t help you get rid of it.
    I experience the problem myself, too, though not that often. I can make the contents of the window visible again by resizing it (sometimes I have to try multiple times to find the right size) but it’s far from ideal.

  30. 30 marianne 15 December 2007 at 4:38 pm

    Hi,

    Thanks for the great instructions — works fine for me on Xubuntu Gutsy.

    However, one problem: using Compiz, new windows sometimes open below the current one (not all the time, but I haven’t figured out the pattern). Does anyone know how to fix this? i.e., new windows should always open on top.

    Most annoying is that this happens for the Xfce panel timer applet — the “Beep! Time’s up” alert window appears below all other windows (it used to open nicely on top under xfwm4).

  31. 31 Vincent 16 December 2007 at 11:48 am

    marianne, I had the same problem but I’ve found a solution. In Applications->Settings->Advanced Desktop Effects Settings, you click General Options, then you open the tab Focus & Raise Behaviour where you see the value for Focus Prevention Windows set to any. Empty that field to make sure all windows can get on top when created.

  32. 32 marianne 17 December 2007 at 1:59 pm

    Vincent — Great, thanks! Problem solved.

  33. 33 yvan 18 December 2007 at 12:11 am

    Hello,

    Thanks for the hint but I gave up! For me it’s either the black or the white window bug.
    Thanks anyway for the help
    Cheers,
    yvan

  34. 34 Ransom 19 December 2007 at 6:08 pm

    Two more things that helped me that might be nvidia specific

    I had better luck / performance running compiz as follows (I had sabayon running on a different partition which used this command so I’m not sure exactly what the options do)

    compiz –replace –sm-disable –ignore-desktop-hints ccp

    Also, compiz leaked memory horribly until I updated to the nvidia beta driver (169 something). After switching it seems to have stabalized to 140 resident megs of memory.

    Finally, I suggest everyone try shift switcher, it’s the one thing in compiz that actually has made me more productive.

  35. 35 bartek 28 December 2007 at 10:47 am

    Very nice How To.

    Good work Vincent.

  36. 36 craig 30 December 2007 at 5:08 pm

    I was given an older laptop and have Xubuntu up and running, but am getting the same error as has been mentioned: XGL not found. I’ve gotten it through apt, but still get that XGL isn’t found. I’m not sure what my graphics card is, either, since it’s a hand-me-down.
    Also, whenever I open a new window it’s slightly above the screen, so I can’t move it around. Thanks for the tutorial, btw.

  37. 37 Vincent 31 December 2007 at 3:04 pm

    craig, the only thing I can advise is to double-check whether you really have xserver-xgl installed. As for the weird placement of new windows: when you press Alt and then click a window you can drag it around. I suppose if you close the window in the right position then it will open in that same position next time.

  38. 38 hecatae 22 January 2008 at 7:51 pm

    really dont know what I’m doing wrong.

    compiz refuses to acknowledge I’ve saved my settings, I reboot and lose headers and titles and the window spaces drops down to 1 not 4.

    given up for the time being and gone back to xfwm4 which is lovely and snappy.

  39. 39 swiftfox 23 January 2008 at 12:09 am

    Thanx for the great howto! But in fact I have exactly the same problem as Hecatae. If I start compiz in a terminal it works fine again, just doesn’t start automaticly. Weird …

  40. 40 swiftfox 23 January 2008 at 12:18 am

    Sorry, forgot to mention that I use the “The more-difficult-but-better way” … I guess it’s not that unimportant :-D

  41. 41 potatofield 27 January 2008 at 10:01 pm

    i also have the same problem as hecatae. i can’t move the windows and there is only one desktop.

    but how can i get it back to how it was? xfwm4 insted of compiz?

  42. 42 Vincent 27 January 2008 at 10:10 pm

    @hecatae, swiftfox & potatofield – sorry, I really have no idea what the problem is and why, so all of a sudden, so many people experience this problem. I can only guess that this is a bug with the Compiz package in Ubuntu and can only suggest that you report a bug (perhaps it’s even already been reported) – there are a lot of knowledgeable people there that might be able to help you.

    However, I don’t get why I do not experience this problem myself (I also used the more-difficult-but-better way).

    Good luck with solving the problem,

    Vincent

  43. 43 potatofield 27 January 2008 at 10:39 pm

    ok thank you.. but it look like @hecatae had a way to go back to xfwm4. how can i do that?

  44. 44 Vincent 27 January 2008 at 10:48 pm

    @potatofield – that depends on the method you used. If you used the easy-but-inefficient way you can simply uncheck the checkbox before Compiz Fusion in Applications->Settings->Autostarted Applications. If you used the more-difficult-but-better way you have to open that configuration file again (gksudo "mousepad /etc/xdg/xfce4-session/xfce4-session.rc") and replace

    Client0_Command=compiz

    …with:

    Client0_Command=xfwm4

  45. 45 potatofield 27 January 2008 at 10:53 pm

    i dint di neigther of them, thats whats so wierd. i just did this: “press Alt+F2, enter compiz –replace”. i have rebooted my computer, but it did’nt help.

  46. 46 potatofield 27 January 2008 at 11:00 pm

    sorry a litttle bad whriting. but i have not done anything to make it default.. so i don’t understand whats happening. thanks for the help anyways :)

  47. 47 Vincent 27 January 2008 at 11:11 pm

    @potatofield – ah, I see what’s happening. You probably have checked “Save session for future logins” when logging out, don’t you?

    If you do, you can delete the sessions and start with a clean one (this means that, next time you log in, your applications won’t be started automatically anymore).

    In order to clear your sessions, open Applications->Accessories->Thunar File Manager, press Ctrl+L and enter the location ~/.cache/. In there, delete the sessions folder, then logout and log back in again. That should do the trick :)

    If it doesn’t work, be sure to check back here in a day or two because it’s late here in The Netherlands and I’m off to bed ;)

  48. 48 Triscal 28 January 2008 at 6:30 am

    I have it all installed and I cannot find anything I did wrong

    but any time I type in compiz --replace all the title bars and edges disapear so i can’t move it or select another application. so I turn it back to xfwm4 and it runs and everything returns what am I doing wrong

    I am using emerald and anytime I type in compiz --replace in a terminal I get this

    Checking for Xgl: not present.
    Detected PCI ID for VGA: 00:02.0 0300: 8086:2592 (rev 03) (prog-if 00 [VGA])
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
    Checking for nVidia: not present.
    Checking for FBConfig: present.
    Checking for Xgl: not present.
    Starting emerald

    (emerald:8539): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8

    /usr/bin/compiz.real (core) - Fatal: No GLXFBConfig for default depth, this isn't going to work.
    /usr/bin/compiz.real (core) - Error: Failed to manage screen: 0
    /usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0
    exec: 378: /usr/bin/metacity: not found

    if you could help in any way I would really appreciate it I want compiz working

  49. 49 potatofield 28 January 2008 at 11:56 am

    In order to clear your sessions, open Applications->Accessories->Thunar File Manager, press Ctrl+L and enter the location ~/.cache/. In there, delete the sessions folder, then logout and log back in again. That should do the trick

    i can’t wirte “~” wheni run linux on my pc, and it doenst work to copy and paste. isd there a other way to get to the sessions folder?

  50. 50 potatofield 28 January 2008 at 2:48 pm

    ok.. here is my problem /( i think) I have messed up the xfwm4. i can’t minimize, or move any of my windows, and i saved the session so that it was the same after i restarted my computer. so i need a way to delete my sessions. i can’t do it this way:

    In order to clear your sessions, open Applications->Accessories->Thunar File Manager, press Ctrl+L and enter the location ~/.cache/. In there, delete the sessions folder, then logout and log back in again. That should do the trick

    beacuse i’m unable to whrite “~” on my computer and i can’t copy from firefox and paste in the file manager.

    so what i need is another way to delete my previos sessions..

    anyone?

  51. 51 Vincent 28 January 2008 at 3:52 pm

    @potatofield – the ~ points to your home directory. Alternatively, you can also write /home/potatofield/.cache/ (that is assuming your username is potatofield, if not, replace it with your actual username).

    @Triscal – the Compiz community is probably able to help you better than I am, but what happens if you type emerald --replace after you started Compiz?

  52. 52 Triscal 28 January 2008 at 4:16 pm

    I reboot the computer a few times and did emerald –replace and now it is working perfectly thank you so much

  53. 53 potatofield 28 January 2008 at 7:15 pm

    well now it all fine again:) thank you :D i’ll try to get compiz some other time..

  54. 54 hecatae 28 January 2008 at 7:23 pm

    Might try again, just done a fresh install of 6.06 yesterday and dist-upgrade all the way to 7.10.

    System is far faster than a fresh install of 7.10, seems tweaked to my system.

  55. 55 Swiftfox 31 January 2008 at 2:25 am

    Thank you, Vincent, for helping! I’m a bit busy these days and late with the thanx … and even more with trying things out :-D

  56. 56 newby_l 1 February 2008 at 9:48 pm

    xbuntu version?

  57. 57 Vincent 2 February 2008 at 11:48 am

    @newby_l: as I mention right at the beginning of the article:

    With the release of Xubuntu 7.10 “Gutsy Gibbon”

    Also, I always tag my posts with the version of Xubuntu it applies to.

  58. 58 Eddie W 7 February 2008 at 4:45 am

    Thanks for the article. I’m having an issue getting this to work, however. I have installed the xgl server, but get this response in my terminal:
    Checking for Xgl: not present.
    No whitelisted driver found
    aborting and using fallback: /usr/bin/metacity
    no /usr/bin/metacity found, exiting

    I know that this should work because it was working when I had Ubuntu installed on my laptop (Ubuntu ran too slow so I switched to Xubuntu). Any help would be greatly appreciated.

  59. 59 Eddie W 7 February 2008 at 9:54 pm

    Wow, I thought this would be a simple question. Turns out to be quite complicated trying to get direct rendering running on my system. I’ll just post the ubuntu forum thread to keep this from being a lengthy post. Any gurus out there who want a challenge?
    http://ubuntuforums.org/showthread.php?t=690531
    And, if you’re having problems getting this to work on a fresh Xubuntu install, you might want to check to make sure that direct rendering has been enabled.

  60. 60 joda 10 February 2008 at 3:06 pm

    hello i tried your tutorial on my eee, and installment of all packages was really good, very nice. only thing is now that when i run “compiz –replace” that windows loose their decor. i can though revert to “xwfm4″. Im not sure if i have xgl, cant see it in my system, cant search for it either (it doesnt appear).

    do you know what i can do? without me killing xubuntu. Thanks.

    PS: i run the eeexubuntu (gnome i assume). And yes im a newbie, but learning fast.

  61. 61 Vincent 10 February 2008 at 3:19 pm

    @joda – Triscal (above) had that problem too, it should be solved by entering emerald --replace in a terminal window. :)

    eeeXubuntu is Xubuntu, which uses Xfce, not GNOME ;)

  62. 62 joda 10 February 2008 at 6:59 pm

    ok. But can i revert from emerald by doing the xwfm4 again. Im curious what emerald really does.

    I just assumed it was gnome since it said gnome in the system monitors.

    thanks. i try and then post back.

  63. 63 joda 10 February 2008 at 7:00 pm

    it didnt really do anything? hmmm

  64. 64 Vincent 10 February 2008 at 7:05 pm

    Didn’t it? Hmm… When you open up a terminal window (Applications->Accessories->Terminal</code) and enter emerald --replace in there, what do you get?

    Emerald "draws" the window borders around your windows, just like xfwm4 does. You can't run xfwm4 on top of Compiz though.

    The system monitor was written for GNOME, and thus has GNOME in the name. However, it can just as well be used in Xfce, and because it offers a lot of functionality, the Xubuntu developers decided to add it.

  65. 65 joda 10 February 2008 at 7:31 pm

    i get this in terminal-

    “(emerald:5232): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8″

    Sounds kinda creepy.

  66. 66 Vincent 10 February 2008 at 10:01 pm

    It does indeed, and I’m afraid I have no idea how to solve it, sorry :(

  67. 67 joda 10 February 2008 at 10:36 pm

    ok. been toying a bit. apparently i lacked xgl. i have that now, and the error from before is gone. though now when i do compiz –replace, compiz engages. after that i do emerald, it does not engage.

    i tried rebooting doing compiz again. and i got this “/usr/bin/compiz.real (video) – Warn: No 8 bit GLX pixmap format, disabling YV12 image format”

  68. 68 Vincent 10 February 2008 at 10:52 pm

    joda, a quick search on the internet returns a few results suggesting traces of previous installations may be the troublemakers. Have you tried to install Compiz or Beryl before?

  69. 69 joda 10 February 2008 at 11:22 pm

    No. but i would like to believe my constant attempts of replacing this and that, could have made it seem like that. Anyhow, got it to work a brief moment now, but everywhere i clicked in the advanced desktop settings was off all the time. Also i suddenly got a crooked line thru my screen on fast moves (bottom left to top right). As it seemed that brief moment (which i cannot provoke back again) wasnt really worth it. A shame, really wanted the wall desktop and the scaling windows (basically it).

  70. 70 joda 11 February 2008 at 8:47 pm

    YEAHIIII… it works now. And it kicks ass.

  71. 71 Vincent 11 February 2008 at 8:49 pm

    Yay! Very happy to hear that – what have you done to make it work?

  72. 72 David 12 February 2008 at 12:00 pm

    Hi, to make compiz the default I used the xfce4-session method (the more-dififcult-but-better way), and it works fine as long as I don’t save the session at logout (i.e. the tickbox in the shutdown prompt).

    If I save session at logout, next time that I start my system, compiz will not start, and fcwm4 won’t start either; the result is that there is no window frames or title.

    Has this hapenend to any of you? does compiz fail to start if you save session? I’d like to confirm that it’s not only me. (I use Xubuntu 7.10)

    I think there is another method to make compiz default (not using xfce-session), I can’t find it again, if anyone knows the link I’d appreciate it.

    thanks

  73. 73 Vincent 12 February 2008 at 3:44 pm

    David, now that you mention it – my sister has this issue, and she does save her session on logout. I just had never realized that to be the cause. Unfortunately, I do not know of a solution, but I set her window manager to Xfwm4 so she still has the effects, just without the transparent window borders.

  74. 74 crewe 15 February 2008 at 11:20 am

    I’ve installed all that I’ve needed, including XGL and reinstalled my nvidia driver and updated the xorg.conf file. But regardless of all of this I still get no window decorations.

    I’ve started a new session, checked out my xfwm-session.rc, nothing is in my auto-started apps, but when I do log in I initially get no decorations, and I’m always having to run xfwm4 –replace

    I’ve read many walkthroughs yours being the best by far, but I’m thinking it might be my dual monitor setup that’s causing it not to work…

    here’s what I get at the terminal:

    compiz –replace
    Checking for Xgl: present.
    Checking for nVidia: not present.
    Checking for Xgl: present.
    Starting emerald

    (emerald:14169): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8

    /usr/bin/compiz.real (core) – Error: Could not acquire compositing manager selection on screen 0 display “:1.0″
    /usr/bin/compiz.real (core) – Fatal: No manageable screens found on display :1.0
    exec: 378: /usr/bin/metacity: not found

  75. 75 Vincent 15 February 2008 at 3:23 pm

    crewe, judging by your terminal output it is indeed a problem with your dual-monitor setup, unfortunately, not having such a setup myself, I have no idea how to help you.

  76. 76 crewe 15 February 2008 at 8:04 pm

    Alright, I’ll see what I can find on the forums, if I can somehow get this to work, I’ll be one of the few with dual screen and compiz.

  77. 77 Vincent 15 February 2008 at 8:59 pm

    If you do find a solution, be sure to leave another comment so I can add it to the troubleshooting section. It might help other people too :)

  78. 78 zymjh 16 February 2008 at 8:08 am

    I too am having the same problem, I have however been working on this dual monitor and compiz problem for quite some time. If you do find a solution let us know. I could use the help.

  79. 79 crewe 18 February 2008 at 9:14 am

    @zymjh are you using an nvidia or ati card? and is it PCIE?

  80. 80 crewe 18 February 2008 at 9:21 am

    I actually forgot to mention something on the last post but I can’t exactly delete it :P but I’ve been messing around with my xorg.conf file, and I’ve also tried installing nvidia-glx-new to see what might come of it but now, I can’t get into my account without the sever crashing as it were.

    The login screen is fine, I log in, on any account btw, and I get the default desktop background for say… 10 second, and then I’m booted back out to the login screen, any clues? I’ve already removed the saved session files.

  81. 81 crewe 21 February 2008 at 11:30 pm

    I GOT IT!
    added some lines to my xorg.conf and it’s working now, though it needs a little work to get started. but I managed to do it.
    here’s the thread
    http://ubuntuforums.org/showthread.php?t=703511

  82. 82 Vincent 21 February 2008 at 11:36 pm

    crewe, that’s awesome, congratulations! What exactly is the solution in that thread? I’m off to bed now, but I’ll be sure to add it to the post tomorrow (Dutch time) :)

  83. 83 crewe 22 February 2008 at 12:40 am

    A run down of what I did was first

    installed all the apps I needed:

    sudo apt-get install compiz-core compiz-plugins compiz-fusion-plugins-main compiz-fusion-plugins-extra emerald compizconfig-settings-manager

    I removed nvidia-glx / nvidia-glx-new as they directly conflicted with my nvidia drivers, and put me into “Low Graphics Mode” and caused all sorts of issues with the xserver.

    sudo apt-get remove nvidia-glx –purge
    sudo apt-get remove nvidia-glx-new –purge

    respectively.

    restarted the computer (this is key)

    then made sure I had a fully functioning xorg.conf that I created from mish-mashing the generated
    configs from the following commands:

    sudo nvidia-xconfig
    sudo dpkg-reconfigure -phigh xserver-xorg
    nvidia-settings

    and everything was working graphically, and I was using the restricted drivers, with nothing was crashing.

    Then I added these entries to my xorg.conf

    Section “Extensions”
    Option “Composite” “Enable”
    EndSection

    and

    Option “AddARGBVisuals” “True”

    to the Device section

    I then reinstalled the nvidia drivers

    sudo nvidia-installer -f

    -f forces the install, when the install asks you if you want it to generate and xorg for you SAY NO! (You just spent a lot of time creating a working one)

    then restarted the computer again.

    it’s still a bit finicky as I had to run it twice to get it to work, and afterwards I can’t switch back to xfwm4 but it’s I small price to pay.

  84. 84 crewe 22 February 2008 at 12:46 am

    OH! almost slipped my mind I had to install metacity as well, I ran
    compiz –replace in the terminal and it said that it was looking for it, so I installed it after removing the nvidia-glx

  85. 85 Vincent 22 February 2008 at 11:17 am

    Thanks, crewe, I added it :)
    Too bad you had to install Metacity, though…

  86. 86 crewe 24 February 2008 at 3:16 pm

    UPDATE: I’ve since uninstalled metacity, and everything seems to be working great

  87. 87 John Shewsbury 25 February 2008 at 12:01 pm

    Can this be done on the low spec laptop like Eee-PC ?

    Do you think the Eee-PC (with the basic Celeron 900/ 512MB RAM) can afford this ?

    Thanks…

  88. 88 Vincent 25 February 2008 at 12:09 pm

    John, it has been done on the EeePC, so I’d say: go for it! :) I’m running a 512 MB+AMD Athlon XP 2200+ system myself and it works fine.
    (Reading through that page, you do seem to need to install libgl1-mesa-dri in advance, which you can just do through Synaptic)

  89. 89 ldp 27 February 2008 at 9:07 pm

    It works for me on Kubuntu without XGL, but not in Xubuntu.
    When I run compiz –replace, The window pane dissapears and the desktop becomes inactive. The only way for me to restore it is by runnig xfwm 4 &

    I have an intel card

  90. 90 Ace 29 February 2008 at 7:11 am

    I am having the exact same problem as the above poster is having

  91. 91 Stephen 5 March 2008 at 1:23 am

    I have the same problem the last 2 people above me had.. with an intel card.. when i run “compiz –replace” (i even tried it in the console), it removes the windows borders and I have to type xfwm4 to get back control.. It says I dont have XGL installed, but i installed xserver-xgl package.. it’s there. here’s what it outputs in the terminal when i try the compiz –replace:

    Checking for Xgl: not present.
    Detected PCI ID for VGA: 00:02.0 0300: 8086:2772 (rev 02) (prog-if 00 [VGA])
    Checking for texture_from_pixmap: not present.
    Trying again with indirect rendering:
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1280×1024) to maximum 3D texture size (2048): Passed.
    Checking for nVidia: not present.
    Checking for FBConfig: present.
    Checking for Xgl: not present.
    Starting emerald

    (emerald:6684): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8

    /usr/bin/compiz.real (core) – Fatal: No GLXFBConfig for default depth, this isn’t going to work.
    /usr/bin/compiz.real (core) – Error: Failed to manage screen: 0
    /usr/bin/compiz.real (core) – Fatal: No manageable screens found on display :0.0
    exec: 378: /usr/bin/metacity: not found

  92. 92 Vincent 5 March 2008 at 8:51 am

    @ldp, Ace and Stephen – I’m sorry, I’m really frustrated that I can’t help… What I would recommend is to report a bug on Launchpad (and link to it here). If it’s a bug it might get fixed, if not people there might be able to help you.

  93. 93 bra333 5 March 2008 at 9:56 am

    I decided to try xubuntu and compiz, installed xubuntu, installed compiz, installed nvidia-glx, replaced xfwm4 with compiz, used the sudo nvidia-xconfig –add-argb-glx-visuals -d 24 and restarted the pc….
    starts compis fizion, but I do not get cube (I get 2 sided flat spin), window border disapeared(emerald or emerald –replace – nothing happens), try to start terminal I got white screen, when I try to shutdown pc it takes time (3/4 minutes) untill I can see shutdown option.
    other thing I miss in this compiz fusion is the plugin rise above window, I have it on my other pc but it is puppy distro. How can I add extra plugins for compiz?

    any idea how to fix all these problems

    thanks in advance

  94. 94 Vincent 5 March 2008 at 3:30 pm

    bra333, you can configure a lot with CompizConfig, and I could make a very long comment explaining how to. You can certainly use it to enable “the Cube” – see also its wiki page for help on enabling all the plugins you like.

    As for your other problems – I’m sorry, they appear to be bugs (have you installed emerald?) with which I’m not sure I can help you :(

  95. 95 bra333 5 March 2008 at 7:03 pm

    emerald is downloaded, the cube is enabled but I have only 1 flat spinning desktop not a cube, I have another desktop pc with wNOP and I know how to use compiz and all the plugins and keybindings.
    thanks for the try,
    I will give I try with tux repositary and get compiz from there…

  96. 96 Vincent 5 March 2008 at 7:14 pm

    Ah, then you have to set the “Horizontal Virtual Size” (or something like that – I’m not at a computer using Compiz atm) in General Options->Desktop Size in the Cube settings.

    If you mean the Trevino repository then I wouldn’t recommend that as the official repository is bound to be far more stable. Plus, pulling Compiz from another source isn’t going to change your personal settings.

  97. 97 nicholas 7 March 2008 at 3:51 am

    nchung66@nchung66-laptop:~$ compiz –replace
    Checking for Xgl: present.
    Checking for nVidia: not present.
    Checking for Xgl: present.
    Starting emerald
    /usr/bin/compiz.real (core) – Error: Could not acquire compositing manager selection on screen 0 display “:1.0″
    /usr/bin/compiz.real (core) – Fatal: No manageable screens found on display :1.0
    exec: 378: /usr/bin/metacity: not found

    how do i install nvidia?

    also everytime i scroll and stuff it lags… what do i do?

  98. 98 Vincent 7 March 2008 at 8:51 am

    nicholas, that means that you might have to install the official driver for your graphics card. While this will make your desktop experience much smoother, be aware that this driver is not open source. If you don’t mind, open Applications->System->Restricted Drivers Manager and check the checkbox next to the driver for your card (probably from nVidia). It will then download and install it, and activate it after you have rebooted your computer.

    Best of luck :)

  99. 99 nicholas 7 March 2008 at 9:43 am

    hey, i tried that and the only drivers i see are software modem driver and firmware for broadcom 43xx, both of which were already enabled…

    does this mean my computer doesnt recognize my video card? i think its an integrated video card…

  100. 100 Vincent 7 March 2008 at 9:49 am

    Hmm… If you have an integrated video card, then I think it might be that your card does not support hardware acceleration, which Compiz depends on. Sorry :(

    If you do want fancy desktop effects, what you might try is enabling Xfce’s native effects through Applications->Settings->Window Manager Tweaks, below the Compositing tab. While it doesn’t all of the effects Compiz has to offer, it can add a very nice touch to your desktop. Note that, if your video card does not support hardware acceleration, this might result in a performance drop, but if that’s the case, you can always turn it off again :)

  101. 101 nicholas 7 March 2008 at 9:57 am

    hey, how do i check if my gateway 6020gz supports hardware acceleration? and if it does, how do i enable it?

    well, thanks so much for the help! the truth hurts sometimes

  102. 102 Vincent 7 March 2008 at 10:03 am

    I’m sorry, I wouldn’t know how to check whether it supports it. If it does, then apparently it isn’t recognised and thus would probably be a lot of trouble to enable.

    And yes, the truth sucks now and then. Hate to be the messenger :(

  103. 103 bra333 7 March 2008 at 6:42 pm

    Thanks Vincent, it was really horizontal virtual size setting …
    other thing I miss is rise above desktop plugin bur will see ….any idea how to add it …. here is a video on my other compiz and as can see the windows are avove the desktop….http://www.youtube.com/watch?v=VMwNFytakiI
    I will appreciate if you know how to fix that also

    cheers

  104. 104 Vincent 7 March 2008 at 8:39 pm

    You can have the windows be lifted of the desktop when rotating the cube by checking Raise on rotate under Rotate Cube. :)

  105. 105 Ace 10 March 2008 at 6:49 am

    Hi.I have enabled compositing and now the program windows are sluggish when dragged around.I have onboard intel graphics with 64 mb.Is that the problem?.Will upgrading to a powerful card make compositing smoother?.What graphics card would you recommend?

  106. 106 Vincent 10 March 2008 at 2:17 pm

    Yep, that definitely sounds like an underpowered graphics card. Unfortunately, that’s about all I can say about it, as I’m really not into hardware. Intel is supposed to work good with open source and ATI has been making strides recently with publishing open source drivers. nVidia has always supported Linux, but with closed source drivers.
    Still, I recommend you to ask it over at the Ubuntu Forums, as I’m sure there will be plenty of people there to help you. In fact, it has probably already been asked a gazillion times, so a quick search should bring it up :)

  107. 107 Ace 13 March 2008 at 1:08 pm

    Thanks for reply.I will buy a more powerful graphics card.So that the compositing will be trouble free right?.Or is the sluggish performance related to something else?

  108. 108 Vincent 13 March 2008 at 5:58 pm

    Ace, I think it is, but you should really ask a hardware guru, as I’m definitely not qualified to be giving you advice on buying hardware. I’d recommend the Ubuntu forums as a place to ask.

  109. 109 eviirthaang 24 March 2008 at 2:45 pm

    Hi Vincent,

    I am curious how you got Compiz/Compiz-Fusion to run with xfwm4 as the decorator… I tried and failed. I ABSOLUTELY LOVE MurrinaStormCloud and the xfce-4.5-svn xfwm4 decorator theme, but I would like to run it with Compiz.

    Any thoughts? How did you get it to work on your sister’s laptop?

    Best,
    eviirthaang.

  110. 110 Vincent 24 March 2008 at 2:50 pm

    Well, eviirthaang, I didn’t really do that quite consciously. In the Compiz settings manager, I set xfwm4 as the fallback window manager. Now she did something which prevented Emerald from running in her account (which I coincidentally fixed this morning), and I guess that’s what made Compiz run xfwm4.
    If you also want to run xfwm4, what you *could* do is uninstall Emerald after you set xfwm4 as the fallback window manager. Emerald should then not be able to run and xfwm4 should be ran instead.
    Good luck,

    Vincent

  111. 111 StAR 6 April 2008 at 8:44 pm

    I set it up om my Eee pc that has eeexubuntu, and it killed my multi desktop, and it also took out all the tool bars, I got them from the Synaptic Package Manager and then hit the alt+f2 and put in the compiz –replace that is when it bugged up. I know it can be done on the eeepc one of my friends has one with them all set up. Please help me fix this I like having the four desktops rather then just the one.

  112. 112 Vincent 6 April 2008 at 8:50 pm

    StAR, I’ve just added the following to the post:

    If you are left with just one desktop, you have to set the “Horizontal Virtual Size” in General Options->Desktop Size in the Cube settings.

    What exactly do you mean by the tool bars? If you mean the panels at the top and bottom of your screen, try pressing Alt+F2 and running xfce4-panel.

  113. 113 StAR 6 April 2008 at 10:50 pm

    how do I go about disabling the whole thing?

  114. 114 StAR 7 April 2008 at 2:28 am

    I am unable to move the windows on my Eee pc. I am also unable to use the alt+left click to move windows, I also can to maximize windows, minimize windows, or even close them.

  115. 115 Vincent 7 April 2008 at 1:36 pm

    The method to disable it depends on how you enabled it. If you used the easy-but-inefficient way then you can simply open Application->Settings->Autostarted Applications and uncheck Compiz’s entry.
    If you used the more-difficult-but-better way then you need to run gksudo "mousepad /etc/xdg/xfce4-session/xfce4-session.rc" again and replace Client0_Command=compiz with Client0_Command=xfwm4.

    As for your window management problems: I’m sorry, I really wouldn’t know what causes that. Can you see the window borders? If not, try running emerald --replace.

  116. 116 Erik 8 April 2008 at 11:18 am

    Thanks for the how-to and thanks for the profile. I’ve never seen a desktop as spiffy!

  117. 118 euripyd 10 April 2008 at 6:21 pm

    Hello
    Nice tutorial!!!
    But as the post before, I have lost all my buttons like “x” – close, or maximize, collapse. I can’t drag my windows, there is not the “container” of the windows at all….

    Any idea????

  118. 119 Vincent 11 April 2008 at 1:21 pm

    euripyd, try pressing Alt+F2 and running emerald --replace. (As I replied before ;) )

  119. 120 euripyd 13 April 2008 at 12:13 am

    Thanks.
    Actually I have solved it by auto starting compiz at startup, by default.

    Only one thing:
    How can I disable completely emerald and compiz, and to have xubuntu as it is after installation? What comands?

    Good luck with blog XUBUNTU: it is one I like and need a lot!!!!
    Cheers

  120. 121 StAR 14 April 2008 at 8:18 am

    Sorry to bug you once again, but do you know if there is a way that I would be able to install compiz on to my sd card. I am running eeeXubuntu on a 2gb Eee pc… Mostly I would like to have the desktop cube, or a atleast would you know on the space it would take to install?

  121. 122 Vincent 14 April 2008 at 2:42 pm

    @euripyd – if you want to disable it you’d have to remove it from the autostarted applications just like you added it before. Alternatively, you could completely uninstall Compiz.

    @StAR – if you can install other applications to your SD card I suppose you can use the same way to install Compiz there. I’m not sure what exactly you mean by “installing to an SD card”, perhaps you could elaborate on that.

  122. 123 StAR 15 April 2008 at 5:46 am

    I am able to install .Deb files to my SD card, I really don’t understand on what you are not understanding about installing to a sd card. Un-less you are unsure what a sd card is… If so a sd card is like a flash card for a camera The only way I could think of doing it is going in and telling the computer that my sd card slot and my sd card is a hard drive of its own… But the problem with that is that from what I know the packet manager will only install packets to the hard drive that has the OS on it… To let you know about my self, I am kinda new to linux. I don’t know my way around it very well, I just learn from what people tell me, and what I have seen done.

  123. 124 Vincent 15 April 2008 at 1:51 pm

    OK, that really sounds like it’s practically impossible. When you install a .deb file, it (among other actions) extracts a lot of files and drops them all over the system. These files need to be there for the applications to be able to run. So if you wanted to achieve this, you’d have to create a lot of partitions on your SD card and set up your system during installation to look for those folders on those specific partitions, and I doubt it’s big enough for that because you’d also need to save all other applications there.
    Why would you want to install Compiz to your SD card, by the way? There might just be another way to accomplish what you want…

  124. 125 StAR 15 April 2008 at 10:03 pm

    As I said befor, I have a 2gb hard drive in my Eee pc, also in it there is a 4gb sd card. about 90% of my 2gb drive is just the OS.

  125. 126 Vincent 15 April 2008 at 10:12 pm

    OK, so how do you do that with other applications?
    What you could try, is installing Xubuntu to the SD card and put your home directory on the internal hard drive (also put /boot on there or make the SD card bootable). Still, 4GB for a system and 2GB for personal files is not that much, so you’ll run into problems sooner or later.

  126. 127 Mike 21 April 2008 at 2:21 pm

    Dear Sir
    Started having trouble with xubuntu, right after I put in compiz –replace. All window borders have disappeared, I am unable to type anything in with the keyboard(except on firfox), I tried following the xgl instructions, a bit lost. Am using xubuntu 8.04 beta, any ideas?
    Thanks

  127. 128 Vincent 21 April 2008 at 4:16 pm

    Hi Mike,

    First of all: don’t say Sir, I’m 18 years old :)

    For the window borders problem, try pressing Alt+F2 and running emerald --replace. I’m not sure about the keyboard problem and if it is related (are you sure it is plugged in? :) ), sorry. :(

  128. 129 Mike 22 April 2008 at 1:52 pm

    Hi Vincent
    Yeah managed to sort it out using xserver xgl and restarted. New problem, dont know if it has to do with compiz, I moved the panel from top to bottom(from your make xubuntu look like vista). I now only have one work space, put pager on and applications->settings manager-> workspace and margins. Increased work spaces to 4, but still only have one workspace. Trying to get cube to rotate, only end up with the a flat screen rotating.
    And my pc started running slower after installing compiz
    AMD X3800 X2 running -> X86 Xubuntu
    2 gb ram
    ati x1900gt should I install a driver?

    Thanks

  129. 130 Vincent 22 April 2008 at 2:01 pm

    Hi Mike, you can increase the number of workspaces in the Advanced Desktop Effects Settings: “Horizontal Virtual Size” in General Options->Desktop Size in the Cube settings.

    If it is running slower you might need to install the restricted (not open source) driver using Applications->System->Restricted Drivers Manager.

  130. 131 Mike 22 April 2008 at 9:11 pm

    Hi again
    Yup, worked like a charm. Installed driver for hardware devices, works brilliantly.
    New question: Is Xubuntu beter than kubuntu or ubuntu, or are they pretty much the same in terms of performance and looks.
    Having trouble putting the task bar in making it look like more like vista.
    Any themes you recommend?
    Thanks

  131. 132 Vincent 22 April 2008 at 9:39 pm

    Glad to hear it worked :)

    Which one is better fully depends on your preferences. They’re about as different to eachother as they are to Windows in terms of getting used to (not entirely true, Ubuntu and Xubuntu share more than Kubuntu with either, but still, they’re all sufficiently different that you can really prefer one over the other). When it comes to performance, Xubuntu is best, though (well, there are more alternatives, but of these three, Xubuntu is best). Plus, you can run all applications regardless of which platform they were written for. If it works on Xubuntu, then it will also work on Ubuntu and Kubuntu, and the other way around.

    For the taskbar, well, that’s not really up to the theme as the taskbar in Windows is entirely different from the rest of the application, so you’ll have to set a background image like on Vista’s as I described in the Vista-lookalike post.

  132. 133 Mike 23 April 2008 at 7:03 pm

    Hi
    Thanks anoher question, I dont know what I changed in compiz but now every time I press “1″-one and some other keys on the numpad the session logs off.
    any ideas?
    Thanks

  133. 134 Vincent 23 April 2008 at 8:04 pm

    Sorry, I’m totally at a loss there, perhaps the members of the Compiz Community Forums can help you :)

  134. 135 Andrew 4 May 2008 at 2:27 am

    Hey Vincent,

    I got the compiz all set after installing xgl and my system is now running slower. I also read above about using the restricted drivers might speed it up. I dont see my graphics card in there. I have an ATI mobility 7200. Is there anything that can be done to speed up my system the way it was before?
    Thanks

  135. 136 Vincent 4 May 2008 at 11:07 am

    Hi Andrew, it might be that you card (or its drivers) just don’t support hardware accelaration. What does Compiz-Check say?

  136. 137 Andrew 4 May 2008 at 4:32 pm

    Hey Vincent,

    Turns out i was a little off on the graphics card. My compiz-check said:

    Gathering information about your system…

    Distribution: Ubuntu 7.10
    Desktop environment: Xfce
    Graphics chip: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
    Driver in use: radeon
    Rendering method: AIGLX

    Checking if it’s possible to run Compiz on your system…

    Checking for texture_from_pixmap… [ OK ]
    Checking for non power of two support… [ OK ]
    Checking for composite extension… [ OK ]
    Checking for FBConfig… [ OK ]
    Checking for hardware/setup problems… [ OK ]

    Hope this helps.

    Thanks.

  137. 138 Vincent 4 May 2008 at 4:44 pm

    Hi Andrew, it seems like other people also had problems with that card. You might find the instructions on the Ubuntu wiki that someone linked to helpful (especially the part about boosting performance by using the closed source driver).

    Also, it might be good to know that, if you’re planning to upgrade to 8.04, you’re going to need to do some work to enable Compiz.

    Good luck.

  138. 139 Ace 6 May 2008 at 11:30 am

    I would really like to know how you managed to get the xfce window manager to work with compiz.I do not like emerald.I put xfwm4 in the effects>window decoration area of ccsm.But the borders disappear instantly when i start compiz.I have nvidia geforce 6200.It handles all the effects compiz has to offer and the Aero in vista.Please reply

  139. 140 Vincent 6 May 2008 at 2:15 pm

    Hi Ace, I didn’t do that consciously, but a while ago, eviirthaang asked the same, and in my reply, I offered a suggestion that might work:

    Well, eviirthaang, I didn’t really do that quite consciously. In the Compiz settings manager, I set xfwm4 as the fallback window manager. Now she did something which prevented Emerald from running in her account (which I coincidentally fixed this morning), and I guess that’s what made Compiz run xfwm4.
    If you also want to run xfwm4, what you *could* do is uninstall Emerald after you set xfwm4 as the fallback window manager. Emerald should then not be able to run and xfwm4 should be ran instead.
    Good luck,

  140. 141 Ace 6 May 2008 at 6:42 pm

    Hi.I have tried every thing you have mentioned but the window borders keep disappearing.Thanks for the reply anyway.Also there is something about xubuntu which keeps me sticking to it.

  141. 142 Vincent 6 May 2008 at 6:46 pm

    Sorry I could not be of more help :(
    Perhaps someone at the Compiz Community Forums can help you?

  142. 143 Rob Hodge 19 May 2008 at 1:39 pm

    Something i found you maywant to share with your readers-

    i couldn’t get it to work as the default setup.. it kept loading xfcewm instead of compiz or loading no window mqanager at all. so i”d sometimes be left with no decoration as the major noticable effect. this was even after changing the xfce4-session.rc file. (i think this was ace’s problem, as well)

    what i had to do was delete the session cache files with a rm ~/.cache/sessions/*

    once i did that everything fell into place. this is in 8.04

  143. 144 Vincent 20 May 2008 at 5:49 pm

    Thanks Rob, I’ve added it :)

  144. 145 Jeff 28 May 2008 at 3:29 pm

    Hello,

    Very nice article! I’m just starting to use Xubuntu (8.04) and I’d
    like to try using Compiz. However, when I try either the command line
    or the GUI, it can’t compiz-* anywhere. Where the packages located?

    Thanks!

    Jeff

  145. 146 Vincent 29 May 2008 at 12:05 pm

    Hi Jeff,

    Thanks!

    I just checked on packages.ubuntu.com, but the Compiz packages should just be there in 8.04 (Hardy). If you used Applications->System->Synaptic Package Manager, are you sure you pressed “Reload”?

    By the way, if you do manage to install Compiz using this guide, could you please leave another comment? I’m not sure whether it also works for 8.04 (I’m *still* not using it myself, final exams and stuff…) so if it does, I could add that to the article. (And of course, if not, I’ll have to write an updated guide :) )

  146. 147 Mark 7 June 2008 at 6:23 pm

    Thanks for the Compiz help. I was able to get Xubuntu up on running on the eeepc and then followed your instructions to get Compiz with desktop effects. Very cool. Much obliged.

  147. 148 Vincent 8 June 2008 at 12:11 pm

    Always happy to help Mark :)

  148. 149 flotoonie 9 June 2008 at 1:20 pm

    Worked for me in Hardy heron Xubuntu. Thankyou!

  149. 150 Vincent 9 June 2008 at 1:39 pm

    Thanks for the heads up flotoonie, I’ll add it to the article.

  150. 151 Ivotron 10 June 2008 at 9:29 am

    This worked for me on Hardy.

    For those not having window decorations after following all the steps try first by removing the contents of the .cache/sessions/ folder as mentioned by Rob Hodge.

    Then, on Settings->Settings Manager->Sessions and Startup, check that ‘Automatically save session on logout’ is disabled. Also, check that if you have the ‘Prompt on Logout’ option is enabled, when you actually log out, the checkbox that appears below the ShutDown, Restart, etc.. buttons isn’t checked.

    What happens is the following. If you like (as I did) to save your session so that the next time that you log in all the programs you had running appear again, this will also include the autostarted (from the xfce4-session.rc file) compiz. Then, when you log out and log in again, the XFCE session manager will try to run compiz twice (one from the xfce4-session and another from the last session), causing (at least that’s what happens to me) that the emerald window decorator never gets started (or something alike like killed by the –replace flag).

    So, the conclusion. Follow all the steps, stop saving sessions and use the autostarted applications configuration instead.

    Cheers

  151. 152 Vincent 10 June 2008 at 10:03 am

    Thank you Ivotron, I’m sure that is very helpful! I’ve added it to the post :)

  152. 153 Bruno 14 June 2008 at 5:22 am

    Excellent guide, worked 100% in first time attempt in my Acer Aspire 4520 laptop. Thank you so much!

  153. 155 Janko 26 June 2008 at 7:21 pm

    Hi, nice tutorial, but I can’t figure how to use compiz with xfwm4 instead of emerald it always gives me this error:
    (xfwm4:7928): WARNING **: Another Window Manager is already running
    This happens when I specify xfwm4 as window decorator in the compiz settings and then run compiz –replace. Actually everything works but without window decorations. Any idea on how to force xfwm4 to work under compiz??

  154. 156 deuts 29 June 2008 at 11:30 am

    Thanks for this. It was very helpful! Now enjoying Xubuntu 7.10….

  155. 157 Mohan 29 June 2008 at 3:04 pm

    Well I just did this on Xubuntu 8.04 and it worked like a charm thanks man. :-D

  156. 158 Mike 1 July 2008 at 2:03 pm

    Hi Vincent
    Sorry I am using ubuntu 8.04 now, so just wanted to know if you could help me.
    I am having trouble with changing the panel color to match the theme for ubuntu. Ubuntu is a bit different from the xubuntu so just needed a bit of help with that.
    Already have emerald and xubuntu installed so any ideas?
    Thanks

  157. 159 Vincent 1 July 2008 at 3:12 pm

    @Janko – try reading the Troubleshooting section.

    @deuts and Mohan – you’re welcome :)

    @Mike – my first post on customizing Xfce explains how to customize the panel. I suppose that to change the background colour, you’d use a .gtkrc-2.0 file like the following:

    style "panel"
    {
    bg[NORMAL] = “black”
    fg[NORMAL] = “white”
    }

    widget_class "*Panel*" style "panel"
    widget "*Panel*" style "panel"
    class "*Panel*" style "panel"

    Of course, this uses a black background and white letters – change this to what you’d like to use :)

  158. 160 Mike 1 July 2008 at 4:22 pm

    Hi
    Thanks, but isn’t there a way for the theme you install to already come with a colour and font for the panel. Do I have to get specific themes?
    Thanks.

  159. 161 Vincent 1 July 2008 at 4:42 pm

    As far as I know, the theme can include specific hints to the colour of the Xfce panel, however, I suppose most themes only take into account the GNOME panels. If you mail me the theme and tell me what you want, I can take a look and see if I can make it theme the Xfce panels :)

  160. 162 Mike 1 July 2008 at 5:59 pm

    Hi
    Yeah I’m using ubuntu so, I dont think it will still use Xfce? But I’ve seen quite a few gnome look themes, that include he panel in the screen shots. But I am not exacly sure, if Im supposed to be looking for GTK 1.X,GTK 2.X, Beryl or Compiz for the ubuntu.
    I thought this was pretty good,
    http://www.gnome-look.org/content/show.php/Dark+Ice+Emerald?content=70284
    Just looking for something black and shiny.
    I dont know if it will change the panels and scroll bars. It worked in xubuntu, but its not really working in ubuntu.
    Thanks

  161. 163 Vincent 1 July 2008 at 9:41 pm

    Ah, I see. That is just an Emerald theme, meaning that it will only change your window borders when running Emerald. I recommend you to contact the author to ask him which theme he’s using in the screenshot :)

  162. 164 Mike 3 July 2008 at 12:39 pm

    Hi
    So do you know which themes will include changing panels as well compiz, beryl, metacity? GTK ?
    Thanks

  163. 165 Oscar 14 July 2008 at 9:22 am

    This how-to works perfectly, thanks

  164. 166 Vincent 17 July 2008 at 10:08 pm

    Mike, you’d need a GTK theme for that.

    Thanks Oscar :)

  165. 167 charles 16 August 2008 at 5:21 pm

    Thanks for your great post; my Compiz was starting with no window decorator, but modifying my xfce4-session.rc file and following Rob’s advice of deleting saved sessions and not saving sessions worked great.

  166. 168 Nikonoel 26 August 2008 at 1:39 am

    I’m a french guy living in Colombia. Thanks for the tips, thanks for sharing with the world!
    :-]

  167. 169 mariuz 27 August 2008 at 1:03 pm

    it works in intrepid ibex too

    i’m at this step

    $ compiz –replace

  168. 170 Vincent 27 August 2008 at 1:57 pm

    Thanks Mariuz. I won’t add it to the article yet because we don’t know if it will break before 8.10 is released, so people might end up here after that and find it doesn’t work. But it’s good to know it works at 27 August 2008 :)

  169. 171 Jose Catre-Vandis 28 August 2008 at 8:57 pm

    Thanks for the howto, works well up to a point and had to follow the hints from Ivotron to get windows decorations. One problem I have is that some applications Firefox and Terminal to name two, will open up OK with decorations, but the title bar is above screen height, so I have to move the window down to see the title bar. This happens even if the window opens maximised. Anyway to fix this?

  170. 172 Jose Catre-Vandis 28 August 2008 at 9:34 pm

    Have found a workaround by setting Place Windows to Cascade and enabling, not perfect but better!

  171. 173 yvan 29 August 2008 at 8:23 am

    @Jose:
    I have the smae decoration problem, where did you set “Place Windows” to “Cascade”?

    Thanks for these tips and this great How-To!

    Cheers

  172. 174 Vincent 29 August 2008 at 11:10 am

    Hy yvan, in Advanced Desktop Effects Settings (see “Setting it up” above), under Window Management there’s the Place Windows option where you can select Placement Mode which, according to Jose (thanks!), should be set to Cascade. (With Place Windows enabled, of course)

  173. 175 yvan 29 August 2008 at 11:46 am

    Thanks so much! It works perfectly!

  174. 176 Jose Catre-Vandis 30 August 2008 at 10:35 pm

    Next issue is with thunar, when running with “tree” as opposed to places. When running with “tree” I can gurantee a crash (window darkens and requires forced quit) on a regular basis when trying to browse the tree. Half resolved this by changing back to “places” which has ensured no crashes with thunar. Not necessarily compiz related but problem seems to be worse when running compiz.

  175. 177 Vincent 31 August 2008 at 6:09 pm

    @yvan – my pleasure :)

    @Jose – I’d recommend you to file a report at the Thunar bug tracker.

  176. 178 Xsabre 9 September 2008 at 9:24 pm

    Great Article…

    Trying to get Compiz running with xfce window manager. It is working but CPU is pegged at 100%. So it is very slow… If you have any ideas I would greatly appreciate it.

    System Specs:
    Xubuntu
    Dell Inspiron 8100
    CPU 1 Ghz
    386 Memory
    Geforce 2 Go

    Thanks in advance..

  177. 179 Xsabre 9 September 2008 at 9:26 pm

    Forgot to add this…version 8.04.1

    Thanks again..

  178. 180 Russell 20 September 2008 at 5:04 am

    XFCE and Compiz is probably one of the best things possible. Great article.

  179. 181 jpavly 17 October 2008 at 10:09 pm

    Thanks for your great guide!
    That reply with the clear session cache really helped with my decoration!

  180. 182 SiMoNe 21 October 2008 at 7:54 pm

    Great guide..what program do you use to have the bottom bar like the mac bottom bar??

  181. 184 Headcrab X 29 October 2008 at 11:33 pm

    Too bad I can’t have it…

  182. 185 Richfrog 9 November 2008 at 9:47 pm

    I was running compiz wonderfully in ubuntu 8.10 but now that I’ve switched to xubuntu I cant get it to work.

    I got compiz installed and can access it without any problems at all but when I check the changes I want like rotating cube it simply does nothing.

    How do I make it work in xubuntu 8.10?

  183. 186 Vincent 9 November 2008 at 10:01 pm

    @Richfrog – are you sure it is running? (i.e. do you get any effects?) That said, there are better ways to get help with Xubuntu ;-)

  184. 187 Richfrog 9 November 2008 at 10:35 pm

    No man no effects at all?

    How would i check if it’s running?

  185. 188 Vincent 9 November 2008 at 10:41 pm

    Have you followed the instructions in this post? Having it installed is not enough. See the sections Running Compiz and Make it default on this page :)

  186. 189 Richfrog 10 November 2008 at 12:39 am

    O.k. i’m down to installing xserver-xgl but it’s not to be found in my synaptic package manager anywhere.

    Where do I find it?

  187. 190 Vincent 10 November 2008 at 1:37 am

    @Richfrog – the XGL project has been discontinued so that option won’t work anymore.

    What do you get if you open a terminal window and execute compiz --replace? (I’ll reply to your next comment via email :) )

  188. 191 Richfrog 10 November 2008 at 2:53 am

    richard@richard-desktop:~$ compiz –replace?
    Checking for Xgl: not present.
    Detected PCI ID for VGA:
    Checking for texture_from_pixmap: not present.
    Trying again with indirect rendering:
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1152×864) to maximum 3D texture size (2048): Passed.
    Checking for Software Rasterizer: present.
    Software rasterizer detected, abortingaborting and using fallback: /usr/bin/metacity
    metacity: Unknown option –replace?
    richard@richard-desktop:~$

    wtf????

  189. 192 RavanH 10 November 2008 at 3:58 pm

    Hi Vincent,

    Nice article. Thanks :)

    I can confirm this works on Xubuntu 8.10 too. The only things I am missing in the article is (at least mention of) Fusion Icon, the system tray icon for Compiz management, and some pointers (or links) to managment of and themes for Emerald.

    I will test with installing and using FusionIcon and might get back with a small step-by-step later…

    My Emerald theme suggestion is Mac4Lin: http://www.compiz-themes.org/content/show.php/Mac4Lin+ver.0.4+Emerald+Theme?content=71995 (either normal or graphite version)

    Quick how-to:
    1. Download one or both .emerald files from the link above (or browse to any other themes that are suitable for Beryl/Compiz + Emerald that seem nicer).
    2. Go to the menu Applications->Settings-> and open the Emerald Theme Manager.
    3. Click in the Emerald Theme Manager window on the Import button and browse to and open the downloaded .emerald file.
    4. After succesful import, the new theme will show in the Themes list. Select it and watch the window decoration change :)

    A final but VERY nice tip: Install Cairo Dock to finish it all :) It is a lightweight fast and beatifull dock (unlike AWN as far as I am concerned) and it has some nice OSX type dock looks along with excellent plugins too. Find all you need to know on http://www.cairo-dock.org/ww_page.php?p=From%20the%20repository&lang=en#7-Ubuntu about easily adding the repo and installing it on your system. After installation you can test it by opening a terminal window and entering cairo-dock. Select a theme (suggestion: @Aero theme to start with) and try it out! If you like the dock and want to auto start it upon each login do this:
    1. Go to the menu Applications->Settings->Autostarted
    2. Click Add
    3. Enter Name: Cairo Dock and Command: cairo-dock

    –ravan

  190. 193 Vincent 10 November 2008 at 8:04 pm

    Thanks for confirming that it works on 8.10. You’re absolutely right about Fusion-Icon, I’m using it myself as well so I suppose it would be a good addition to the article.

    I’ll link to your comment regarding the installation of Emerald themes, I’m sure that will be appreciated by many :)

  191. 194 Richfrog 11 November 2008 at 6:23 pm

    When I hit alt-f2 and enter compiz –replace in the run program window I get this-

    Checking for Xgl: not present.
    Detected PCI ID for VGA:
    Checking for texture_from_pixmap: not present.
    Trying again with indirect rendering:
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1152×864) to maximum 3D texture size (2048): Passed.
    Checking for Software Rasterizer: present.
    Software rasterizer detected, abortingaborting and using fallback: /usr/bin/metacity
    Window manager warning: Failed to load theme “Clearlooks”: Failed to find a valid file for theme Clearlooks

    What the hell is “clearlooks?”

  192. 195 RavanH 12 November 2008 at 2:39 am

    @Richfrog,
    Looks like Compiz cannot find the Emerald window manager and defaults to Metacity using its default theme Clearlooks. This wm is not on your system either, hence the error. Install Emerald by doing ‘sudo apt-get install emerald’ in a terminal window. After that, you should be good to go except that you might want to find some nice theme to install. See my comment above for some pointers :)

    @Vincent and all,

    A follow-up on my previous comment:
    Like you, I am using Fusion Icon now and it works fine. I decided to load fusion-icon (and compiz automatically with it) upon login so that I can have other users on the same system with plain xfwm4 as window manager. The reason for many people for using XFCE is not only is it fast but (more imortantly) it has a low memory footprint while still being as easy to handle as Gnome or KDE. I have not compared plain xfwm4 with compiz+emerald on added memory use but I do not doubt the latter is heavier.

    These are the extra steps I took for Fusion Icon:
    1. Do in terminal “sudo apt-get install fusion-icon”
    2. Go to your menu Applications->Settings->Configuration Manager and open Autostarted Apps
    3. Click Add
    4. Enter Name: Fusion Icon
    5. Then at Command enter one of the following depending on if and how you start Compiz:
    a. If you have defined compiz as the defaut wm in /etc/xdg/xfce4-session/xfce4-session.rc (the ‘more-difficult-but-better way’) use the command ‘fusion-icon –no-start’ (without the quotes)
    b. Else use the command ‘fusion-icon’ (without the quotes) but take care that if you have an entry in your startup list with the compiz –replace command (the ‘easy-but-inefficient way’) be sure to REMOVE that entry!

    Enjoy :)

    –ravan

    PS And do not forget to check out Cairo Dock, it really IS worth a try ;)

  193. 196 Richfrog 12 November 2008 at 3:29 am

    I tried your suggestion but it gave me the same page of stuff. Exactly the same.

  194. 197 Vincent 12 November 2008 at 4:57 pm

    @Ravan – thanks a lot for that! I sort of expected Fusion Icon to take into account that Compiz was already running (it should :P). I’m expecting an increased startup time now :)

    @Richfrog – this Google search might get you started :)

  195. 198 Richfrog 14 November 2008 at 1:05 am

    I just re-installed xubuntu for reasons unrelated to compiz.

    My pc is a compiz virgin at the moment. Anyone got any suggestions how to proceed before I give this a fresh try?

    Richfrog

  196. 199 Vincent 14 November 2008 at 2:52 pm

    I’d say follow the steps in this post carefully ;-)

  197. 200 Richfrog 21 November 2008 at 10:40 pm

    I GOT IT!!!!!!!!!!!!!!!!!!

    I accidentally uninstalled thunar. I am not sure how the hell I managed to do this but it happened. I lost my desktop and a whole butt-load of my setting and preferences. I got so pissed that I reinstalled xubuntu. When I reinstalled xubuntu I installed ALL compiz packages, a 3d acceleration package. A simple compiz setting option was now in my applications menu. I clicked on “ultimate” in the profile. I fooled around with it and it works!!

    Truth is I’m not entirely sure what action I took that made the difference but it works!

    I havent got every option working yet but I am looking forward to figuring it out!

    Thanks for your help!

  198. 201 darthchaosofrspw 28 November 2008 at 8:46 pm

    I found a VERY easy way to get Compiz Fusion working on my laptop’s Xubuntu 8.04.1 installation. My laptop uses the Intell 855GME (Extreme Graphics 2). What I did was this: install the mintdesktop-xfce package from http://packages.linuxmint.com/pool/main/m/mintdesktop-xfce/mintdesktop-xfce_1.1-1_i386.deb

    Then I opened the XFCE MintDesktop application (in Applications -> System) and from there clicked on the Enable/Disable button for Compiz Fusion. For Compiz Fusion to be enabled at boot, click on the Enable/Disable button beside “Enable Compiz at boot” and then reboot.

  199. 202 Vincent 7 December 2008 at 9:23 pm

    @Richfrog – good to hear ^.^

    @darthchaosofrspw – that’s a very nice way To everybody considering using it: note that you do need to use the i386 architecture, so you’ll have problems on PowerPC or 64 bit architectures.

    Also, if people get a “404 – Not Found” error in the future, it might be that a newer version of that application is available – download the latest from http://packages.linuxmint.com/pool/main/m/mintdesktop-xfce/ (the file ending in .deb).

  200. 203 xfwm4 instead of emerald 9 December 2008 at 8:03 pm

    There is an error in the article.

    You can’t use “xfwm4″ instead of “emerald. See here:
    http://ubuntuforums.org/showthread.php?t=708872

  201. 204 Vincent 9 December 2008 at 10:44 pm

    I’m quite sure you can use xfwm4, as it’s been done on this very computer. What fracturedmorals said at that thread is that Compiz can’t display xfwm4 themes, which is something different then it not being able to run xfwm4 instead of Emerald.

    Also, people are using xfwm4 --replace in that thread, but xfwm4 doesn’t have a replace option in the first place. It’s not working because Emerald is already running – when the original poster solved it I’m guessing it wasn’t because of gtk-window-decorator but because of removing Emerald (if you set xfwm4 as fallback window manager, it should work).

  202. 205 xfwm4 instead of emerald 10 December 2008 at 7:22 pm

    What do you mean with “it can use xfwm4 but can’t use themes”? Does this mean that it can only use the default theme? What sense does xfwm4 make if there are no themes? Doesn’t this mean that there are no window borders either?

    I’m a bit confused with these terms: window decorator and window manager.

  203. 206 Vincent 11 December 2008 at 2:47 pm

    Well, I think the difference between “window manager” and “window decorator” is that is that the window manager places windows on the screen, while the window decorator draws the window borders. It does seem like a distinction made specifically by Compiz, with Compiz being the window manager and Emerald the window decorator.

    By “it can’t do xfwm4 themes” I meant that Emerald cannot load a theme made for xfwm4. However, you can use xfwm4 instead of Emerald – and obviously xfwm4 does support xfwm4 themes.

  204. 207 sgt baker 13 December 2008 at 4:56 am

    Thanks..and how do i get the panel looking like the one in your screenshots

  205. 208 Vincent 13 December 2008 at 10:00 pm

    Well, the panels aren’t really special, but I suppose you’re referring to the dock in the first and third screenshots… That’s Avant Window Navigator, and I describe how to install that in my article Design your own desktop with Xfce 4.4 – part 2 (under Dock).

  206. 210 Mark 23 December 2008 at 12:44 am

    Thanks for the great help! I’ve been trying to get this to work for Xubuntu 8.10 for ages:-)

  207. 211 Stephen M 24 December 2008 at 9:03 am

    Thanks for the great guide, I just finished installing Compiz on my Acer Aspire One Netbook, which I have running Xubuntu 8.10. Easy to follow instructions, and you’ve done a good job of updating the post with feedback you’ve received. Great stuff!

  208. 212 Kenny 25 December 2008 at 4:22 am

    Very, very good manual! I tried it and it’s running perfectly. And I’m impressed that it doesn’t eat as much resources as Ubuntu does.

    Feed us with more! ;)

  209. 213 Vincent 27 December 2008 at 2:33 pm

    I’m glad to have been of help :)
    (I’m hoping to come up with some ideas for new posts this holiday :) )

  210. 214 Crabby 2 January 2009 at 8:25 am

    Hello, I think I have a similar problem as Richfrog but I probably won’t reinstall Xubuntu.

    I follow the step of the wonderful tutorial quite carefully but still unenable to have compiz run.

    ./compiz-check gives the following:

    Gathering information about your system…

    Distribution: Ubuntu 8.10
    Desktop environment: Xfce
    Graphics chip: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01)
    Driver in use: via
    Rendering method: AIGLX

    Checking if it’s possible to run Compiz on your system…

    Checking for texture_from_pixmap… [ OK ]
    Checking for non power of two support… [ OK ]
    Checking for composite extension… [ OK ]
    Checking for FBConfig… [ OK ]
    Checking for hardware/setup problems… [FAIL]

    There has been (at least) one error detected with your setup:
    Error: Software Rasterizer in use

    compiz –replace gives the following:

    Checking for Xgl: not present.
    Detected PCI ID for VGA:
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1280×768) to maximum 3D texture size (2048): Passed.
    Checking for Software Rasterizer: present.
    Software rasterizer detected, abortingaborting and using fallback: true no true found, exiting

    I really want to have compiz running on a HP 2133. I have installed the via driver as well.

    Please Help??? how can I make the Software Rasterizer goes away??
    Thanks in advance

  211. 215 Vincent 2 January 2009 at 4:10 pm

    Crabby, I’d recommend you to post your question at the Compiz Fusion forums. I’m positive that you’ll be able to get help there – the solution for a similar problem (though with a different driver, so don’t follow those instructions) doesn’t seem that difficult. Do make sure to note the Linux distribution and version you’re using.

  212. 216 amila 26 January 2009 at 9:01 am

    Crabby,

    What kernel version are you using? If you are using 2.6.27-9 try to use 2.6.27-7 and try
    (select from the grub boot menu it should be there if you have upgraded the kernel during software update like me)

    I had the same problem with my HP 2133. I configure VIA driver correctly but compiz kept on complaining about “Software rasterizer”.

    So first I tried these methods suggested here,

    https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/270122

    removed all NVIDIA drivers & checked xorg.conf for resolutions above 2048. but it didn’t fix the problem.

    then I remembered from some where VIA (December 2nd, 2008) binary driver compiled against kerenel 2.6.27-7 so I rebooted to older kernel everything worked fine.

    after that I just changed boot order from /boot/grub/menu.lst file to default boot from 2.6.27-7. For me new kernel doesn’t serve any special purpose so far. It was just upgraded during software update.

    Hope this will help to solve your problem.

    Now I’m using my HP 2133 with xubuntu + compiz it is quite nice. I have tried many many distributions but I think I’m going stick with this one, at least for now :->

  213. 217 Josh 27 January 2009 at 4:42 am

    Ok when i tried updating my computer it froze and the icons dissipeared on the desktop. It fully installed everything and then everything on my desktop dissapeared. When i try to restart it my computer makes a loud beep sound and nothing saves. So i have no clue what to do and i need help.

  214. 218 Vincent 27 January 2009 at 1:40 pm

    Josh, not sure what your problem is, but regarding your desktop: you might want to press Alt+F2, then run xfdesktop to make it re-appear. For the other problems, consult the above-mentioned Compiz forums or the xubuntu-users mailinglist.

  215. 219 Ferguzon 26 February 2009 at 4:53 am

    Hi! I did it the way you write it and it worked really cool. The only thing is that I make compiz default (using the “more difficult but better way”) and I still get a message that says something like this: “There is no default window manager, run compiz –replace or choose another program”.

    When I run “Compiz –replace” everything gets right, but I dont have it runing automaticaly.

    I tried using “compiz –replace” in the startup aplications, but it works really slow.

    What can I do with this?

    • 220 Vincent 27 February 2009 at 11:52 am

      Hi Ferguzon, which version of Xubuntu are you using and when and how do you get that message? You might be able to solve it by going into the CompizConfig Settings Manager and, in the General tab for the Window Decoration plugin set “Command” to emerald --replace, but that’s just a wild guess.

  216. 221 alienkid 28 February 2009 at 5:07 pm

    I tried to use xfmw4 as the decorator(because I like the buttons of xfce-4.5), and when I enable compiz(fusion icon) it white screens me I can move my mouse and everything but can’t get back out of compiz with out ctrl+alt+backspace. Accoreding to compiz cheek I can run compiz. What do I do?

    I have an Intel card if that will help

  217. 223 alienkid 28 February 2009 at 7:18 pm

    I reran compiz check and this is where it fails:

    Gathering information about your system…

    Distribution: Ubuntu 8.10
    Desktop environment: Xfce
    Graphics chip: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
    Driver in use: intel
    Rendering method: AIGLX

    Checking if it’s possible to run Compiz on your system…

    Checking for texture_from_pixmap… [ OK ]
    Checking for non power of two support… [ OK ]
    Checking for composite extension… [ OK ]
    Checking for FBConfig… [ OK ]
    Checking for hardware/setup problems… [FAIL]

    There has been (at least) one error detected with your setup:
    Error: Software Rasterizer in use

  218. 224 alienkid 28 February 2009 at 7:20 pm

    forgot to mention: It runs with it’s normal decorator and with emerald.

  219. 225 EricJ 9 March 2009 at 8:43 am

    Well, goes to show I should’ve read the comments before getting started — I suffered from the absolutely-nothing-happening-symptom when I replaced xfwm with compiz in the xfce4-session.rc file. Indeed the sessions were the bogey, and removing the current ones before restarting X did the trick.

    Since, however, I’m running Debian and not Xubuntu, having Emerald starting instead of gtk-window-decorator was a slightly different process from what stated here — nothing I couldn’t figure out, though.

    Thanks for an excellent post. It deserves its high google pagerank on “compiz xfce”. :)

    • 226 Vincent 9 March 2009 at 3:53 pm

      Heh, well, 242 comments is quite a lot to work through :P. So now I can pat myself on the back again for keeping the post updated with the comments ;)

      Anyway, glad it could be of help. The high pagerank for “compiz xubuntu” brought in a lot of people, for “compiz xfce” it’s just on page three though :)

  220. 227 Terry 12 March 2009 at 8:53 pm

    I’ve installed compiz, and whenever I try compiz –replace, I get the following:

    Checking for Xgl: not present.
    No whitelisted driver found
    aborting and using fallback: true
    no true found, exiting

    So I visited: http://packages.ubuntu.com/dapper/xserver-xgl and installed xgl, and im still getting the same thing. Any help?

    • 228 Vincent 13 March 2009 at 1:12 pm

      This guide was written for Xubuntu 6.10 and above, judging by the URL you use 6.06, so it might be that this guide just doesn’t work there (if I recall correctly, I was even using Beryl on 6.06). Have you run Compiz-Check?

  221. 229 Andrew 7 April 2009 at 4:38 am

    Hey just so everyone knows, there have been some problems with the compiz-core package in the new 9.04 Jaunty Jackalope beta. I’m currently testing this out and looking for a good fix, and i’ll post again when I get this working. There has been an update to the package that was supposed to fix the bug, but it didn’t work for me.. but everything will probably be working after another update sometime soon, it is still beta after all. For now here is the bug: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/141621 . And here is a thread with a fix that may work: http://ubuntuforums.org/showthread.php?p=3993442#post3993442 .

  222. 231 Andrew 8 April 2009 at 12:22 am

    Hey Vincent, thanks a lot for that :) looks like I may need some help with this.. if you look at the bottom of the bug page you’ll see I posted a comment (under the name fo0b4er), so hopefully someone there notices, but that could take a while. For now, I tried totally uninstalling and purging compiz as described in the bug comment two above mine, and that didn’t help. I would try what is in that forum post I linked to, but my xorg.conf file was blank so I didn’t have those lines and I don’t know how to add them. I ran dpgk-reconfigure xserver-xorg, and now there’s some stuff in there but its still pretty short and those lines aren’t there :( I do have the file “/etc/xdg/compiz/compiz-manager” as mentioned by Ramy Eid on the bug page, but it’s definitely not doing its job! echo “conf: $XDG_CONFIG_DIRS” gives me /etc/xdg/xubuntu.. is that maybe causing the aforementioned file not to be used? Any ideas? Thanks in advance!

    • 232 Andrew 8 April 2009 at 1:19 am

      Alright, I figured everything out :) I was being a little slow there! Basically this bug actually has been fixed in jaunty and it was really just me, so you can safely remove that warning at the beginning of the article. What happened was, my /etc/xdg/compiz/compiz-manager file was being superseded by my ~/.config/compiz/compiz-manager file. The one in /etc/xdg/ did have the proper stuff, but the one in my home directory did not! Why? BECAUSE OF THE COMPIZ-CHECK SCRIPT! Can you believe that?! Turns out that it made the file in my home dir, and only wrote in it the line “SKIP_CHECKS=yes” because I told it the script to disable error checking in compiz. When I added the proper lines to that file (see again Ramy Eid’s comment in the bug report), compiz was found and started! So, the verdict is: if you use the compiz-check script and tell it to ignore checks, it will make a custom config file without copying over whatever is in the general file! You might want to warn people about that in the article. I will update my bug comment and notify the script author in the next few minutes :)

    • 233 Vincent 26 April 2009 at 1:34 pm

      Thanks, I’ll remove the warning (yes I’m a bit late with that, sorry for that :) ).

  223. 234 shadowsky 24 April 2009 at 7:31 pm

    In Jaunty, compiz works just fine, but the file /etc/xdg/xfce4-session/xfce4-session.rc no longer exists for the more efficient autostart method

    • 235 Vincent 26 April 2009 at 1:35 pm

      Thanks, I’ll update the article with that and if I ever get 9.04 installed I’ll see if I can get it to work another efficient way.

    • 236 sisco311 7 May 2009 at 1:53 pm

      In Xfce 4.6 you have to edit:

      /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

      as root run:
      sed -i "s/xfwm4/compiz/" /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

      to restore the original settings:
      sed -i "s/compiz/xfwm4/" /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

    • 237 Vincent 15 May 2009 at 9:46 pm

      Thanks sisco311, it took me a while but I’ve finally updated the post with your information :)

  224. 238 AZSonBurnt 28 April 2009 at 3:20 pm

    Thanks a lot man! I am up and running on Jaunty. I gotta say I’m a n00b to the linux file system, but am a certified WindBlows admin. Yes I’m anti M$…Yes it keeps me employed and YES I’m a man torn. o_0

    Anyways, I wanted to thank you for the install walk through. It had enough info that I knew what I needed to tweak and where for things to work right in Jaunty, but it was straight forward enough for a nub like me to figure it out as well.

    Also, shadowsky appears correct about the rc file. I think it might have become an xml, but I’m not sure and haven’t found one with any actual settings in it yet.

    Using the user session manager in the interim until I find it.

    Thanks again!

  225. 240 stefan 11 May 2009 at 10:51 pm

    All works very nice.
    Xubuntu 9.04 run on Lenovo S10e (Atom 1,6 Mhz, 1,5 GBRam)

    thanks very much

  226. 241 darthchaosofrspw 7 June 2009 at 2:53 pm

    I have Compiz Fusion working on Xubuntu Jaunty. I installed Compiz, installed the nvidial-glx-180 driver, used the “easy but inefficient” way to get Compiz working, and it works perfectly.

  227. 242 Vincent 8 June 2009 at 11:22 am

    stefan, darthchaosofrspw, good to hear it’s working for you :)

  228. 243 GMaq 10 June 2009 at 3:16 pm

    Thanks,

    Using your guide I was able to get Compiz working well with Debian Testing and XFCE, Great Job!

  229. 244 lost 20 June 2009 at 4:36 pm

    Hey i just did install compiz by your instructions and set the window decorations setting to simply “xfwm4″ (mainly because i didnt find the package emerald) and everytime i use “compiz –replace” compiz seams to start up properly but i dont have any window decorations tho its enabled. the transparency seems to work out but its really hard to handle anythign without window decorations :<
    any tips?
    im running sidux with xfce. got an ati card and direct rendering as well as aiglx work properly

    greetings :)

    • 245 lost 20 June 2009 at 5:12 pm

      oh and the console output says:
      ** (xfwm4:4345): WARNING **: Another Window Manager is already running

      ** (xfwm4:4347): WARNING **: Another Window Manager is already running
      Setting Update “command”

      however i dont find any trace of this.
      also if it was running i should have window borders and stuff shouldnt i?

      locking forward to your help
      greetings :)

    • 246 Vincent 20 June 2009 at 6:35 pm

      Hey, I am not familiar with Sidux at all (this is a Xubuntu Blog, after all), but from what I can tell from basic research, you need the compiz-gtk package (which should be already installed, I think), and then instead of Emerald as your window decorator you need the command gtk-window-decorator. Try that and see if you still don’t have window borders (yes you should have them ;) ). Hope that helps.

  230. 247 lost 20 June 2009 at 6:46 pm

    i already did that and it worked and i was still waiting for you in hope that you can tell me how to use xfwm4 as a decorator :D

    thanks for your reply

    • 248 Vincent 20 June 2009 at 10:03 pm

      Great that it worked :) Unfortunately, I still have no idea how to explicitly set xfwm4 to be the decorator. When Emerald crashes for me (which unfortunately happens quite often…), xfwm4 takes over, but I have no idea how to set it to be the default. Sorry :(

  231. 249 Javier 26 June 2009 at 7:40 pm

    @sisco311

    “In Xfce 4.6 you have to edit:

    /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

    as root run:
    sed -i “s/xfwm4/compiz/” /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

    to restore the original settings:
    sed -i “s/compiz/xfwm4/” /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml”

    Thanks dude! I’ve been looking for that answer for years now.

  232. 250 Phil 30 June 2009 at 10:57 pm

    I followed the instruction until the point where I had to start Compiz with the command: compiz –replace . Nothing happens when I use this.
    I have the Xubuntu 9.04 with an ati graphic chip. what have I done wrong? The installation of the packet worked fine.

  233. 252 abansb 8 July 2009 at 9:43 pm

    I have the same problem as phil when I do the compiz –replace all I get is a mouse pointer and the background image I followed all steps I am using the Intel 82845g/gl chip

    I also tried to do in terminal emerald –replace and the terminal just sits there

    Thanks abansb

    • 253 Vincent 8 July 2009 at 9:47 pm

      I have the same question for you: can you open a terminal window (Applications->Accessories->Terminal) and then run compiz --replace? If there’s any output, could you post that here?

      (Also, I take it you’re also using Xubuntu 9.04?)

  234. 254 abansb 9 July 2009 at 6:40 am

    When I run compiz –replace all I get is the mouse pointer and background image and it seems to hang there I have to cold boot to get it back up

    Yes I am using Xubuntu 9.0.4 Like I said in the post earlier I am using the Intel 83845g/gl Graphics Controller.

    I have read so much about how people are having so much trouble with this Controller but some seem to get it working but I have tried and tried I have even messed things up trying what others have tried to get this working and had to reinstall b/c of messing the Graphics up to where everything is garbled on the screen.

    Thanks Vincent for the fast reply

    • 255 Vincent 9 July 2009 at 11:01 am

      Hmm, that does indeed sound like an issue with your graphics card, but that’s about as much as I can help you, unfortunately :( The only thing I can recommend you is to check whether the appropriate driver is installed through Applications->System->Hardware Drivers, but I don’t think that’s the problem. Sorry I can’t be of more help…

  235. 256 Dean 2 August 2009 at 6:50 pm

    I do not why, but my xfce4-session file is in:

    /usr/share/desktop-base/profiles/xdg-config/xfce4-session/xfce4-session.rc

    Anyway, i can enable compiz. Thanks

    • 257 lifeofguenter 3 August 2009 at 8:28 am

      running xubuntu 9.04, unfortunately the method of sisco311 does not work. compiz –replace works, but modifying /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml won’t bring it up from start

    • 258 Giovanni 26 October 2009 at 1:17 am

      Xfce 4.6 – Xubuntu 9.04
      I tried instruction:

      sed -i “s/xfwm4/compiz/” /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

      posted by sisco311 but does not work. I opened

      /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml as root and edited one value. After the line

      property name=”Client0_Command” type=”array”

      there was this:

      value type=”string” value=”xfwm4″

      I replaced “xfwm4″ with “compiz” and it work fine!

    • 259 Vincent 26 October 2009 at 1:46 am

      I’m sorry lifeoguenter but I can’t see what could be the problem. Are you sure you executed the command correctly?

      Giovanni, did you prefix that command with “sudo”? Also, did you use the right quotes, i.e. ", not “?

      Anyway, good that it worked :)

  236. 260 renard 5 August 2009 at 10:37 pm

    Same problem as lifeofguenter.

    I’m using Xubuntu 9.04 on Acer Aspire One A110. I’ve used the easy way, but with command “fusion-icon” instead of “compiz –replace”. This way I’m starting compiz and fusion icon together.

  237. 261 David Rees-Clark 4 September 2009 at 12:11 pm

    Hi!

    Everything works like a charm, thanks. Changed to compiz in no time (Xubuntu 9.04).
    There is one big problem however:
    When I start the Settings Manager, every change I make has no action following it. Meaning: When I close the Settings Manager, no changes have been made. As if it does not save what I want.
    I couldn’t even import your profile…
    What do I do, because otherwise, Compiz works fine?!

    Greetings from Germany,
    David

  238. 262 Sahkolihaa 4 December 2009 at 8:46 pm

    In relation to sisco311′s post, it seems Xubuntu 9.10 Karmic uses a slightly different directory for xfce4-session.xml.

    I had to actually search for this since sisco311′s file didn’t work (it existed, but wasn’t being read). I then came by:

    /etc/xdg/xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

    …which appears to be the one that Xubuntu 9.10 Karmic reads. After changing that, I issued:

    rm ./.cache/sessions/*

    …and made sure “Save sessions” wasn’t checked off when restarting.

    On start up, Compiz and Emerald booted perfectly fine. :)

    I also noticed that with the easy trick, Compiz starting after the panel can cause the panel to change positions – I have the normal GNome layout of one on the top and another on the bottom, where they could both switch their positions or both go to the top or bottom, requiring me to go into their properties to reset them.

    Anyway, I hope this helps any Xubuntu Karmic users other than me. :)

  239. 264 Gru 13 April 2010 at 8:41 am

    Hey Guys!

    Thank you for this great article.

    I finally got it working without knowing why but here’s my story :

    I’m on 9.10, with an intel chip and first i got the error a lot of people have : no windows decoration and something like “no suitable screen found on device 0.0″

    I installed compiz-switch to be able to switch fast when everething goes kaboom and when i launched it, everything goes kaboom (the usual way). But then i launched it again to get back to xfwm4, and oh surprise, my windows got red borders! It’s the emerald theme.

    Then I launched the compiz plugin manager, set up a few things, and I got everything work.

    I don’t know what’s going to happen after a reboot… but, maybe it is a hint for you smart people to know what’s going on behind the scene :)

    hope that helps, and thanks again (and sorry for my poor english :) )

  240. 265 dav 18 April 2010 at 8:41 pm

    I notice the command

    rm ./.cache/sessions/*

    That “./” assumes that I’m in a specific directory

    Which one would that be?

  241. 266 dav 18 April 2010 at 9:15 pm

    All right darn-you!

    I got it working.

    Now how the heck did you do all that cool stuff?????

    No cube has ever appeared, and certainly not one w/ 3d windows.
    No mirror image looking windows either.

    Just when you get us salivating you log!

    LOL

  242. 267 Samsonite 12 May 2010 at 11:46 pm

    Just in case this helps anyone, I used this guide (very useful by the way) and after installing xubuntu 9.10 a few times on different machines, I think I got working and starting up in a very simple way:

    1. Install the Compiz components and Emerald using Synaptic Package Manager (or just follow the beginning of this guide!)

    2. Make sure no applications are running (apart from anything that would be there when you start-up normally).

    3. Open Applications > Settings > Session and Startup

    4. Run “compiz –replace” (without quotes) from a terminal window and then close the terminal window

    5. Click “Save Session” in the session tab (you should see Compiz in there).

    Compiz should run on startup :)

  243. 268 Ricardo Iramar dos Santos 18 May 2011 at 1:07 am

    Hi!

    I’ve just did a xubuntu 11.04 fresh install and try to install compiz following this post. Everything is OK until I tried to run “compiz –replace”. Anyone can help me? Please find below the command output.

    ricardo@optimus:~$ compiz –replace

    Checking if settings need to be migrated …no
    Checking if internal files need to be migrated …no
    Backend : ini
    Integration : true
    Profile : default
    Adding plugins
    Initializing core options…done
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 1
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 0
    Window created on XQueryTree, map state isViewable? 1
    Window created on XQueryTree, map state isViewable? 1
    Window created on XQueryTree, map state isViewable? 1
    Window created on XQueryTree, map state isViewable? 1
    Window created on XQueryTree, map state isViewable? 1
    Window created on XQueryTree, map state isViewable? 1
    Initializing bailer options…done
    Initializing detection options…done
    Initializing composite options…done
    Initializing opengl options…done
    Initializing decor options…done
    Initializing mousepoll options…done
    Initializing vpswitch options…done
    Initializing animation options…done
    Initializing snap options…done
    Initializing expo options…done
    Initializing move options…done
    Initializing place options…done
    Initializing grid options…done
    Initializing gnomecompat options…done
    Initializing wall options…done
    Initializing ezoom options…done
    Initializing workarounds options…done
    Initializing staticswitcher options…done
    Initializing resize options…done
    Initializing fade options…done
    Initializing scale options…done
    Initializing session options…done
    Window 0x2a00284 created on ReparentNotify, map state isViewable? 0
    Window 0x32001d2 created on ReparentNotify, map state isViewable? 0
    Window 0x1a00330 created on ReparentNotify, map state isViewable? 0
    Window 0x2a00336 created on ReparentNotify, map state isViewable? 0
    Window 0x320025a created on ReparentNotify, map state isViewable? 0
    Window 0x1a00379 created on ReparentNotify, map state isViewable? 0
    Couldn’t find a perfect decorator match; trying all decorators
    Starting emerald
    Segmentation fault

  244. 269 Nestort 28 May 2012 at 8:12 am

    Iep,
    great, thanks! It worked for me. Although I added another line to file /etc/xdg/xfce4-session/xfce4-session.rc. Instead of just changing ‘xfwm4′ to ‘compiz’, you can also add another line in order to make compiz load your config settings instead of default ones. The relevant xml part should look like this:

    (I took this from http://forums.debian.net/viewtopic.php?f=20&t=79620)

    Really, first loading xfwm4 and then loading compiz makes little sense and will increase total boot time for your session. I would really like a cleaner way to get compiz loaded, but there is probably not such in XFCE. But at least you can change the window manager, unlike under gnome 3…


  1. 1 Ubuntu Care » Blog Archive » Xubuntu + Compiz = Pretty pretty Xubuntu Trackback on 10 December 2007 at 1:37 am
  2. 2 Linux etc. » Blog Archive » Compiz on Xubuntu 7.10 (Gutsy) Trackback on 18 December 2007 at 11:33 am
  3. 3   Xubuntu + Compiz by Ubuntu Musings Trackback on 29 December 2007 at 11:07 pm
  4. 4 Cody Somerville » Blog Archive » I broke it Trackback on 11 January 2008 at 5:48 pm
  5. 5 The Linux Index » Cody A.W. Somerville: I broke it Trackback on 11 January 2008 at 7:21 pm
  6. 6 Design your own desktop with Xfce 4.4 « Xubuntu Blog Trackback on 10 February 2008 at 4:11 pm
  7. 7 Design your own desktop with Xfce 4.4 « Sales Angles Community Trackback on 12 February 2008 at 1:04 am
  8. 8 TuxFeed » Xubuntu + Compiz = Pretty pretty Xubuntu Trackback on 15 February 2008 at 1:03 am
  9. 9 TuxFeed » Design your own desktop with Xfce 4.4 Trackback on 15 February 2008 at 1:05 am
  10. 10 Design your own desktop with Xfce 4.4 - part 2 « Xubuntu Blog Trackback on 15 February 2008 at 11:35 pm
  11. 11 TuxFeed » Design your own desktop with Xfce 4.4 - part 2 Trackback on 16 February 2008 at 12:03 am
  12. 12 One « Xubuntu Blog Trackback on 20 February 2008 at 10:01 pm
  13. 13 Xubuntu 7.10 for Compiz Fusion on M1330! Trackback on 13 March 2008 at 10:13 pm
  14. 14 consulta Xfce - Foros de CHW Trackback on 20 May 2008 at 3:46 pm
  15. 15 Master & Programmer » Blog Archive » Instalar Compiz-Fusion en Xubuntu Trackback on 14 November 2008 at 11:39 am
  16. 16 Haciendo limpieza | Iván de la Jara Trackback on 2 December 2008 at 9:27 am
  17. 17 Ubuntu 8.1 on my hp mininote 2133 - Part 2 « 4orty2wo Trackback on 12 January 2009 at 3:42 pm
  18. 18 Instalar Compiz-Fusion en Xubuntu « pedroescudero.info Trackback on 25 June 2009 at 3:50 pm
  19. 19 Lenovo GeForce 6200 Video Card Problems | HardwareInReview Trackback on 16 March 2010 at 6:06 pm
  20. 20 Lenovo GeForce 6200 Video Card Problems Trackback on 2 May 2010 at 12:46 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




a

RSS More Xubuntu


Follow

Get every new post delivered to your Inbox.

Join 42 other followers

%d bloggers like this: