Skip to main content
100%

Proton script to run non-Steam Apps on Linux. Supposedly you have to install Steam first (requires Steam account). Then put this to `/usr/bin/proton.sh` and add required file permissions.

✓ Published0🌍 Public
MMcNull
Last edited Nov 1, 2020
Created on Oct 14, 2023

This example shows a bash script named `proton.sh` that runs a non-Steam application on Linux through Steam’s Proton compatibility layer. The script takes a file path as its first argument, checks that both the Proton 5.0 installation and the target file exist, then executes the Proton binary with `run $RUNNING`. It uses environment variables `STEAM_COMPAT_DATA_PATH` and `MOUNT_PATH` to set compatibility data and mount locations, along with `PROTON_USE_WINED3D11=1` and `PROTON_NO_ESYNC=1` to configure rendering and synchronization. The script outputs colored status messages via `printf` before redirecting Proton’s output to `/dev/null` and exiting with status 0.

AI-generated description

Similar vizzes