Wednesday, September 27, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  10] [ 0]  / answers: 1 / hits: 17128  / 1 Year ago, sun, may 8, 2022, 1:12:31

I would like to change the white background of my file manager. (I really searched everywhere and tried a lot of things.)

I was trying to change CSS files of my theme (GTK2 & GTK3 folders) and I tried others themes too, but no luck so far.

I wish to change the "eye-killing" white to grey, In Windows you could just change that easily with the theme changer.

In Xubuntu (I'm using XFCE), this seems impossible.I switched back to Ubuntu, but there I couldn't change this, even they’re using same principles.

enter image description here

Could anyone give me a hint where I change this annoying white background?

Thanks in advance.

More From » gnome


You can try to change the "gtk_color_scheme" (gtk-2) or "default color scheme"(gtk-3) defined in the "gtkrc" or "gtk.css" files of your theme.

AS vasa1 explains in this answer, there are advantages to keep the themes in you ~/.themes folder.
Because will be user-specific and not system-wide and you do not need sudo to edit them.

Here you have an example.

In this case I'm running Xubuntu 13.04 with the default them "Greybird".
I only edit the gtkrc file (gtk-2) because Thunar (As far as I know) is a gtk-2 application.

1) Open a Terminal window and type:

  • sudo mousepad /usr/share/themes/Greybird/gtk-2.0/gtkrc

Search for the line nuber 6, and change the base_color from #fcfcfc to #CECECE

enter image description here


gtk_color_scheme =
base_color:#fcfcfc" #
Background, base.


gtk_color_scheme =
base_color:#CECECE" #
Background, base.

2) Logout and Login to see the changes.


enter image description here


enter image description here

Also you can edit the file gtk.css for the (gtk-3) applications.

  • sudo mousepad /usr/share/themes/Greybird/gtk-3.0/gtk.css

You can change the @define-color base_color from #fcfcfc to #CECECE

NOTE: This is just an example, please change the settings according to your needs.

Hope it helps.

[#29435] Monday, May 9, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 206
Total Questions: 110
Total Answers: 114

Location: Guam
Member since Tue, Nov 29, 2022
11 Months ago