|
|
@ -81,8 +81,9 @@ do_distrorfs_second_stage() { |
|
|
|
|
|
|
|
echo installed additional packages. |
|
|
|
if [ $6 = desktop ]; then |
|
|
|
for pkg in xfce4 ukui-greeter; do |
|
|
|
DEBIAN_FRONTEND=noninteractive apt -y install $pkg || true |
|
|
|
for pkg in xfce4 unity-greeter; do |
|
|
|
DEBIAN_FRONTEND=noninteractive apt -y install $pkg || true |
|
|
|
rm -rf /usr/share/unity-greeter/logo.png || true |
|
|
|
done |
|
|
|
if [[ $2 = jammy || $2 = noble ]]; then |
|
|
|
sed -i 's/debian-x-terminal-emulator/gnome-terminal/g' /etc/xdg/xfce4/helpers.rc || true |
|
|
@ -103,7 +104,7 @@ do_distrorfs_second_stage() { |
|
|
|
ln -sf /lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service |
|
|
|
sed -i "s/gdm3/lightdm/" /etc/X11/default-display-manager |
|
|
|
echo '[SeatDefaults]' >> /etc/lightdm/lightdm.conf |
|
|
|
echo 'greeter-session=ukui-greeter' >> /etc/lightdm/lightdm.conf |
|
|
|
echo 'greeter-session=unity-greeter' >> /etc/lightdm/lightdm.conf |
|
|
|
echo 'user-session=xfce' >> /etc/lightdm/lightdm.conf |
|
|
|
|
|
|
|
echo installing desktop packages: $pkglist |
|
|
|