[Quick Tip] How to remove the custom GTK+2 Ambiance and Radiance shadow

Radiance

GTK+2 Ambiance and Radiance feature properly-assigned shadows, but, by design, they are differently allocated, meaning, the menus' shadows are smaller than nautilus'.

The reason is that Ambiance and Radiance have in their configuration files different shadow-ing, but, fortunately, this is quite easy to adjust.

CompizCpnfig Settings Manager-->Window Decoration lets you adjust the shadow's radius (its size), opacity (the shadow strength), but Ambiance and Radiance can't be affected by this method.

If you want the same shadows everywhere (adjust them via compiz as you like), you just need to remove 1 line of code from Ambiance&Radiance metacity theme:
open a terminal and type

gksu nautilus

go to /usr/share/themes/Radiance/metacity-1
and open with Gedit or Geany metacity-theme-1.xml
then find and delete the line
shadow radius="45.0" opacity="0.75" color="#abde4f" x_offset="1" y_offset="4"
(line 428)

Now, Ambiance and Radiance will feature the same default shadow just like the other applications.

Share