You are not logged in.
Pages: 1
When selecting a dark theme like Greybird-dark or Adwaita-dark in Xubuntu's Appearance setting, GTK4 applications do not use the dark-theme and appear in light mode.
The only way to fix this was to enter this line into terminal:
echo "export GTK_THEME=Greybird-dark:dark" >> ~/.profile
Would it be possible to add an option in the Appearance tab that allows the user to toggle a switch for dark mode to make this easier ?
Offline
Hello and welcome.
See: https://gitlab.xfce.org/xfce/xfce4-sett … issues/406. This functionality was added to xfce4-settings version 4.17.3. What version are you using?
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
@ToZ - I'm using xfce4-settings 4.18.2-1ubuntu1 and that setting does not appear or work when using dark themes with gtk4/adwaita app gui.
Offline
It should. At least it does in my testing.
Which distro are you using and what is the gtk4/adwaita app?
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
@ToZ - I'm using Xubuntu 23.10 (beta) with Transmission app.
Offline
I believe transmission has been migrated to GTK4. Try running it manually like this:
GTK_THEME="Greybird:dark" transmission-gtk
...and it should work. Greybird-dark doesn't currently support GTK4 (gtk4 support was recently added but it looks like it was just done for the light version).
Other themes that support gtk4 (they will have a gtk-4.0 folder in the theme directory) should be able to more efficiently switch between light and dark themes for those apps built on gtk4.
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
I noted above the command added to .profile to make sure gtk4 apps use the dark-theme, which is why I asked if it was possible to add a setting in Appearance to do this for beginners instead of relying on commands.
Offline
Yes. The problem is actually the theme - Greybird-dark doesn't yet support GTK4 apps. You could create a but report with the theme maker (https://github.com/shimmerproject/Greybird/issues) to remedy this.
For those themes that support GTK4 apps, the switch should happen automatically. (note: a patch was just added to also support themes that use different combinations of "dark" in the theme name (https://gitlab.xfce.org/xfce/xfce4-sett … 9c41e1c02d).
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
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 545.81 KiB (Peak: 546.66 KiB) ]