deckctl — Steam Deck / Bazzite Manager
by @silverod
Steam Deck & Bazzite system management — gamescope, flatpak, podman, GPU, performance, game mode, system health
clawhub install deckctl📖 About This Skill
name: deckctl description: Steam Deck & Bazzite system management — gamescope, flatpak, podman, GPU, performance, game mode, system health version: 1.0.0 tags: - steam-deck - bazzite - gaming - linux - system - flatpak - gamescope
deckctl — Steam Deck / Bazzite System Manager
Manage Steam Deck hardware and Bazzite OS through OpenClaw. Covers gaming performance, system health, Flatpak management, GPU monitoring, and Gamescope session control.
When to Use
Prerequisites
gamescope-session-plus@steam systemd serviceCommands Reference
System Status
# Full system health check
echo "=== System ===" && uname -a && uptime
echo "=== Memory ===" && free -h
echo "=== Disk ===" && df -h / /var/home
echo "=== GPU ===" && lspci | grep -i vga
echo "=== CPU ===" && cat /proc/loadavg && nproc
echo "=== Temp ===" && cat /sys/class/thermal/thermal_zone*/temp 2>/dev/null
Gamescope / Game Mode
# Check gamescope session
systemctl --user status gamescope-session-plus@steam.serviceGamescope logs
journalctl --user -u gamescope-session-plus@steam.service --since "1 hour ago" --no-pager | tail -20Steam runtime info
ls ~/.steam/root/ubuntu12_32/steam-runtime/ 2>/dev/null
Flatpak Management
# List installed flatpaks
flatpak listSearch for an app
flatpak search Install a flatpak
flatpak install flathub Update all flatpaks
flatpak updateCheck for updates without installing
flatpak remote-info flathub
GPU & Performance
# GPU info
lspci -nnk | grep -iA3 vgaGPU memory (AMD VanGogh)
cat /sys/class/drm/card*/device/mem_info_vram_total 2>/dev/nullVulkan info
vulkaninfo --summary 2>/dev/null | head -30Active GPU frequency (AMD)
cat /sys/class/drm/card0/device/pp_dpm_sclk 2>/dev/null
cat /sys/class/drm/card0/device/pp_dpm_mclk 2>/dev/nullMangoHud toggle (per-game via env var)
MANGOHUD=1 %command%
Or in Gamescope:
gamescope -W 1280 -H 800 -f -- mangohud
Proton & Compatibility
# Installed Proton versions
ls ~/.steam/root/compatibilitytools.d/ 2>/dev/null
ls ~/.local/share/Steam/compatibilitytools.d/ 2>/dev/nullProton logs for a game
cat ~/.steam/root/logs/proton* 2>/dev/null | tail -20Protontricks
protontricks
Lutris
# Lutris version
lutris --versionLutris installed games
lutris --list-gamesLutris runners
ls ~/.local/share/lutris/runners/ 2>/dev/null
Container Gaming
# Podman status
podman ps
podman imagesDistrobox containers
distrobox list 2>/dev/nullToolbox containers
toolbox list 2>/dev/null
Streaming (Sunshine)
# Sunshine status
flatpak list | grep -i sunshineSunshine config
cat ~/.config/sunshine/config.conf 2>/dev/nullSunshine logs
journalctl --user -u sunshine --since "1 hour ago" 2>/dev/null | tail -20
OBS & Capture
# OBS plugins (VkCapture)
flatpak list | grep -i obsVkCapture layers
ls ~/.local/share/vulkan/implicit_layer.d/ 2>/dev/null
flatpak list | grep -i vkcapture
Network & Tailscale
# Network interfaces
ip addr show | grep -E "inet |wl|en"Tailscale
tailscale status 2>/dev/nullPort forwarding (for Sunshine)
tailscale serve --bg 47989 2>/dev/null
Common Tasks
Install a game from Flathub
flatpak search "game name"
flatpak install flathub
Check why a game is slow
1. Check GPU frequency: cat /sys/class/drm/card0/device/pp_dpm_sclk
2. Check thermal throttling: cat /sys/class/thermal/thermal_zone*/temp
3. Check if MangoHud is running: pgrep -a mangohud
4. Check Proton version: ls ~/.steam/root/compatibilitytools.d/
5. Check VRAM usage: cat /sys/class/drm/card*/device/mem_info_vram_used 2>/dev/null
Enable/disable performance overlay
# MangoHud via environment
export MANGOHUD=1 # enable
export MANGOHUD=0 # disablePersistent for Steam games
echo "MANGOHUD=1" >> ~/.steam/root/steam.sh.d/mangohud.conf 2>/dev/null
Factory reset a Flatpak
flatpak uninstall --delete-data
Troubleshooting
| Problem | Check |
|---------|-------|
| Game won't start | Proton version, disk space, GPU driver |
| Black screen | Gamescope resolution, HDR toggle, Wayland |
| Stuttering | VRAM, thermal throttling, swap |
| Audio crackling | PipeWire restart: systemctl --user restart wireplumber pipewire |
| Controller not working | evtest, journalctl -f, Steam Input settings |
| Flatpak won't update | flatpak repair, disk space |
| Steam Proton missing | Verify Proton in Steam Settings > Compatibility |
Notes
⚡ When to Use
⚙️ Configuration
gamescope-session-plus@steam systemd service