How to remove shadow from gnome-panel?

Solution 1:

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

Solution 2:

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'.

Solution 3:

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.

Solution 4:

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.