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

Erich Eickmeyer 2037676 at bugs.launchpad.net
Fri Sep 29 01:57:20 UTC 2023


** Changed in: ubuntustudio-default-settings (Ubuntu)
       Status: In Progress => Fix Committed

** Description changed:

  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:
+ ubiquity.desktop file's Exec= line to the following:
  
- Exec:sudo --preserve-
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Development, which is subscribed to ubuntustudio-default-settings
in Ubuntu.
https://bugs.launchpad.net/bugs/2037676

Title:
  ubiquity needs to preserve GTK_THEME when launched from live session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2037676/+subscriptions




More information about the Ubuntu-reviews mailing list