You are not logged in.
Hi all,
I'm having a slight problem with themes. I installed gtk2-engines-xfce to get more themes, and then gtk3-engines-xfce to sort out some problems with those themes, but some problems went away while others remained.
Using Xfce-dusk as an example, here is a comparison between with gtk3-engines-xfce and without:
The first has many problems such as light backgrounds and dark text in places. The second has other problems including a lack of menu padding.
Any ideas on what I might be missing?
All the best,
Tom
Offline
Hello and welcome.
gtk3-engines-xfce has been deprecated. It doesn't support the newer gtk3 versions. You need to use a gtk3 theme that supports the version of gtk3 that is installed on your system.
You can install and run the adwaita-dark theme (which is similar to Xfce-dusk) by installing "gnome-themes-standard".
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hi, thanks for the explanation!
I tried adwaita-dark but it problems with Audacity (white on white text) and bar colour in CPU Graph:
I'm guessing I should report that somewhere — would it be issues with the theme, or the programs?
Offline
For audacity, go to Edit > Preferences > Interface and choose the dark theme.
I'm not sure what the "bars color" is meant to do. I don't see any change when I change the color on my system. Feel free to create a bug report at the bug tracker to see if the developer can provide some insight (or potentially fix a bug).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
For Audacity, this is with the dark theme, and light theme makes no difference to the text.
For CPU Graph, if you change the theme from adwaita to something like Greybird, the ‘Bars color’ takes effect.
I'm just not sure if I should file these to Audacity and CPU Graph, just to Adwaita-dark, or to all 3...
Offline
Interesting. Can you post the contents of the following files (if they exist)?
- ~/.gtkrc-2.0
- ~/.config/gtk-3.0/gtk.css
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Neither of those exist on my system. I'll have a look for them soon. Is there a string that I could do a file search for?
Offline
Here is Audacity with Adwaita-Dark (and Audacity dark theme preference set) on my Xubuntu 18.04 system:
As for the cpugraph bar, I had a closer look. Adwaita-dark uses the pixmap engine to draw the colors of the progress bars. In fact, many of the themes do. To change the color, you need to edit the /usr/share/theme/Adwaita-Dark/gtk-2.0/assets/progressbar* files. Note that this will affect the colour of all progress bars. I'm not sure how to override the engines.
There are also other dark themes you can try. Here is a recent reddit thread that lists a number of them.
As for the configuration files, what is the output of the following command:
cat $HOME/.gtkrc-2.0
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Here is a way of overriding Adwaita's hard-coded color. Add the following snippet to $HOME/.gtkrc-2.0 (create the file if it doesn't exist):
style "my-cpugraph"
{
engine "pixmap" {
image {
function = BOX
detail = "bar"
file = "color.png"
stretch = TRUE
border = {2, 2, 1, 1}
orientation = HORIZONTAL
}
image {
function = BOX
detail = "bar"
file = "color.png"
stretch = TRUE
border = {1, 1, 2, 2}
orientation = VERTICAL
}
}
}
widget "*cpugraph*" style "my-cpugraph"
... then create the file $HOME/color.png using your favourite editor and create a 2x2 image filled with the colour that you want to use.
Finally, restart the panel:
xfce4-panel -r
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for your help, it is much appreciated. It seems I have a broken system somehow as my Audacity install does not look like that...
For the bar colours, would you suggest CPUgraph should be fixed to override the theme as shown in the above solution?
Offline
For the bar colours, would you suggest CPUgraph should be fixed to override the theme as shown in the above solution?
Yes. Create a bug report and see what the developer says.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Will do!
Edit: https://bugzilla.xfce.org/show_bug.cgi?id=15186
Last edited by to7m (2019-03-10 23:25:35)
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 570.45 KiB (Peak: 587.29 KiB) ]