Fix .xinitrc path and improve UI visibility in installation

- Change .xinitrc path from `/usr/home/ghostbsd/` to `/home/ghostbsd/` for
  correct FreeBSD home directory handling
- Fix indentation of .xinitrc writelines() calls to be inside the file context
  manager (prevents potential file write errors)
- Add explicit label2.show() call in InstallWindow to ensure progress label
  visibility during installation

These changes ensure proper file handling in "Try Live" mode and improve
installation UI feedback reliability.
This commit is contained in:
ericbsd
2025-12-10 17:33:12 -04:00
parent b3f1cb636d
commit 19b027bc0b
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_max_width_chars(10)
label2.set_alignment(0.0, 0.2)
label2.show()
hbox2 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, homogeneous=False, spacing=0, name="TransBox")
hbox2.show()
hbox.pack_start(hbox2, True, True, 0)
+1 -1
View File
@@ -208,7 +208,7 @@ class Interface:
InstallationData.keyboard_variant,
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.screensaver lock-enabled false &\n')
xinitrc.writelines('exec ck-launch-session mate-session\n')