How unlbslk/arch-deckify works
Purpose and execution model
Arch-Deckify is a shell-script-based system provisioner for Arch Linux. It converts a desktop installation into a SteamOS-like dual-session machine: a Gamescope/Steam gaming session plus a selected Wayland desktop session. It is run directly by the user, typically through the remote-shell install command targeting install.sh.
Primary installer orchestration
install.sh is the central control plane. It interactively selects the default desktop session, establishes required package-management capabilities, installs gaming-stack dependencies, and writes system/user integration artifacts. It operates across privileged OS boundaries: pacman repositories/packages, AUR packages, /etc configuration, sudoers, udev, SDDM, and user desktop/application shortcuts.
• install.sh
• README.md
Session and display-manager integration
The architecture relies on SDDM autologin/session configuration to make gaming and desktop modes selectable at login and during runtime. Installation creates an sddm.conf configuration and a steamos-session-select command/interface that switches into gamescope or the chosen desktop Wayland session. A passwordless sudoers rule enables this switching path without interrupting the Steam UI.
• install.sh
• change_default_desktop.sh
Gaming-mode runtime
Gaming Mode is provided by the AUR gamescope-session-steam-git package, which supplies the Gamescope-based Steam session and dependencies. Steam is installed/enabled alongside supporting runtime tools such as Gamescope, MangoHud, NTFS support, and brightness-control udev setup. The resulting Gamescope session is the primary controller-friendly fullscreen environment.
• install.sh
• icons
Desktop-mode selection and reconfiguration
The selected Wayland desktop session is persisted as the desktop target for steamos-session-select desktop. The standalone reconfiguration entry point lets an existing installation change that default without rerunning the complete bootstrap process.
• change_default_desktop.sh
• install.sh
User-facing operational entry points
A Zenity-based GUI helper exposes post-install optional setup and configuration workflows. Installation also creates launch shortcuts for Gaming Mode and the helper, while the update script is intended to be added to Steam as a non-Steam game so system updates can be initiated from the gaming interface.
• gui_helper.sh
• system_update.sh
• icons
Optional Decky Loader lifecycle
Decky Loader is explicitly separated from core provisioning. Dedicated scripts install and remove the unofficial Steam plugin-loader integration, allowing users to opt in or reverse it independently of the base dual-session environment.
• setup_deckyloader.sh
• remove_deckyloader.sh
• gui_helper.sh
Infrastructure and external dependencies
The supported host is Arch or an Arch-derived distribution with SDDM; KDE Plasma is recommended but other Wayland desktops are intended to work. The installer may bootstrap an AUR helper (yay when neither yay nor paru exists), enable Arch multilib, and install from pacman/AUR. Major external services/ecosystems are Arch repositories/AUR, Steam, ChimeraOS’s gamescope-session-steam project, Zenity, SDDM, Flatpak (optional), Bluetooth services, and Decky Loader.
Main entry points: install.sh Main installer · icons Desktop launch shortcuts · gui_helper.sh GUI helper · setup_deckyloader.sh Install Decky Loader
Components 18
Provisioning
- Installation guidance · Documents supported hosts and remote-shell installation.
README.md - Main installer · Bootstraps the dual-session machine and writes integration artifacts.
install.sh - Arch repos and AUR · Provides pacman packages and AUR gaming/session packages.
- AUR helper · yay is bootstrapped when yay and paru are absent.
- Host configuration · Includes multilib, packages, udev, sudoers, and user integration artifacts.
Session Integration
- SDDM configuration · Autologin and session setup expose the dual-session environment.
- Session selector · Switches to Gamescope or the persisted desktop session.
- Selected desktop session · Persisted target for desktop-mode switching.
- Change default desktop · Changes the desktop target without full bootstrap.
change_default_desktop.sh - Gamescope Steam session · Controller-focused fullscreen Steam environment from gamescope-session-steam-git.
- Steam · Hosts gaming mode and non-Steam operational shortcuts.
User Operations
- GUI helper · Provides post-install optional setup and configuration flows.
gui_helper.sh - System update script · Intended for use from Steam as a non-Steam game.
system_update.sh - Desktop launch shortcuts · Launch Gaming Mode and the GUI helper.
icons
Optional Extension
- Install Decky Loader · Opt-in installation of the unofficial Steam plugin loader.
setup_deckyloader.sh - Remove Decky Loader · Reverses the optional Decky Loader integration.
remove_deckyloader.sh - Decky Loader · Optional plugin-loader ecosystem separate from core provisioning.
Other components
- User · Runs installation and selects a desktop session.
Connections 23
- User → Installation guidance: follows
- User → Main installer: runs
- Main installer → AUR helper: bootstraps if needed
- Main installer → Arch repos and AUR: enables multilib and installs from
- AUR helper → Arch repos and AUR: accesses
- Main installer → Host configuration: provisions
- Main installer → SDDM configuration: writes
- Main installer → Session selector: installs
- Main installer → Selected desktop session: persists selected
- Main installer → Gamescope Steam session: installs
- Arch repos and AUR → Gamescope Steam session: supplies package
- SDDM configuration → Session selector: starts through login
- Session selector → Gamescope Steam session: switches to gaming
- Session selector → Selected desktop session: switches to desktop
- Change default desktop → Selected desktop session: updates
- Gamescope Steam session → Steam: runs
- Main installer → Desktop launch shortcuts: creates
- Desktop launch shortcuts → Gamescope Steam session: launches
- Desktop launch shortcuts → GUI helper: launches
- Steam → System update script: can launch as non-Steam game
- GUI helper → Install Decky Loader: offers setup
- Install Decky Loader → Decky Loader: installs
- Remove Decky Loader → Decky Loader: removes