I’m using XFCE desktop and everything works flawlessly, except that I can’t remove background image in thunar :
How do you get rid of this ? I can’t find any option to do this ?!
I’m using XFCE desktop and everything works flawlessly, except that I can’t remove background image in thunar :
How do you get rid of this ? I can’t find any option to do this ?!
Try the following…
Create this file if it doesn’t exist already:
~/.config/gtk-3.0/gtk.css
Then add this code to the file:
.thunar .view * {
background-image: none;
}
Save your edits. Finally, log out and log back in. When you next open Thunar, the background image should be gone.
Thanks for your answer !
I had to add this to make it work :
.thunar .view * {
background-image: none;
background-color: #ffffff;
}
Without “background-color” the background image was still displayed.
Strange behaviour ?!
And now selected text is white on white background…
Do you know where these original settings are stored : perhaps it would be more effective to delete them ?
Menu–>Settings–>Appearance, you can see the name of the theme, which should be installed in /usr/share/theme.
Try this code instead, replacing the code in my previous post:
.thunar .standard-view,
.thunar .standard-view * {
background-image: none;
background-color: #fff;
color: #000;
}
If selected text is still white against a white background, add this code after the code above:
.thunar .standard-view *:selected {
color: #000;
}
It’s OK with this.
I guess I have to tweak this a little to make it stick to Qogir GTK theme.
I checked in /usr/share/themes and Qogir does not provide this background image in thunar…
The background image is in these locations:
/usr/share/themes/Qogir/gtk-3.0/assets/backimage.png
[727×345]
/usr/share/themes/Qogir/gtk-3.0/assets/backimage@2.png
[1455×691]
It’s referenced in this file:
/usr/share/themes/Qogir/gtk-3.0/gtk.css
For example,
window.thunar notebook scrolledwindow.frame.standard-view,
nemo-window .nemo-window-pane notebook scrolledwindow.view,
.nautilus-window notebook > stack {
background-image: -gtk-scaled(url("assets/backimage.png"), url("assets/backimage@2.png"));
background-repeat: no-repeat;
background-position: bottom right;
}
That’s what I was looking for ! Thanks !
This css rule in gtk.css just don’t load any image in background :
window.thunar notebook scrolledwindow.frame.standard-view, nemo-window .nemo-window-pane notebook scrolledwindow.view, .nautilus-window notebook > stack {
background-image: none;
}
Problem solved
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.