Skip to content

Instantly share code, notes, and snippets.

@madewokherd
Last active June 14, 2025 03:54
Show Gist options
  • Select an option

  • Save madewokherd/538d0621e1f25835acba99e073fddd8f to your computer and use it in GitHub Desktop.

Select an option

Save madewokherd/538d0621e1f25835acba99e073fddd8f to your computer and use it in GitHub Desktop.
The customizations I make to my steam deck, primarily to run OBS in game mode
#!/bin/sh
set -ex
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate
# sudo steamos-unminimize
sudo pacman -S gstreamer-vaapi gst-plugin-pipewire libpulse gst-plugins-base-libs gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad mednafen git fakeroot make patch cmake pkgconf obs-studio libva-mesa-driver onboard k3b python-colorama python-aioconsole python-websockets debugedit
# packages that need to be repaired make compilation work:
sudo pacman -S glibc sdl2 linux-api-headers libglvnd gstreamer glib2 libsysprof-capture pcre2 libffi libunwind libelf zlib zstd xz orc libxcb wayland libx11 xorgproto glslang libinih openal libusb spirv-tools sdl2_ttf
# git clone https://github.com/madewokherd/pkgbuilds
cd ~/pkgbuilds
for package in python-aenum InputRedirection-SDL obs-gstreamer; do
if ! test -e $package; then
git clone https://aur.archlinux.org/${package}.git
fi
(cd $package && git fetch && git switch -f origin/HEAD --detach && git clean -fxd && makepkg --syncdeps && sudo pacman -U ./*.zst)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment