Skip to main content
Topic: Adwaita white theme not doing its thing (Read 1618 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Adwaita white theme not doing its thing

 
Hi guys. Recently bought a new laptop and of course I thought to install Artix openRC. Everything works perfect except adwaita white theme that doesn't seem to want to be applied properly. Is any quick environment variable I should edit so Adwaita starts to show up, as now it still look dark theme? Also a slightly off topic question, why it shows me only about 6 GB ram as in my bios states 8 GB

PS: with this new machine I managed to install artix openRC in under 2 minutes 😃✌🏻




Re: Adwaita white theme not doing its thing

Reply #1
Quote
with this new machine I managed to install artic openRC in under 2 minutes

Man, you are fast :)

Re: Adwaita white theme not doing its thing

Reply #2
GTK3 or 4?


 

Re: Adwaita white theme not doing its thing

Reply #4
Hello,
I am using Adwaita's light theme.
To make it work, I do:

Code: [Select]
sudo pacman -R artix-dark-theme artix-desktop-presets artix-gtk-presets artix-icons artix-qt-presets

If necessary, you can comment out the two lines in /etc/environment:
Code: [Select]
# QT_QPA_PLATFORMTHEME=gtk2
# QT_STYLE_OVERRIDE=gtk
Code: [Select]
sudo mousepad /etc/environment


Re: Adwaita white theme not doing its thing

Reply #6
Hello,
I am using Adwaita's light theme.
To make it work, I do..

Yeah tnx for the reply, however on my system those steps changed only very little at the login screen which turned white but the other user things remained untouched. Also after uninstall those pckges, connman has its window risen after I login.
I also commented out those 2 lines also and reboot.

Link suggested by @kiblaster seems to be down right now


 link up but now my wired connection got screwed, it impacted connman in a bad way

edit2: fixed everything except adwaita, it looks still dark 🫤..trying again kiblast link



Re: Adwaita white theme not doing its thing

Reply #7
Code: [Select]
GTK 2
~/.gtkrc-2.0
/usr/share/gtk-2.0/gtkrc

GTK 3 and GTK 4
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
lxappearance does GTK 2 and lxappearance-gtk3 does GTK 3 easily from the GUI.

Re: Adwaita white theme not doing its thing

Reply #8

lxappearance does GTK 2 and lxappearance-gtk3 does GTK 3 easily from the GUI.

Those packages are in conflict I can choose only one at a time.

Tried this and nothing happened
Code: [Select]
gsettings set org.gnome.desktop.interface gtk-theme Adwaita


For Gtk2 what should I do with these 2 lines?
Code: [Select]
~/.gtkrc-2.0
/usr/share/gtk-2.0/gtkrc

Tnx for reply


think I forgot to mention I'm on xfce DE

 It seems Adwaita is no longer maintained so I guess I have to get use to dark themes even if I can't see anything in a dark theme like I'm looking into a black hole.




Re: Adwaita white theme not doing its thing

Reply #9
You can use them one at time and you may need to install other themes like mint-themes.

Re: Adwaita white theme not doing its thing

Reply #10
AFAIK lxappearance-gtk3 handles both gtk2 and gtk3 themes.

Re: Adwaita white theme not doing its thing

Reply #11
Once you use lxappearance to set a theme you do not need it anymore.

~/.gtkrc-2.0
/usr/share/gtk-2.0/gtkrc

You make/edit them to set the theme or you can use lxappearance.

Re: Adwaita white theme not doing its thing

Reply #12
This was back in about 2020, afterwards I switched to Mate. There was some broken graphics code in XFWM, it had already been there for at least a couple of years as the person who started it had left the project before finishing it. On some machines the window borders were black and the buttons not displaying properly. This script changes the images that make up the display elements to another file type which helped in my case, you need to run it after every xfwm4 update. Also it showed a couple of the files were corrupted, and they had rather disturbingly been like that for some years without getting fixed.
Code: [Select]
#!/bin/bash

for f in /usr/share/themes/{Daloa,Default,Default-hdpi,Default-xhdpi,Kokodi,Moheli}/xfwm4/*.png

do
        if [[ -f $f ]]
        then
        rm ${f}
fi
done

for f in /usr/share/themes/{Daloa,Default,Default-hdpi,Default-xhdpi,Kokodi,Moheli}/xfwm4/*.xpm

do
        if [[ -f $f ]]
        then
        convert ${f} ${f%%.xpm}.png
        rm ${f}
fi

done

You also might need to install the relevant xpm to png conversion package, whatever that was ...  Imagemagick, I think. Also convert needs to change to magick to avoid a deprecation warning.
Check it makes sense in the latest version before running it because things may have changed, reinstall xfwm4 to revert the changes if needed. This is totally untested in the latest versions of xfwm4 so is only suitable for expert use. This worked by bypassing some xpm handling functions in xfwm4 incidentally, and might not be relevant at all in this case, but it's something else to check.

Re: Adwaita white theme not doing its thing

Reply #13

 Tried the lxappearance thing. In lxappearance it shows white theme while in reality my theme looks dark, so it's possible lxappearance itself is not up to date or it misses exactly the key point. There is a tiny possibility that the init itself calls at a very early stage this dark thing wich can not be undone by anything else.

 I read somewhere this, maybe it's a init thing..definitely the openRC devs don't like much light themes 😄😄🤫

"Make sure your desktop session is started with dbus-launch in ~/.xinitrc"

but I don't have an ~/.xinitrc folder to check whether I can do something about it in there.

about the script part, right now I don't wanna mess with things even more cos it may get even worse. Side note, even sound gets disabled after reboot so I have to enable it over and over.

Tnx all for trying to help me out ✌️


Re: Adwaita white theme not doing its thing

Reply #14
Tried the lxappearance thing. In lxappearance it shows white theme while in reality my theme looks dark,
Did you try to reopen apps or even reboot after make changes in lxappearance? Many apps need it to apply theme.

so it's possible lxappearance itself is not up to date or it misses exactly the key point.
I just tried Adwaita white theme with lxappearance and it works for me. Maybe it is XFCE thing, I don't have any DE just Openbox.