diff --git a/data/firstsetup.desktop b/data/firstsetup.desktop new file mode 100644 index 0000000..93f89bb --- /dev/null +++ b/data/firstsetup.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=FirstSetup +Comment=This session provides a First Setup interface +Exec=env GNOME_SHELL_SESSION_MODE=firstsetup gnome-session --builtin --session=firstsetup +TryExec=gnome-shell +Icon= +Type=Application +DesktopNames=vanilla:GNOME +X-Ubuntu-Gettext-Domain=gnome-session-3.0 \ No newline at end of file diff --git a/data/firstsetup.json b/data/firstsetup.json new file mode 100644 index 0000000..a49ab99 --- /dev/null +++ b/data/firstsetup.json @@ -0,0 +1,9 @@ +{ + "parentMode": "user", + "hasOverview": false, + "showWelcomeDialog": false, + "panel": { "left": [], + "center": ["dateMenu"], + "right": ["a11y", "keyboard", "quickSettings"] + } +} \ No newline at end of file diff --git a/data/firstsetup.session b/data/firstsetup.session new file mode 100644 index 0000000..c22ad56 --- /dev/null +++ b/data/firstsetup.session @@ -0,0 +1,3 @@ +[GNOME Session] +Name=FirstSetup +RequiredComponents=org.vanillaos.FirstSetup;org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings; \ No newline at end of file diff --git a/data/meson.build b/data/meson.build index 6043356..d649ebd 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,3 +1,18 @@ +install_data( + 'firstsetup.desktop', + install_dir: join_paths(get_option('datadir'), 'xsessions') +) + +install_data( + 'firstsetup.json', + install_dir: join_paths(get_option('datadir'), 'gnome-shell', 'modes') +) + +install_data( + 'firstsetup.session', + install_dir: join_paths(get_option('datadir'), 'gnome-session', 'sessions') +) + desktop_file = i18n.merge_file( input: 'org.vanillaos.FirstSetup.desktop.in', output: 'org.vanillaos.FirstSetup.desktop',