Skip to content

Commit 442e0c4

Browse files
committed
feat: Add a just command to fix SteamVR on desktop releases
chore: Standardize just nomenclature for game patches
1 parent 7c5e26a commit 442e0c4

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ubl
5151
- [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) driver for overclocking Nintendo's Gamecube Controller Adapter to 1000hz polling.
5252
- Out of the box support for [Wooting](https://wooting.io/) keyboards.
5353
- Built in support for Southern Islands <sub><sup>(HD 7000)</sup></sub> and Sea Islands <sub><sup>(HD 8000)</sup></sub> AMD GPUs under the `amdgpu` driver.
54-
- A fix is available for [a TF2 bug](https://github.com/ValveSoftware/Source-1-Games/issues/5043) that makes the game crash on launch - `just fix-tf2-tcmalloc`
54+
- A fix is available for [a TF2 bug](https://github.com/ValveSoftware/Source-1-Games/issues/5043) that makes the game crash on launch - `just patch-tf2-tcmalloc`
5555

5656
### Desktop
5757

system_files/deck/shared/usr/share/ublue-os/just/60-custom.just

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ get-boilr:
138138
cp ~/.local/share/applications/BoilR.desktop ~/Desktop
139139
fi
140140

141-
# Fix a bug in TF2 that causes it to crash at startup
142-
fix-tf2-tcmalloc:
141+
# Patch a bug in TF2 that causes it to crash at startup
142+
patch-tf2-tcmalloc:
143143
#!/usr/bin/env bash
144144
if [ -f "$HOME/.steam/steam/steamapps/common/Team\ Fortress\ 2/bin/hl2_linux" ]; then
145145
echo "Found TF2 on internal SSD"

system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ enable-supergfxctl:
9191
echo "This requires an Nvidia image."
9292
fi
9393

94-
# Fix a bug in TF2 that causes it to crash at startup
95-
fix-tf2-tcmalloc:
94+
# Patch a bug in TF2 that causes it to crash at startup
95+
patch-tf2-tcmalloc:
9696
#!/usr/bin/env bash
9797
podman run \
9898
-v $HOME/.steam/steam/steamapps/common/Team\ Fortress\ 2/bin:/hl2_linux:Z \
@@ -111,6 +111,11 @@ patch-gmod:
111111
/tmp/patch-gmod/GModCEFCodecFix-Linux
112112
rm -rf /tmp/patch-gmod
113113

114+
# Fix an error that occurs after installing SteamVR in Bazzite-Arch
115+
patch-steam-vr:
116+
#!/usr/bin/env bash
117+
sudo setcap CAP_SYS_NICE+ep $HOME/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher
118+
114119
# Activate Valve-inspired Vapor theme on GNOME
115120
enable-vapor-theme:
116121
#!/usr/bin/env bash

0 commit comments

Comments
 (0)