added code to update .xinitrc when choosing try livecd
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user