Pages

Monday, November 21, 2011

[SOLVED] How to fix the black background of Cairo Dock?


To be honest, I am a big fan of Cairo Dock. It makes my desktop look more beautiful than what it would have been without Cairo Dock.

I was using it from the beginning of my Linux journey, in Ubuntu 11.04. Of course, I am a newbie to Linux, just started using it couple of months ago. And it has been a real learning experience. I used to hate Windows from the beginning - since Windows98 but never had the guts to try out Linux. I am a gadget freak but not really a tech guru!

But, a recent crash of Windows XP changed my view forever. I have a HP Compaq desktop which I bought way back in 2003 when I got admission to IIM Ahmedabad. Since then it has been my companion - from Ahmedabad to Bangalore (when I joined my first job after a Management PhD in 2008). I have written my thesis on it, downloaded and watched countless number of movies (I am a movie buff), romanced my would-be wife (and now mother of my cute little angel!), played a lot of games, etc. etc. The list is endless.

Couple of months ago when my Windows XP crashed and I tried reinstalling it again with the official HP and Windows XP SP1 CDs, I realized that with SP1 I won't be able to run a lot of my favorite softwares in my P4, 1 GB DDR RAM PC. I upgraded it to SP3 but it again crashed. Then came a realization that I can try Linux for my 11 year old friend. A little bit of net browsing on my backup Asus EeePC popped the name Ubuntu. 11.04 was the flavor of Ubuntu those days. Immediate installation, some experimentation to make my Sify connection active started a journey of gaining knowledge on the unexplored territory - LINUX.

I realized Linux distro are not that intimidating as I thought initially. Now even my wife (very little tech oriented) and my mother (who can barely use a computer) are able to use it without much fuss.

Well, a long prelude! But, I am now a bit sentimental about Linux distros. Real saviors for those who hate unstable Windows and lousy office.

Coming back to Cairo dock - since then I have been using Cairo dock in Ubuntu.

I installed Ubuntu 11.04 in my Asus EeePC 1101 HA as well - but the netbook hardware seems to not like Ubuntu much. It was much slower than my PC. However, the Cairo dock was working perfect. Not satisfied with the speed, I installed Lubuntu LXDE desktop. And true to it's name, it was much lighter than the GNOME shell of Ubuntu 11.04. And I got the speed I like.

But the Cairo dock had a problem in Lubuntu 11.04 - an irritating black background!

A little bit of research on net gave me the solution. Right click on the Cairo Dock -> Cairo-Dock-> Configure -> Advanced -> Behavior -> System ->Composition -> Check Emulate composition with fake transparency.

And that's it! Now look at my beautiful Lubuntu 11.04 desktop with Cairo-dock (no OpenGL). It is faster, smarter and looks stunning!


13 comments:

  1. Hallelujah! Praised Be The Lord, and THANK-YOU ARINDAM!!!
    Like you, my Cairo Dock is priceless to me. IMHO, it should be pre-installed on all Linix Distros - .

    I had just switched away from Ubuntu - couldn't get 12.10 to boot from an Intel SSD in an Intel Config...go figure. After 25 years in custom IT App development, my patience for poorly coded and poorly Quality Assured Code - is minimal. I switched to Mint and it installed first time, and cleanly. I'm now running Mint/Cinnamon. BUT - Cairo had this horrid black BG - instead of Transparent BG. Thanks again Arindam, you saved me days of failed configurations...You are an IT Pro. :-)

    ReplyDelete
    Replies
    1. Glad to know my solution worked for you. Thanks :)

      Delete
  2. Glad to know my solution worked for you. Thanks :)

    ReplyDelete
  3. Thanks a lot.
    Worked for me too.
    I really love the Cairo dock especially after the GREAT INJUSTICE the power block of the nurts has done to me with that unusable contraption called gnome 3 so I'm happy as a child right now.

    ReplyDelete
    Replies
    1. Glad my solution worked for you!

      Yes, Gnome 3 sucks :).

      Delete
  4. Thanks Bro, It was driven me nuts ; )

    ReplyDelete
  5. well took me 2 days of figuring this one out , few hours of gooǵling until I found your guide...thanks

    ReplyDelete
  6. Sir,
    There is no 'composition' tab under Cairo Dock -> Cairo-Dock-> Configure -> Advanced -> Behavior -> System -> in my cairo dock settings so i can't select this option, recently i have installed amd catalyst for my graphics may be this could be interfering with the cairo dock settings......whatever the reason is i just can't apply your solution sir.

    ReplyDelete
    Replies
    1. Dear jyoti,
      I have the same question with you. But i found the button of Advanced mode. You can not the see the button because the black background hide this button. You should select other theme, the black background will move slightly,then try to get this button not to cover.

      When you get the advanced mode, you can see Behaviour -> System -> Composition.

      Delete
  7. cool bro, it worked for me. thanks a lot

    ReplyDelete