From 8205d8220e8d5aa54e6b189d35002e9b21aa442f Mon Sep 17 00:00:00 2001 From: ericbsd Date: Thu, 7 Oct 2021 06:50:59 -0300 Subject: [PATCH] added code to update .xinitrc when choosing try livecd --- install-station | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-station b/install-station index 79b0ca7..daba86e 100755 --- a/install-station +++ b/install-station @@ -145,6 +145,11 @@ class MainWindow(): self.notebook.next_page() self.notebook.show_all() if page == 1: + xinitrc = open('/usr/home/ghostbsd/.xinitrc', 'w') + xinitrc.writelines('gsettings set org.mate.SettingsDaemon.plugins.housekeeping active true &\n') + xinitrc.writelines('gsettings set org.mate.screensaver lock-enabled false &\n') + xinitrc.writelines('exec ck-launch-session mate-session\n') + xinitrc.close() Gtk.main_quit() def back_page(self, widget):