Sunday, October 16, 2011

Ubuntu 11.04 Cairo dock problem


Looks like i will have to get rid of my cairo dock , I am facing an unusual problem
as you can see in the image on the left side , my cairo dock is failing to draw the icons outside itself and i can't seem to be able to fix it.This is how it happened


I decided to upgradc banshee so i got the new ppa's in the software sources , then ran the software upgrade after which i have been facing this problem and i have no idea why and whats wrong.


What had happened even previous to that was all my cool gadgets and nice cool ways to moving around the linux desktop was gone.

In one of my effort i enabled something called fake transparency to make this work and suffice it to say it did not :( .

But since dock is the most important thing untill now i hardly cared so much. Now that dock broke i had to do something quick.


I started to read around to find out whats going on , after cruel searching and applying my brains and after many fruitless pursuits i finally seem to have figured it out .

What had happend was my compiz manager was not loaded as window manager at all , That solved the mystery of cool effects lost , but what about dock.

The dock does not require compiz to be around to work. Even then i decided to see why compiz is not running.

compiz --replace

trying to run this command seem to have loaded compiz but crashed instantly . Then i came about the post which called for inderect rendering

compiz --replace --indirect-rendering

this crashed my system to the point where i could not use keyboard at all , So i immidetely swithched my terminal CTRL + ALT + F1

and loggged in there and did

sudo service gdm restart


This basically restarts your gnome desktop manager

I came across the post quoting the following to be installed

sudo apt-get install freeglut3-dev


After which i realised that my opengl was still broken so i downloaded some packages which started with libgl-mesa-dri libgl-mesa-dri-dbg and dev packages

and then did

compiz --replace --indirect-rendering

And wallah my compiz not only got loaded was working fine.But dock was still in ruins i could not fix it.

While the cool effects were back on but my original requirement did not get fulfilled.

Then i realised i had enabled fake transperancy which i promptly disabled which fixed my dock .Yay !!!!!!!!!!1 :) ;)




1 comment: