mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
displaymanager: Switch to sddm on the ISO
Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
10 files changed
+36
-36
No files matched your search
@@ -0,0 +1,8 @@
|
||||
[Autologin]
|
||||
User=liveuser
|
||||
Session=plasma.desktop
|
||||
Relogin=false
|
||||
|
||||
[Users]
|
||||
MinimumUid=100
|
||||
MaximumUid=60000
|
||||
@@ -0,0 +1,8 @@
|
||||
[Autologin]
|
||||
User=liveuser
|
||||
Session=plasma.desktop
|
||||
Relogin=false
|
||||
|
||||
[Users]
|
||||
MinimumUid=100
|
||||
MaximumUid=60000
|
||||
@@ -1,15 +0,0 @@
|
||||
[Autologin]
|
||||
Relogin=false
|
||||
Session=plasmax11
|
||||
User=liveuser
|
||||
|
||||
[General]
|
||||
HaltCommand=/usr/bin/systemctl poweroff
|
||||
RebootCommand=/usr/bin/systemctl reboot
|
||||
|
||||
[Theme]
|
||||
Current=breeze
|
||||
|
||||
[Users]
|
||||
MaximumUid=60000
|
||||
MinimumUid=1000
|
||||
@@ -45,7 +45,7 @@ main() {
|
||||
EOF
|
||||
|
||||
sudo cp "/usr/share/calamares/settings_${mode}.conf" /etc/calamares/settings.conf
|
||||
sudo -E dbus-launch calamares -D6 >> $log &
|
||||
exec pkexec-wrapper calamares -D6 >> $log
|
||||
}
|
||||
|
||||
main "$@"
|
||||
@@ -19,6 +19,10 @@ package=ly
|
||||
if pacman -Qs $package > /dev/null ; then
|
||||
ln -sf /usr/lib/systemd/system/ly.service /etc/systemd/system/display-manager.service
|
||||
fi
|
||||
package=plasma-login-manager
|
||||
if pacman -Qs $package > /dev/null ; then
|
||||
ln -sf /usr/lib/systemd/system/plasmalogin.service /etc/systemd/system/display-manager.service
|
||||
fi
|
||||
package=sddm
|
||||
if pacman -Qs $package > /dev/null ; then
|
||||
ln -sf /usr/lib/systemd/system/sddm.service /etc/systemd/system/display-manager.service
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
exec pkexec env \
|
||||
DISPLAY="$DISPLAY" \
|
||||
HOME="$HOME" \
|
||||
KDE_SESSION_VERSION="$KDE_SESSION_VERSION" \
|
||||
WAYLAND_DISPLAY="$WAYLAND_DISPLAY" \
|
||||
XDG_CURRENT_DESKTOP="$XDG_CURRENT_DESKTOP" \
|
||||
XDG_SESSION_TYPE="$XDG_SESSION_TYPE" \
|
||||
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
||||
dbus-launch "$@"
|
||||
@@ -17,6 +17,7 @@ _clean_packages() {
|
||||
# for xxx in "${_toberemoved_packages[@]}"; do pacman -Rs "$xxx" --noconfirm; done
|
||||
|
||||
rm /etc/sddm.conf || true
|
||||
rm /etc/plasmalogin.conf || true
|
||||
}
|
||||
|
||||
_pacman_fix() {
|
||||
|
||||
@@ -24,7 +24,6 @@ cachyos-keyring
|
||||
cachyos-mirrorlist
|
||||
cachyos-rate-mirrors
|
||||
cachyos-settings
|
||||
cachyos-themes-sddm
|
||||
cachyos-v3-mirrorlist
|
||||
cachyos-v4-mirrorlist
|
||||
chwd
|
||||
@@ -143,7 +142,6 @@ plasma-integration
|
||||
plasma-nm
|
||||
plasma-pa
|
||||
plasma-workspace
|
||||
plasma-x11-session
|
||||
polkit
|
||||
polkit-kde-agent
|
||||
power-profiles-daemon
|
||||
@@ -155,7 +153,7 @@ rp-pppoe
|
||||
rsync
|
||||
rtkit
|
||||
rxvt-unicode-terminfo
|
||||
sddm
|
||||
plasma-login-manager
|
||||
sdparm
|
||||
sg3_utils
|
||||
smartmontools
|
||||
@@ -191,22 +189,7 @@ wpa_supplicant
|
||||
wvdial
|
||||
xdg-user-dirs-gtk
|
||||
xdg-utils
|
||||
xf86-input-elographics
|
||||
xf86-input-evdev
|
||||
xf86-input-libinput
|
||||
xf86-input-synaptics
|
||||
xf86-input-vmmouse
|
||||
xf86-input-void
|
||||
xf86-video-amdgpu
|
||||
xf86-video-fbdev
|
||||
xf86-video-nouveau
|
||||
xf86-video-qxl
|
||||
xf86-video-vmware
|
||||
xfsprogs
|
||||
xl2tpd
|
||||
xorg-server
|
||||
xorg-xinit
|
||||
xorg-xkill
|
||||
xorg-xrandr
|
||||
xorg-xrdb
|
||||
yad
|
||||
zfs-utils
|
||||
@@ -33,4 +33,5 @@ file_permissions=(
|
||||
["/usr/local/bin/removeun-online"]="0:0:755"
|
||||
["/usr/local/bin/prepare-live-desktop.sh"]="0:0:755"
|
||||
["/usr/local/bin/nvidia-module-loader"]="0:0:755"
|
||||
["/usr/local/bin/pkexec-wrapper"]="0:0:755"
|
||||
)
|
||||
Reference in new issue
Block a user