[Bug 2037676] Re: ubiquity needs to preserve GTK_THEME when launched from live session

Launchpad Bug Tracker 2037676 at bugs.launchpad.net
Fri Sep 29 03:22:39 UTC 2023


This bug was fixed in the package ubuntustudio-default-settings -
23.10.15

---------------
ubuntustudio-default-settings (23.10.15) mantic; urgency=medium

  * Set GTK_THEME environment variable for live session (LP: #2037676)

 -- Erich Eickmeyer <eeickmeyer at ubuntu.com>  Thu, 28 Sep 2023 12:01:48
-0700

** Changed in: ubuntustudio-default-settings (Ubuntu)
       Status: Fix Committed => 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:
  In Progress
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