Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MbetterLiveCD
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mbetter
MbetterLiveCD
Commits
3746f67d
Commit
3746f67d
authored
Feb 16, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installer
parent
0458f702
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
autoinstallergui.py
autoinstaller_gui/autoinstallergui.py
+15
-0
autoinstallergui.py~
autoinstaller_gui/autoinstallergui.py~
+17
-0
No files found.
autoinstaller_gui/autoinstallergui.py
View file @
3746f67d
...
...
@@ -2050,6 +2050,21 @@ exit 0
''
,
'# Generate unique client ID'
,
f
'ID_CLIENT="{client_id}"'
,
''
,
'LOG_FILE="/home/mbetterclient/debug.log"'
,
'if [ -f "$LOG_FILE" ]; then'
,
' # 1. Rotate existing backups (5 -> remove, 4 -> 5, etc.)'
,
' [ -f "${LOG_FILE}.4" ] && mv "${LOG_FILE}.4" "${LOG_FILE}.5"'
,
' [ -f "${LOG_FILE}.3" ] && mv "${LOG_FILE}.3" "${LOG_FILE}.4"'
,
' [ -f "${LOG_FILE}.2" ] && mv "${LOG_FILE}.2" "${LOG_FILE}.3"'
,
' [ -f "${LOG_FILE}.1" ] && mv "${LOG_FILE}.1" "${LOG_FILE}.2"'
,
''
,
' # 2. Move current log to .1'
,
' mv "$LOG_FILE" "${LOG_FILE}.1"'
,
''
,
' # 3. Ensure permissions remain correct for the user'
,
' chown mbetterclient:mbetterclient "${LOG_FILE}."*'
,
'fi'
,
''
,
'# Save the client ID to file'
,
'echo -n "$ID_CLIENT" > /tmp/IDCLIENT.txt'
,
...
...
autoinstaller_gui/autoinstallergui.py~
View file @
3746f67d
...
...
@@ -1478,6 +1478,8 @@ if which dbus-launch >/dev/null && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
fi
xset
-
dpms
;
xset
s
off
;
xset
s
noblank
(
sleep
5
&&
xrandr
--
auto
)
&
#
Start
Compositor
and
Window
Manager
in
background
#
picom
-
b
--
backend
glx
--
config
/
dev
/
null
&
...
...
@@ -2048,6 +2050,21 @@ exit 0
'',
'
#
Generate
unique
client
ID
',
f'
ID_CLIENT
=
"{client_id}"
',
'',
'
LOG_FILE
=
"/home/mbetterclient/debug.log"
',
'
if
[
-
f
"$LOG_FILE"
];
then
',
'
#
1.
Rotate
existing
backups
(
5
->
remove
,
4
->
5
,
etc
.)
',
'
[
-
f
"${LOG_FILE}.4"
]
&&
mv
"${LOG_FILE}.4"
"${LOG_FILE}.5"
',
'
[
-
f
"${LOG_FILE}.3"
]
&&
mv
"${LOG_FILE}.3"
"${LOG_FILE}.4"
',
'
[
-
f
"${LOG_FILE}.2"
]
&&
mv
"${LOG_FILE}.2"
"${LOG_FILE}.3"
',
'
[
-
f
"${LOG_FILE}.1"
]
&&
mv
"${LOG_FILE}.1"
"${LOG_FILE}.2"
',
'',
'
#
2.
Move
current
log
to
.1
',
'
mv
"$LOG_FILE"
"${LOG_FILE}.1"
',
'',
'
#
3.
Ensure
permissions
remain
correct
for
the
user
',
'
chown
mbetterclient
:
mbetterclient
"${LOG_FILE}."
*
',
'
fi
',
'',
'
#
Save
the
client
ID
to
file
',
'
echo
-
n
"$ID_CLIENT"
>
/
tmp
/
IDCLIENT
.
txt
',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment