Skip to content

A script for gamescope-session on stock Arch Linux

Notifications You must be signed in to change notification settings

Grimish-ng/deckifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Maintained GitHub last commit GitHub repo size Bitbucket open issues GitHub commit activity (branch)


Deck-ifier

SteamOS session on any Arch-based distro!

This repository aims to add required SteamDeck's binaries for Gamescope Wayland session with full "Switch to Desktop", "Game Mode" support and other required components to Arch Linux.

This adds almost all of the required SteamOS dependencies, as well as FPS limiting, flyouts, performance overlay and so on.


IMPORTANT

This only works for ArchLinux running Cinnamon DE and LightDM as display manager. The files named as jupiter-biosupdate and steamos-update are just dummy files for Gamescope Session to work. I'm working on an automated installation script but just wanted to share this as soon as i got it working.


Pre-requisites

Before installing, make sure the multilib repository is enabled in /etc/pacman.conf and nano, mangohud, lib32-mangohud and mangoapp installed.

Steps:

1. Enable autologin on LightDM

groupadd -r autologin
useradd -m ${USERNAME} -G autologin
echo "[Seat:*]
autologin-user=${USERNAME}" > /etc/lightdm/lightdm.conf.d/00-autologin-user.conf

2. Add needed sudo privileges

echo "${USERNAME} ALL=(ALL) NOPASSWD: /usr/bin/dmidecode -t 11" > /etc/sudoers.d/steam
echo "${USERNAME} ALL=(ALL) NOPASSWD: /usr/bin/gamescope-session-use-lightdm" > /etc/sudoers.d/gamescope

3. Cloning this repo and copy files with proper permissions

git clone https://github.com/lostalejandro/deckifier.git && cd deckifier
cp -rf rootfs/usr/* /usr
cp -rf rootfs/etc/* /etc
chmod 777 /usr/bin/jupiter-biosupdate
chmod 777 /usr/bin/steamos-update
chmod 777 /usr/bin/steamos-session-select
gio set /usr/share/applications/org.valve.gamescope.desktop metadata::trusted true
chmod a+x /usr/share/applications/org.valve.gamescope.desktop

4. Go inside polkits folder and replace with your username SteamVR's Policy

cd /usr/share/polkit-1/actions && nano org.valve.steamvr.policy
At line 14 replace /home/alejandro with your username
ctrl+O and Enter to Save
ctrl+X to exit

5. Reboot and enjoy SteamOS on ArchLinux!

reboot

Credits:

To Joaquín Ignacio Aramendía and ChimeraOS's Team. To Adam Jafarov. To Gamescope, Valve and Steam developers. To everyone involved on these amazing projects.

About

A script for gamescope-session on stock Arch Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.9%
  • Python 4.1%