You are not logged in.

#1 2023-10-15 19:44:46

picoman
Member
Registered: 2023-10-15
Posts: 15

[SOLVED] No GTK Apps Are Reading The settings.ini or .gtkrc-2.0 config

I am using lxapperance on AwesomeWM to set my gtk 2 and gtk 3 theme to Adwaita-dark and neofetch shows it as my theme yet all gtk apps are refusing to use the theme and even any new instance of lxapperance forgets the theme.

I know the theme is installed as when I set it in lxapperance that instance of lxapperance will update to the correct theme, yet if I close lxapperance and reopen it ow any other GTK app it will not respect the theme.

Running

 GTK_THEME=Adwaita-dark:dark (gtk2 or gtk3 app) 

still has the app running without any theming.

My settings.ini and gtkrc-2.0 in my user have Adwaita-dark set, my /etc/gtk-3.0/settings.ini and /etc/gtk-2.0/gtkrc have the theme explicitly set, and my xprofile has an export for the theme.

I am on Arch using the mainline kernel and running the Awesome Window Manager.

These are the config files I am using

$HOME/.config/gtk-3.0/settings.ini

[Settings]
gtk-theme-name=Adwaita-dark
gtk-icon-theme-name=nuoveXT2
gtk-font-name=Sans 10
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=18
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb

$HOME/.gtkrc-2.0

# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

include "/home/daniel/.gtkrc-2.0.mine"
gtk-theme-name="Adwaita-dark"
gtk-icon-theme-name="nuoveXT2"
gtk-font-name="Sans 10"
gtk-cursor-theme-size=18
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintslight"
gtk-xft-rgba="rgb"

Output from neofetch:
Theme: Adwaita-dark [GTK2/3]

I just want a working dark theme, is that too much to ask?

Last edited by picoman (2023-10-16 16:37:05)

Offline

#2 2023-10-15 20:57:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,654

Re: [SOLVED] No GTK Apps Are Reading The settings.ini or .gtkrc-2.0 config

I just want a working dark theme, is that too much to ask?

Apparently. The gods probably hate you.

In the meantime:

gsettings get org.gnome.desktop.interface gtk-theme
printenv
GTK_THEME=Adwaita:dark gtk3-demo # how does this behave?

https://wiki.archlinux.org/title/GTK#Configuration

Offline

#3 2023-10-16 16:36:18

picoman
Member
Registered: 2023-10-15
Posts: 15

Re: [SOLVED] No GTK Apps Are Reading The settings.ini or .gtkrc-2.0 config

seth wrote:

Apparently. The gods probably hate you.

Funny, they dont anymore, a 2nd reboot of changing nothing fixed it.
I have no clue how it helped considering I already tried a reboot to no results but reboot number 2 fixed it.
I will just hope it stays fixed and will mark this solved for now.

Offline

Board footer

Powered by FluxBB