2023-09-28 19:01:04 |
Erich Eickmeyer |
bug |
|
|
added bug |
2023-09-28 19:01:16 |
Erich Eickmeyer |
tags |
|
mantic |
|
2023-09-28 19:05:44 |
Erich Eickmeyer |
description |
Currently, when launched from the live session, Materia 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 using the ubuntustudio-live-settings.postinst to change the Exec line to the following:
Exec=env GTK_THEME=Materia-dark sudo --preserve-env=DBUS_SESSION_BUS_ADDRESS,XDG_DATA_DIRS,XDG_RUNTIME_DIR,GTK_THEME sh -c 'ubiquity gtk_ui'
This way the GTK theme is specified and gets preserved in the sudo environment.
I have tried researching better ways to do this, including a dpkg-divert with replacing the whole file, but replacing the whole file has the side-effect of losing whole translations. However, if that would be a better route, I'm welcome to that as a recommendation as microsurgery with sed a dirty hack to me. |
Currently, when launched from the live session, Materia 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 using the ubuntustudio-live-settings.postinst to change the Exec line to the following:
Exec=env GTK_THEME=Materia-dark sudo --preserve-env=DBUS_SESSION_BUS_ADDRESS,XDG_DATA_DIRS,XDG_RUNTIME_DIR,GTK_THEME sh -c 'ubiquity gtk_ui'
This way the GTK theme is specified and gets preserved in the sudo environment.
I have tried researching better ways to do this, including a dpkg-divert with replacing the whole file, but replacing the whole file has the side-effect of losing whole translations. However, if that would be a better route, I'm welcome to that as a recommendation as microsurgery with sed is a dirty hack to me. |
|
2023-09-28 21:53:05 |
Erich Eickmeyer |
description |
Currently, when launched from the live session, Materia 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 using the ubuntustudio-live-settings.postinst to change the Exec line to the following:
Exec=env GTK_THEME=Materia-dark sudo --preserve-env=DBUS_SESSION_BUS_ADDRESS,XDG_DATA_DIRS,XDG_RUNTIME_DIR,GTK_THEME sh -c 'ubiquity gtk_ui'
This way the GTK theme is specified and gets preserved in the sudo environment.
I have tried researching better ways to do this, including a dpkg-divert with replacing the whole file, but replacing the whole file has the side-effect of losing whole translations. However, if that would be a better route, I'm welcome to that as a recommendation as microsurgery with sed is a dirty hack to me. |
Currently, 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 using the ubuntustudio-live-settings.postinst to change the Exec line to the following:
Exec=env GTK_THEME=Materia-dark sudo --preserve-env=DBUS_SESSION_BUS_ADDRESS,XDG_DATA_DIRS,XDG_RUNTIME_DIR,GTK_THEME sh -c 'ubiquity gtk_ui'
This way the GTK theme is specified and gets preserved in the sudo environment.
I have tried researching better ways to do this, including a dpkg-divert with replacing the whole file, but replacing the whole file has the side-effect of losing whole translations. However, if that would be a better route, I'm welcome to that as a recommendation as microsurgery with sed is a dirty hack to me. |
|
2023-09-28 23:20:30 |
Erich Eickmeyer |
summary |
ubiquity needs to use Materia-dark theme when launched from live session |
ubiquity needs to preserve GTK_THEME when launched from live session |
|
2023-09-28 23:26:17 |
Erich Eickmeyer |
description |
Currently, 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 using the ubuntustudio-live-settings.postinst to change the Exec line to the following:
Exec=env GTK_THEME=Materia-dark sudo --preserve-env=DBUS_SESSION_BUS_ADDRESS,XDG_DATA_DIRS,XDG_RUNTIME_DIR,GTK_THEME sh -c 'ubiquity gtk_ui'
This way the GTK theme is specified and gets preserved in the sudo environment.
I have tried researching better ways to do this, including a dpkg-divert with replacing the whole file, but replacing the whole file has the side-effect of losing whole translations. However, if that would be a better route, I'm welcome to that as a recommendation as microsurgery with sed is a dirty hack to me. |
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. |
|
2023-09-28 23:26:38 |
Erich Eickmeyer |
bug task added |
|
ubiquity (Ubuntu) |
|
2023-09-28 23:26:45 |
Erich Eickmeyer |
ubiquity (Ubuntu): status |
New |
In Progress |
|
2023-09-28 23:26:49 |
Erich Eickmeyer |
ubiquity (Ubuntu): assignee |
|
Erich Eickmeyer (eeickmeyer) |
|
2023-09-28 23:26:58 |
Erich Eickmeyer |
ubiquity (Ubuntu): milestone |
|
ubuntu-23.10 |
|
2023-09-28 23:27:05 |
Erich Eickmeyer |
ubiquity (Ubuntu): importance |
Undecided |
High |
|
2023-09-28 23:27:07 |
Erich Eickmeyer |
ubuntustudio-default-settings (Ubuntu): importance |
Undecided |
High |
|
2023-09-29 00:33:57 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~eeickmeyer/ubiquity/+git/ubiquity/+merge/452423 |
|
2023-09-29 01:57:20 |
Erich Eickmeyer |
ubuntustudio-default-settings (Ubuntu): status |
In Progress |
Fix Committed |
|
2023-09-29 02:35:49 |
Erich Eickmeyer |
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. |
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. |
|
2023-09-29 03:22:39 |
Launchpad Janitor |
ubuntustudio-default-settings (Ubuntu): status |
Fix Committed |
Fix Released |
|
2023-09-30 02:21:01 |
Launchpad Janitor |
ubiquity (Ubuntu): status |
In Progress |
Fix Released |
|