https://bugs.kde.org/show_bug.cgi?id=415770
Bug ID: 415770 Summary: Environment variable 'GTK2_RC_FILES' is ignored Product: systemsettings Version: 5.17.4 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_gtk Assignee: aleix...@gmail.com Reporter: oguilhe...@protonmail.com Target Milestone: --- SUMMARY The kcm_gtk system component currently ignores the GTK2_RC_FILES environment variable and hardcodes reading/writing to ~/.gtkrc-2.0. I personally have the GTK2_RC_FILES variable set to $XDG_CONFIG_HOME/gtk-2.0/gtkrc in order to avoid cluttering my home directory. STEPS TO REPRODUCE 1. Open the terminal. 2. Backup your current ~/.gtkrc-2.0: (Don't forget to restore it afterwards! :) > mv ~/.gtkrc-2.0 ~/.gtkrc-2.0.bak 3. Point GTK2_RC_FILES to your backup file: > export GTK2_RC_FILES=~/.gtkrc-2.0.bak 4. Launch Plasma's GTK config.: > kcmshell5 kde-gtk-config OBSERVED RESULT kde-gtk-config still tries to read from ~/.gtkrc-2.0 instead of ~/.gtkrc-2.0.bak. EXPECTED RESULT kde-gtk-config should respect the GTK2_RC_FILES variable when reading/writing to the GTK2 config file. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.65.0 Qt Version: 5.14.0 -- You are receiving this mail because: You are watching all bug changes.