Closed davidmhewitt closed 3 years ago
It also seems that XDG_CURRENT_DESKTOP is a dictionary, so I wonder how it would work with a session named Pantheon:Installer
Just tried that and gnome-session
launches the autostarts for both session types (so we still get the dock and normal wingpanel etc in the installer session). But the GSettings overrides are correct.
We talked in standup about a couple things:
I've spent the evening trying to get the installer to run in the greeter, like initial setup does, and it seems like it's going to be impossible to do without tinkering with stuff that we shouldn't.
The lightdm
user isn't in the necessary groups to be able to elevate the permissions for the installer. So we need to continue to run it under the live session user which is in the sudo
group. I'll have a think about ways in which we can use that user for both the installer and live sessions, instead of using the guest account for the live/demo session.
Since #186 , the installer session doesn't have the GSettings defaults so we get the wrong icon theme/stylesheet etc.
After looking into this further, it doesn't really look like it would be possible to make it have
Pantheon
as itsXDG_CURRENT_DESKTOP
as that would cause the autostarts from the main session to start too (like the dock, and normal wingpanel, etc).I think there's a few options:
Pantheon-Installer