Linux - Jonius7/SteamUI-OldGlory GitHub Wiki

SteamUI-OldGlory on Linux

Requires Python 3.8+

  • Install Python3TK, Idle and gcc-multilib: sudo apt-get install python3-tk sudo apt-get install idle3 sudo apt install gcc-multilib

  • Install libraries using pip: pip install jsbeautifier rjsmin libsass Pillow requests requests_oauthlib maturin pyppeteer

  • Install Rust https://www.digitalocean.com/community/tutorials/install-rust-on-ubuntu-linux

  • Run: maturin develop (you may need to create a Python virtualenv first:

    • sudo apt install python3-venv , then: link)

Download the source code (โค“ Code button) Extract to a separate folder.

Run python3 old_glory.py from the terminal/console.

Running with a shell script (.sh)

The source code comes with a .sh file included, but if you want to make your own:

Create a .sh file to run old_glory directly. Eg: name it RUN_old_glory.sh

#!/bin/bash

#name of directory with Python virtual environment
venvdir="venv"

source ../$venvdir/bin/activate
python old_glory.py

In terminal, make the .sh file executable:

chmod +x RUN_old_glory.sh

Then, to run it from the terminal:

./RUN_old_glory.sh

Patching CSS on Linux

New with 5.10: Use the Patch CSS button in Advanced Options


Old Way:

You will need to get a patched CSS file, the one that SteamFriendsPatcher creates. Unfortunately SFP is Windows-only, but the overall structure of the 5.css/libraryroot.css file is fairly simple to replicate.

The first lines are as follows:

/*patched*/LF
@import url("https://steamloopback.host/libraryroot.original.css");LF
@import url("https://steamloopback.host/libraryroot.custom.css");LF

NOTE: no carriage returns (CR), just newlines (LF)

Then the rest of the space is filled with tabs (โ†’) or spaces (โ€ƒ), up to the original file length. This is important, otherwise Steam will detect the file has changed and redownload the original one to overwrite it.

More details here...