Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Last update brought shadows to the Unity panel - or at least I just noticed them.

I know that I can remove any shadows I want through the Window Decoration plugin in ccsm but grabbing the panel doesn't give me its name.

So, what do I have to add to the Shadow Windows rule to remove the Unity panel shadows?

share|improve this question
up vote 7 down vote accepted

For 11.04 and 11.10:

Replace /usr/share/unity/3/panel-shadow.png with an invisible image.

share|improve this answer
Do you mean that the panel uses an image for the shadow instead of compiz's shadows?! Is there any reason that they chose it to be this way? – Chriskin Apr 4 '11 at 17:46
Yes, currently it's just an image (as it was in 10.10). I assume it's due to a lack of resources (namely time). Adding bling is usually not the top priority, but development doesn't stop with Natty Narwhal, so this probably will change in the future. ;-) – htorque Apr 4 '11 at 19:09
Just renaming it also seems to work :) – Fuzzy76 May 6 '11 at 13:20

For 14.04 and above:

Replace image /usr/share/unity/icons/panel-shadow.png with transparent png image.

Better way to find shadow in future revisions is locate panel-shadow.png in terminal.

share|improve this answer

For 12.04:

The relevant file is now at:


You can delete it, you can rename it, or you can back up the original image and used Gimp's eraser to make the image transparent (just erase the whole thing).

If Unity can't find it, it won' t complain (or show it to you).

Keep in mind that whenever Unity is updated, it will replace the shadow image file, and you'll have to repeat your fix accordingly. If you find yourself forgetting what file it is you modified (or where it lives) you can try renaming it to something more memorable, like annoying-panel-shadow.png. Then you can just type $ locate annoying and quickly find the right folder and file to update.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.