[Bug 2037676] Re: ubiquity needs to preserve GTK_THEME when launched from live session
Launchpad Bug Tracker
2037676 at bugs.launchpad.net
Sat Sep 30 02:21:01 UTC 2023
This bug was fixed in the package ubiquity - 23.10.6
---------------
ubiquity (23.10.6) mantic; urgency=medium
[ Erich Eickmeyer ]
* Preserve GTK_THEME environment variable in live session (LP: #2037676)
-- Steve Langasek <steve.langasek at ubuntu.com> Fri, 29 Sep 2023
08:50:10 -0700
** Changed in: ubiquity (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2037676
Title:
ubiquity needs to preserve GTK_THEME when launched from live session
Status in ubiquity package in Ubuntu:
Fix Released
Status in ubuntustudio-default-settings package in Ubuntu:
Fix Released
Bug description:
Currently, in Ubuntu Studio, when launched from the live session,
Ubiquity is using the Adwaita GTK theme, which is inconsistent with
the experience. The only way I can think of is to modify the
ubiquity.desktop file's Exec= line to the following:
Exec=sudo --preserve-
env=DBUS_SESSION_BUS_ADDRESS,XDG_DATA_DIRS,XDG_RUNTIME_DIR,GTK_THEME
sh -c 'ubiquity gtk_ui'
Note the addition of GTK_THEME. This way the GTK theme is specified
and gets preserved in the sudo environment, so long as it is set.
The other part of this fix is using ubuntustudio-live-settings to set
the GTK_THEME=Materia-dark variable. As far as I know, this will be
the only flavor that needs it.
In my testing, no other flavor of Ubuntu required this variable to be
set as the correct GTK theme seemed to propogate correctly, probably
due to the desktop environments already being GTK-based.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2037676/+subscriptions
More information about the foundations-bugs
mailing list