Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions desktop-environment/gnome.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail

# Don't allow users to run this script as root
if ((EUID == 0)); then
Expand All @@ -19,9 +20,10 @@ if [[ -e /etc/systemd/system/display-manager.service ]]; then
fi
fi

# Enables the GDM display manager so GNOME starts automatically on boot
# Enables the GDM display manager so GNOME starts automatically on boot.
# --force replaces an existing display-manager.service symlink when switching DMs.
echo "Enabling GDM display manager"
sudo systemctl enable gdm.service
sudo systemctl enable --force gdm.service

# Enables NetworkManager so networking works out of the box in GNOME
echo "Enabling NetworkManager"
Expand Down
6 changes: 4 additions & 2 deletions desktop-environment/kde-plasma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail

# Don't allow users to run this script as root
if ((EUID == 0)); then
Expand All @@ -18,9 +19,10 @@ if [[ -e /etc/systemd/system/display-manager.service ]]; then
fi
fi

# Enables the SDDM display manager so KDE Plasma starts automatically on boot
# Enables the SDDM display manager so KDE Plasma starts automatically on boot.
# --force replaces an existing display-manager.service symlink when switching DMs.
echo "Enabling SDDM display manager"
sudo systemctl enable sddm.service
sudo systemctl enable --force sddm.service

# Enables NetworkManager so networking works out of the box in Plasma
echo "Enabling NetworkManager"
Expand Down
1 change: 1 addition & 0 deletions intel/intel-drivers.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail

# Don't allow users to run this script as root
if ((EUID == 0)); then
Expand Down