Bug 421240 - Create a way to set a variable for downstreams to customize default GTK theme
Summary: Create a way to set a variable for downstreams to customize default GTK theme
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: 5.18.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 404226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-09 18:52 UTC by Erich Eickmeyer
Modified: 2022-01-21 05:18 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Eickmeyer 2020-05-09 18:52:45 UTC
SUMMARY
Currently, barring using /etc/skel, there is no way to set the default GTK theme for downstream Linux distributions. In my case, Ubuntu Studio, we use the Materia theme by default. We wish to make it the default for GTK and Qt applications, which I can do for Qt, but not for GTK.

STEPS TO REPRODUCE
Attempt to set default GTK theme via $XDG_CONFIG_DIRS/gtk-3.0/settings.ini and/or $XDG_CONFIG_DIR/.gtkrc-2.0


OBSERVED RESULT
Settings are completely ignored, defaults to Breeze theme.

EXPECTED RESULT
Settings default to theme set in $XDG_CONFIG_DIRS/gtk-3.0/settings.ini and/or $XDG_CONFIG_DIRS/.gtkrc-2.0

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04 LTS
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
I'm the Ubuntu Studio lead, and, while not completely barring our transition to KDE Plasma, this does create an issue for users that hit the "default" button and it defaults to Breeze. Currently, I'm having to use /etc/skel to set the default for new user accounts, which is far from ideal.
Comment 1 Nate Graham 2020-06-16 05:22:01 UTC
*** Bug 404226 has been marked as a duplicate of this bug. ***