How can I remove this shadow:

panel with shadow

from gnome-panel?

  • 2
    Please edit your question to tell us what desktop effects you have enabled and what theme you are using.
    – dv3500ea
    Commented Oct 10, 2010 at 16:10

5 Answers 5


If you want to keep shadows on windows but remove them from the panel,

Install compizconfig-settings-manager

you can use go to Window decoration

enter image description here

and set Shadow windows to (any) & !(type=Dock).

enter image description here

  • Do I need to logout and back in for this to take effect? Restarting compiz with "compiz --replace &" wasn't enough.
    – popey
    Commented Jul 9, 2011 at 0:33
  • Ok, dunno what I'm doing wrong but I have followed this guide and it absolutely does not remove the drop shadow on the panel.
    – popey
    Commented Jul 9, 2011 at 13:17
  • It doesn't work on Unity. Commented Jul 23, 2011 at 23:09
  • Just wanted to say this answer worked perfectly for me in gnome-classic. Or, as I like to call it, "gnome-proper". Thanks.
    – Questioner
    Commented Jan 7, 2012 at 4:00
  • Is it possible without third party apps? Compiz config want to disable Ubuntu Unity Plugin, looks not good.
    – Sonique
    Commented Nov 4, 2015 at 8:31

You can do this with compizconfig-settings-manager

sudo apt-get install compizconfig-settings-manager

run it and go window decoration settings. Set window shadow to 'none'.

  • 3
    This removes shadows from all windows, not just from the panel.
    – Jonathon
    Commented Oct 25, 2010 at 11:04

you have to disable desktop effect from System>Preferences>Appearances and in the 'visual effects' tab select 'None'

though there might be some other way like in compizconfig-settings-manager without disabling desktop effect but that I dont know.

  • 2
    This removes all desktop effects, not just the shadow on the panel. This means Expo, Cube, Blur, Fade etc. etc. will no longer be active.
    – Jonathon
    Commented Oct 25, 2010 at 11:05

NOTE: This solution is for the Unity panel in Ubuntu 11.04+, while the question was asked for gnome-panel.

Replace /usr/share/unity/3/panel-shadow.png with an invisible image. In other words, edit that PNG file and make it 100% transparent and remove the black shade in the image. The panel shadow will then disappear after a logout/login.

You could also create a new PNG file with a width of 1 px (height could be anything, preferably 20px) in gimp Install gimp , and remove the background white layer. The entire PNG will then be transparent, and then you could put this PNG in /usr/share/unity/3/panel-shadow.png.

  • 1
    Feel free to ask the same question but tag it unity instead and then post this answer, that way we have a Q+A for both. Commented Jul 9, 2011 at 15:30
  • In Ubuntu 14.04 the location of the file is actually /usr/share/unity/icons/panel-shadow.png Commented May 19, 2015 at 9:57

Just type or copy paste this: "any & !(type=dock)" under 'Shadow Windows' option in CCSM Window Decoration.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .