Skip to content
Snippets Groups Projects
Commit bb4cb3e9 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

configure xinitrc command line

parent cdfb0636
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,15 @@ config_66(){
oblog "Enable boot-user@${NEWUSER} at boot-user tree"
66-enable -zv3 -t ${NEWUSER}-session -C -F boot-user@${NEWUSER} || die "unable to enable boot-user@${NEWUSER} service"
BOOT_USER="$(readlink /etc/66/conf/boot-user@${NEWUSER}/version)"
BOOT_USER="${BOOT_USER}/boot-user@${NEWUSER}"
oblog "Configure boot-user@${NEWUSER} service"
sed -i "s:^DESKTOP_CMDLINE.*$:DESKTOP_CMDLINE=\!xfce4-session:" ${BOOT_USER} || die "unable to set DESKTOP_CMDLINE"
oblog "Apply change to the boot-user@{NEWUSER} service"
66-enable -zv3 -t ${NEWUSER}-session -F boot-user@${NEWUSER} || die "unable to apply ${NEWUSER}-session changes"
oblog "Create tree graphics for ${NEWUSER}, enables and makes it current"
su "${NEWUSER}" -c "66-tree -zv3 -Ecn graphics" || die "unable to create graphics tree"
......@@ -96,13 +105,6 @@ config_66(){
}
custo_once config_66
config_startx() {
sed -i "s:^\${cmd}\ jwm:#\${cmd}\ jwm:" /home/"${NEWUSER}"/.xinitrc
sed -i "s:^#\${cmd}\ openbox-session:\${cmd}\ xfce4-session:" /home/"${NEWUSER}"/.xinitrc
}
custo_once config_startx
## Configure pulseaudio
config_pulse(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment