Skip to content

Instantly share code, notes, and snippets.

@DexFolf
DexFolf / openxr_linux.md
Created November 24, 2025 07:43
Fix for OpenXR games not working correctly with SteamVR on Linux (i.e. Beat Saber)

Fix for OpenXR games not working correctly with SteamVR on Linux (i.e. Beat Saber)

For some reason the "Set SteamVR as OpenXR Runtime" button is broken on Linux, here's how to do it manually.

Make an OpenXR config directory if it doesn't exist

$ mkdir -p ~/.config/openxr/1

Link SteamXR to be the default OpenXR runtime (assuming Steam is installed in the default directory)

$ ln -s ~/.local/share/Steam/steamapps/common/SteamVR/steamxr_linux64.json ~/.config/openxr/1/active_runtime.json
@DexFolf
DexFolf / puppis.md
Last active November 24, 2025 08:18
A guide to sharing your internet connection with a VR router on Linux for PCVR streaming on Quest

Puppis S1 Internet Sharing on Linux

This guide will help you share your internet connection with your Puppis S1 (or equivalent) for VR gaming on Linux using packet forwarding. I use this paired with ALVR to play PCVR games on my Quest 3.

This guide assumes you have ufw and nano installed, and are running KDE Plasma.

Your mileage may vary depending on your distro or setup, so if a step doesn't work, look up your distro's equivalent.

Enabling packet forwarding

Head over to /etc/default/ufw and change DEFAULT_FORWARD_POLICY to "ACCEPT"

@DexFolf
DexFolf / skip_discovery.js
Created September 1, 2025 23:21
Skip adult game in Steam Discovery Queue
/*
Currently in the UK, the Online Safety Act requires verification to view adult games.
If you are unfortunate enough to get an adult game in your Steam Discovery Queue,
it becomes impossible to skip to the next game, thus softlocking your queue.
This code snippet will add a "Next in Queue" button and click it for you.
You will be redirected to the "/explore" page but with the game removed from your queue.
Run this code snippet on the troublesome game in your queue using your browser's console.
(Ctrl+Shift+J)
There's probably a better way to write this, but I quickly cobbled this up to help a friend.