setting BROWSER to open as live user

ubuntu/noble
Walter Lapchynski 9 months ago
parent 48a5f7d792
commit 27850a5f22

@ -12,4 +12,5 @@ EOL
exit 1; exit 1;
fi fi
export BROWSER='sudo -H -u kubuntu firefox'
calamares -D8; calamares -D8;

@ -3,6 +3,7 @@
# Enables OEM installaiton mode in Calamares. # Enables OEM installaiton mode in Calamares.
if [ -e '/etc/calamares/OEM_MODE_ACTIVATED' ]; then if [ -e '/etc/calamares/OEM_MODE_ACTIVATED' ]; then
export BROWSER='sudo -H -u kubuntu firefox'
calamares -D8; calamares -D8;
exit; exit;
fi fi
@ -38,5 +39,6 @@ if kdialog --warningyesno "${msg}"; then
touch /etc/calamares/OEM_MODE_ACTIVATED; touch /etc/calamares/OEM_MODE_ACTIVATED;
# Launch Calamares # Launch Calamares
export BROWSER='sudo -H -u kubuntu firefox'
calamares -D8; calamares -D8;
fi fi

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
# Starts the Kubuntu OEM Environment. # Starts the Kubuntu OEM Environment.
export QT_STYLE_OVERRIDE="Breeze" export QT_STYLE_OVERRIDE="Breeze"
export BROWSER='sudo -H -u kubuntu firefox'
/usr/bin/kwin_x11 & /usr/bin/kwin_x11 &
/usr/bin/basicwallpaper /usr/share/wallpapers/Next/contents/3840x2160.png & /usr/bin/basicwallpaper /usr/share/wallpapers/Next/contents/3840x2160.png &

@ -12,4 +12,5 @@ EOL
exit 1; exit 1;
fi fi
export BROWSER='sudo -H -u lubuntu firefox'
calamares -D8; calamares -D8;

@ -3,6 +3,7 @@
# Enables OEM installaiton mode in Calamares. # Enables OEM installaiton mode in Calamares.
if [ -e '/etc/calamares/OEM_MODE_ACTIVATED' ]; then if [ -e '/etc/calamares/OEM_MODE_ACTIVATED' ]; then
export BROWSER='sudo -H -u lubuntu firefox'
calamares -D8; calamares -D8;
exit; exit;
fi fi
@ -38,5 +39,6 @@ if kdialog --warningyesno "${msg}"; then
touch /etc/calamares/OEM_MODE_ACTIVATED; touch /etc/calamares/OEM_MODE_ACTIVATED;
# Launch Calamares # Launch Calamares
export BROWSER='sudo -H -u lubuntu firefox'
calamares -D8; calamares -D8;
fi fi

@ -9,6 +9,7 @@ export XDG_SESSION_DESKTOP="Lubuntu"
export DESKTOP_SESSION="Lubuntu" export DESKTOP_SESSION="Lubuntu"
export QT_STYLE_OVERRIDE="Breeze" export QT_STYLE_OVERRIDE="Breeze"
export QT_QPA_PLATFORMTHEME="lxqt" export QT_QPA_PLATFORMTHEME="lxqt"
export BROWSER='sudo -H -u lubuntu firefox'
/usr/bin/openbox & /usr/bin/openbox &
/usr/bin/basicwallpaper /usr/share/lubuntu/wallpapers/lubuntu-default-wallpaper.png & /usr/bin/basicwallpaper /usr/share/lubuntu/wallpapers/lubuntu-default-wallpaper.png &

@ -11,4 +11,5 @@ EOL
exit 1; exit 1;
fi fi
export BROWSER='sudo -H -u ubuntu-unity firefox'
QT_STYLE_OVERRIDE=kvantum calamares -D8; QT_STYLE_OVERRIDE=kvantum calamares -D8;

@ -3,6 +3,7 @@
# Enables OEM installaiton mode in Calamares. # Enables OEM installaiton mode in Calamares.
if [ -e '/etc/calamares/OEM_MODE_ACTIVATED' ]; then if [ -e '/etc/calamares/OEM_MODE_ACTIVATED' ]; then
export BROWSER='sudo -H -u ubuntu-unity firefox'
QT_STYLE_OVERRIDE=kvantum calamares -D8; QT_STYLE_OVERRIDE=kvantum calamares -D8;
exit; exit;
fi fi
@ -35,5 +36,6 @@ if zenity --question --text="${msg}"; then
touch /etc/calamares/OEM_MODE_ACTIVATED; touch /etc/calamares/OEM_MODE_ACTIVATED;
# Launch Calamares # Launch Calamares
export BROWSER='sudo -H -u ubuntu-unity firefox'
QT_STYLE_OVERRIDE=kvantum calamares -D8; QT_STYLE_OVERRIDE=kvantum calamares -D8;
fi fi

@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
# Starts the Ubuntu Unity OEM Environment. # Starts the Ubuntu Unity OEM Environment.
DESKTOP_SESSION='ubuntu-unity-oem-env'; export DESKTOP_SESSION='ubuntu-unity-oem-env'
export BROWSER='sudo -H -u ubuntu-unity firefox'
/usr/bin/xfwm4 & /usr/bin/xfwm4 &
/usr/bin/basicwallpaper /usr/share/backgrounds/ubuntu-unity/ubuntu-unity-default.png & /usr/bin/basicwallpaper /usr/share/backgrounds/ubuntu-unity/ubuntu-unity-default.png &

Loading…
Cancel
Save