View Full Version : [lubuntu] menu borders for adwaita

June 4th, 2012, 12:44 PM
Ubuntu 12.04, 64bit, Gnome Classic.

Is there a way to tweak (gtk3) Adwaita and give it menu borders?

Please note that this question follows extensive googling, extensive trial and error:

(1) All links older than April 2012 are obsolete and useless.

(2) The files gtk-main.css and gtk-widgets.css do not exist any longer. They are now part of a binary file. The file gtkrc does exactly nothing.

June 11th, 2012, 10:29 PM
Hello - I ran into this myself today and was able to solve it by creating the file ~/.config/gtk-3.0/gtk.css with the following contents:

.menu {
border-style: solid;
border: 1px solid @fg_color;
}If you use that file, note that it'll actually override the CSS for ANY theme you have set, not just Adwaita. I know that there's a file path you could use to have it only override Adwaita, but once I got that working I didn't much feel like digging around more. Obviously you can edit to suit.

FWIW, it seems that the reason Adwaita was coded without a menu border is that it relies on your window manager adding a drop shadow, instead. If, like me (and frank_n apparently), your WM doesn't do that, this might be for you.

June 18th, 2012, 05:41 PM
Thanks a bunch! The only thing left to fix is the contextual (right click) menus inside application windows...