Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Gnome apps strange dark/white theme changes once in a while. (Read 1797 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Gnome apps strange dark/white theme changes once in a while.

 Hi!. I'm having a couple of gnome apps: gnome-calculator (absolute genius app), gnome-characters, dino (xmpp, im), disks and liferea.

 A while ago these apps had white themes then returned to dark theme and now are white back again except disks which is still dark. Question is how can have them white or dark themed so I don't have this Scooby-Doo 😱 like unexpected appearance. 
I'm having xfce environment installed. Tnx ✌🏻


Re: Gnome apps strange dark/white theme changes once in a while.

Reply #1
have you set theme setting according to wiki?

Re: Gnome apps strange dark/white theme changes once in a while.

Reply #2

 Cool, managed to use that 'GTK_THEME=Adwaita:dark gnome-characters' command and it works. Had to make some bash scripts for each app cos if I add that GTK_THEME=Ad... on the xfce launcher it doesn't want to execute that way.

 Now I've remembered that my wireshark looks totally bad when my light theme is on, so wireshark I have to launch it with dark theme also but is not a gtk app think it's qt. How do I darken that one? Any idea? And tnx for the first pro tip 👍🏻.


Re: Gnome apps strange dark/white theme changes once in a while.

Reply #3
arch wiki has a great page on how to have a uniform look, although I don't use GTK or Qt apps that much, so I don't know how well it works.
probably this section is what you looking for.

Re: Gnome apps strange dark/white theme changes once in a while.

Reply #4
Hello,

Personally, I use XFCE4, but I add dolphin, because for my use, I prefer it to thunar:
Code: [Select]
sudo pacman -S ark dolphin kdegraphics-thumbnailers kimageformats oxygen-icons qt5-imageformats

****
Settings to make if you prefer a clear style (Adwaita) :

If after installing Artix XFCE with Adwaita theme, the background of Dolphin, Gimp or some configuration windows is black, just uninstall some packages:
Code: [Select]
sudo pacman -R artix-dark-theme artix-desktop-presets artix-gtk-presets artix-icons artix-qt-presets

****
If on Dolphin, which I'm adding to XFCE4, the icon background is black instead of light gray, with black text :-/
As a workaround, edit ~/.config/kdeglobals and edit edit:
[Colors:View]
BackgroundNormal=220,220,220
Code: [Select]
mousepad ~/.config/kdeglobals

Code: [Select]
cat /etc/environment
#QT_STYLE_OVERRIDE=gtk2
#QT_QPA_PLATFORMTHEME=gtk

Re: Gnome apps strange dark/white theme changes once in a while.

Reply #5

 I'm having this when I launch wireshark from the shell. Maybe one of you guys can draw a better conclusion than me while seeing this.

 



Re: Gnome apps strange dark/white theme changes once in a while.

Reply #7
 
 Tried that and in the mean time upgraded webkit2gtk, gtk-update-icon-cache and gtk4 and now wireshark doesn't wanna launch at all 🙃 🤦🏻‍♂️

Edit: The culprit of wireshark not launching was due to your tweak not those mentioned upgrades. Edited back environment file logged out/in and now wireshark launches as before with an impossible to view ui when light theme is on.


Re: Gnome apps strange dark/white theme changes once in a while.

Reply #8
Edit: The culprit of wireshark not launching was due to your tweak not those mentioned upgrades. Edited back environment file logged out/in and now wireshark launches as before with an impossible to view ui when light theme is on.
My little science ends there. :-[

Re: Gnome apps strange dark/white theme changes once in a while.

Reply #9

  :D  Check Mate 😄. It's good though I've managed to have that disks app with light theme. It was messing with my feng shui for quite a while.

 QT it's even wilder than Gtk 😐. But anyway tnx for trying 👍🏻



 

Re: Gnome apps strange dark/white theme changes once in a while.

Reply #11

 Yeah maybe there I can fix something but I don't really get what exactly should I change in there. Went on https://doc.qt.io/ to read the docs but found some vague indications and only for windows OS. Also their wiki show how to build it but not how to use it. Is there any man page to read about qt? On arch wiki read that I have to modify per app environment with env, however looking upon env man there are few things in there that match my exact problem about theming.

I think I just have to trick wireshark to 'think' the dark theme is on and not the light theme. When dark theme is on wireshark looks perfect.



Re: Gnome apps strange dark/white theme changes once in a while.

Reply #13
On Artix XFCE openrc and with the manipulations that I indicated above, it looks like this :
 
Code: [Select]
neofetch
jp@jp-artix
 -----------
OS: Artix Linux x86_64
Kernel: 6.1.54-1-lts
Uptime: 12 mins
Packages: 1508 (pacman)
Shell: bash 5.1.16
Resolution: 1920x1080
DE: Xfce
WM: Xfwm4
WM Theme: Daloa
Theme: Adwaita [GTK2/3]
Icons: oxygen [GTK2], matefaenzadark 
Terminal: xfce4-terminal
Terminal Font: Roboto Mono 12
CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz
GPU: AMD ATI Radeon 540/540X/550/550X
Memory: 1364MiB / 15901MiB

Re: Gnome apps strange dark/white theme changes once in a while.

Reply #14

 Heard of a theme called greybird-gtk-theme (on debian) supposedly very well adapted for all apps but there is no greybird on arch but just on AUR :(