Skip to content

Commit

Permalink
Main: don't start settings daemon in installer session
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Sep 30, 2024
1 parent d11221e commit f4f4007
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compositor/main.vala
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ namespace GreeterCompositor {
// overrides
GLib.Environment.set_variable ("XDG_CURRENT_DESKTOP", "Pantheon", true);

var settings_daemon = new SettingsDaemon ();
settings_daemon.start ();
if (GLib.Environment.get_variable ("DESKTOP_SESSION") != "installer") {
var settings_daemon = new SettingsDaemon ();
settings_daemon.start ();
}

var ctx = new Meta.Context ("Mutter(GreeterCompositor)");
ctx.add_option_entries (GreeterCompositor.OPTIONS, Constants.GETTEXT_PACKAGE);
Expand Down

0 comments on commit f4f4007

Please sign in to comment.