mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-05 16:37:17 -04:00
Do not attempt to start Plasma on login under headless installations
This commit is contained in:
@@ -154,6 +154,9 @@ if [ "$formfactor" == 1 ] || [ "$formfactor" == 2 ] || [ "$formfactor" == 3 ]; t
|
|||||||
|
|
||||||
# directory ownership
|
# directory ownership
|
||||||
chown -R $username:users /home/"$username"/.local/share/color-schemes /home/"$username"/.local/share/konsole /home/"$username"/.config/KDE /home/"$username"/.local/share/dolphin /home/"$username"/.config/autostart /home/"$username"/.local/share/applications
|
chown -R $username:users /home/"$username"/.local/share/color-schemes /home/"$username"/.local/share/konsole /home/"$username"/.config/KDE /home/"$username"/.local/share/dolphin /home/"$username"/.config/autostart /home/"$username"/.local/share/applications
|
||||||
|
|
||||||
|
# shell profile
|
||||||
|
echo -e '\n[ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] && exec dbus-run-session startplasma-wayland' >> /home/"$username"/.profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,3 @@ export GOPATH="$XDG_DATA_HOME"/go
|
|||||||
# MISC SETTINGS
|
# MISC SETTINGS
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export BUILDDIR=/tmp/makepkg
|
export BUILDDIR=/tmp/makepkg
|
||||||
|
|
||||||
[ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] && exec dbus-run-session startplasma-wayland
|
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
loadkeys us
|
loadkeys us
|
||||||
echo ----------------------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------------------
|
||||||
echo rwinkhart\'s Artix Install Script
|
echo rwinkhart\'s Artix Install Script
|
||||||
echo Last updated October 16, 2024 \(rev. A\)
|
echo Last updated October 22, 2024 \(rev. A\)
|
||||||
echo ----------------------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------------------
|
||||||
echo You will be asked some questions before installation.
|
echo You will be asked some questions before installation.
|
||||||
echo -e "----------------------------------------------------------------------------------------------\n"
|
echo -e "----------------------------------------------------------------------------------------------\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user