OBS System for recreating Xbox Game DVR on Linux
This system was originally made for Devin, now it is getting uploaded to GitHub, mainly for archival purposes.
NOTE: This guide assumes you are using Pop!_OS 20.10 and GNOME 3.38, milage may vary :/
- OBS
- Download this repository, either by using a tool like
git
orgh
or by downloading a ZIP file of the repository from here.
a. For Git CLI:git clone https://github.com/quinndoescode/obs-dvr.git
b. For GitHub's CLI:gh repo clone quinndoescode/obs-dvr
- Take the time to move the script labeled
obs-dvr-startup.sh
to a location you want it in. For this example, I put mine in/home/quinn/obs-dvr/
- Open "Startup Applications" and add an entry with the options in here (obviously substituting the command path to the actual location you made in the previous step, then press Browse to find it.) by pressing the Add button on the right
- Move the other file called
obs-dvr-backup.desktop
into$HOME/.local/share/applications/
- Open up OBS, go to Settings -> Output -> Check "Enable Replay Buffer" and change settings to taste
- While still in Options, go to Hotkeys, scroll down to Replay Buffer -> Save Replay. Change Hotkey to what you want to press to be able to save last n seconds
- Close OBS
- Run "OBS DVR Launcher" from your application menu
It is very easy to port this to other distros/DMs. The entire thing revolves around the CLI one-liner obs --startreplaybuffer --minimize-to-tray
Q: I use Discord. I don't want streamer mode being enabled every time I restart my computer
A: Disable it under User Settings -> Streamer Mode -> Uncheck "Automatically enable/disable"