Merge pull request #12 from ghostbsd/fix/xinitrc-path-and-ui

Fix .xinitrc path and improve UI visibility in installation
This commit is contained in:
Eric Turgeon
2025-12-10 17:37:59 -04:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -112,6 +112,7 @@ class InstallWindow:
label2.set_line_wrap(True) label2.set_line_wrap(True)
# label2.set_max_width_chars(10) # label2.set_max_width_chars(10)
label2.set_alignment(0.0, 0.2) label2.set_alignment(0.0, 0.2)
label2.show()
hbox2 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, homogeneous=False, spacing=0, name="TransBox") hbox2 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, homogeneous=False, spacing=0, name="TransBox")
hbox2.show() hbox2.show()
hbox.pack_start(hbox2, True, True, 0) hbox.pack_start(hbox2, True, True, 0)
+3 -3
View File
@@ -208,10 +208,10 @@ class Interface:
InstallationData.keyboard_variant, InstallationData.keyboard_variant,
InstallationData.keyboard_model_code InstallationData.keyboard_model_code
) )
with open('/usr/home/ghostbsd/.xinitrc', 'w') as xinitrc: with open('/home/ghostbsd/.xinitrc', 'w') as xinitrc:
xinitrc.writelines('gsettings set org.mate.SettingsDaemon.plugins.housekeeping active true &\n') 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('gsettings set org.mate.screensaver lock-enabled false &\n')
xinitrc.writelines('exec ck-launch-session mate-session\n') xinitrc.writelines('exec ck-launch-session mate-session\n')
Gtk.main_quit() Gtk.main_quit()
elif page == 4: elif page == 4:
Button.show_back() Button.show_back()