Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

How can I change the window shadow size for windows in the gnome shell?

I'm trying the shell out and I like it so far. I know it uses mutter rather than compiz so there's no ccsm that I'm used to.

But I understand you can configure almost everything within /usr/share/gnome-shell via css and js. Awesome

Anybody know where the window shadow line is?

share|improve this question
little bump. Is it true that the mutter source needs to be edited for window shadows? – winchendonsprings Nov 13 '11 at 2:02

You can only edit the Shell theme via /usr/share/gnome-shell, not the windows. As far as I know, you must edit the mutter source code, and this might become quite difficult if you don't know programming.

share|improve this answer
There is nothing like CCSM (compiz config settings manager) yet for mutter that you know of? – winchendonsprings Nov 21 '11 at 20:03
Sorry, but I don't think there's a CCSM like Mutter settings manager :( – Alfredo Hernández Nov 21 '11 at 20:55

(Not tested)

Edit the theme manually by adding the following to ~/.config/gtk-3.0/gtk.css:

.window-frame {box-shadow: 0px 0px 20px black;}

Use values to suit :)


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.