Giter VIP home page Giter VIP logo

gamescope-session-deckifier's Introduction

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.

gamescope-session-deckifier's People

Contributors

morissonmaciel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.