Scripts to install the GNOME Desktop on Steam Deck.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add some logging to each step

authored by

Different55 and committed by
GitHub
3f65d5b7 d05056ec

+12 -3
+12 -3
desktopgnome.sh
··· 4 4 5 5 # Disable read-only status 6 6 if test (sudo steamos-readonly status) != "disabled" 7 + echo "Making SteamOS writable for upgrades" 7 8 sudo steamos-readonly disable 8 9 end 9 10 10 11 # Prepare system for the pacman repos 12 + echo "Preparing system for upgrade" 11 13 sudo pacman-key --init 12 14 sudo pacman-key --populate archlinux 13 15 sudo pacman-key --populate holo 14 16 15 17 # Install GNOME packages 18 + echo "Installing GNOME" 16 19 sudo pacman --overwrite "*" -Syu gnome-keyring gnome-screenshot gnome-shell-extensions gnome-shell gnome-control-center gnome-tweaks gnome-software nautilus sushi xdg-user-dirs-gtk xdg-desktop-portal-gnome xorg-xinput 17 20 18 21 # Backup startplasma-x11 19 - sudo mv --no-clobber /usr/bin/startplasma-x11 /usr/bin/startplasma-x11.bak 22 + echo "Backing up KDE Plasma" 23 + if not test -e /usr/bin/startplasma-x11.bak 24 + sudo mv --no-clobber /usr/bin/startplasma-x11 /usr/bin/startplasma-x11.bak 25 + end 20 26 21 27 # Create startgnome-x11 22 28 echo "\ ··· 25 31 export GDK_BACKEND=x11 26 32 export XDG_CURRENT_DESKTOP=GNOME 27 33 exec gnome-session 28 - " | sudo tee /usr/bin/startgnome-x11 34 + " | sudo tee /usr/bin/startgnome-x11 > /dev/null 29 35 sudo chmod 755 /usr/bin/startgnome-x11 30 36 31 37 # Replace startplasma-x11 with startgnome-x11 38 + echo "Replacing KDE Plasma with GNOME" 32 39 sudo ln -s /usr/bin/startgnome-x11 /usr/bin/startplasma-x11 33 40 34 41 # Disable HiDPI 2x scaling 42 + echo "Fixing UI scaling" 35 43 gsettings set org.gnome.desktop.interface scaling-factor 1 36 44 37 45 # Autostart Steam silently on GNOME 46 + echo "Setting Steam to autostart silently on GNOME" 38 47 echo "\ 39 48 [Desktop Entry] 40 49 Name=Steam ··· 44 53 Type=Application 45 54 PrefersNonDefaultGPU=true 46 55 X-KDE-RunOnDiscreteGpu=true 47 - " | tee ~/.config/autostart/steam.desktop 56 + " > ~/.config/autostart/steam.desktop 48 57 chmod 644 ~/.config/autostart/steam.desktop