switch to steam flatpak for gaming server

This commit is contained in:
2025-03-04 09:31:15 -05:00
parent 495d2bb159
commit d7bb612677

View File

@@ -32,8 +32,8 @@ Host gamebox2
## Basic Apps ## Basic Apps
```bash ```bash
pacman -S vim sudo pacman -S vim
flatpak install io.missioncenter.MissionCenter sudo flatpak install io.missioncenter.MissionCenter
``` ```
## Install Sunshine ## Install Sunshine
@@ -62,34 +62,42 @@ systemctl --user disable --now sunshine
sudo flatpak uninstall --system --delete-data dev.lizardbyte.app.Sunshine sudo flatpak uninstall --system --delete-data dev.lizardbyte.app.Sunshine
``` ```
## Install Steam ## Steam
<https://wiki.archlinux.org/title/Official_repositories#multilib> Play games.
```bash ```bash
pacman -S steam sudo flatpak install com.valvesoftware.Steam
``` ```
1. Settings -> Autostart -> Add New -> Steam (Runtime) ## MangoHud
### mangohud <https://github.com/flightlessmango/MangoHud?tab=readme-ov-file#flatpak>
Start steam with mangohud Pretty Numbers for your Games.
```bash ```bash
sudo pacman -S mangohud lib32-mangohud sudo flatpak install org.freedesktop.Platform.VulkanLayer.MangoHud
cp /usr/share/applications/steam.desktop ~/.local/share/applications/steam.desktop flatpak override --user --env=MANGOHUD=1 com.valvesoftware.Steam
# Allow flatpak apps to read Mangohud config
flatpak override --user --filesystem=xdg-config/MangoHud:ro
``` ```
Edit ~/.local/share/applications/steam.desktop Edit `~/.config/MangoHud/MangoHud.conf`
```conf ```conf
Exec=/usr/bin/mangohud /usr/bin/steam-native %U ## pre defined presets
``` # -1 = default
# 0 = no display
# 1 = fps only
# 2 = horizontal view
# 3 = extended
# 4 = high detailed information
preset=2
```bash ## Enable most of the toggleable parameters (currently excludes `histogram`)
mkdir ~/.config/MangoHud # full
cp /usr/share/doc/mangohud/MangoHud.conf.example ~/.config/MangoHud/MangoHud.conf
``` ```
## Snapshot ## Snapshot