Home

Awesome

Shortix
A script that creates human readable symlinks for Proton game prefixes

Prerequireties

You need to install Protontricks from Discover on your Steam Deck, that's it.

Installation (Automatic)

Download the installer to the Desktop and double click it.

Attention for Firefox users: I noticed that Firefox will append ".download" to the file. I don't know why, but you need to remove this, so the file is called "shortex_installer.desktop" in order to be executable.

The installer will you ask you three things:

If you changed your mind about the service, just run the "Update Shortix" again.

Afterwards there's a new directory in you home directory, called Shortix.
In there you'll find all created symlinks / shortcuts to the installed games - which were found by Protontricks.
You'll also find a subdirectory called "_Shaders". In there you'll find shortcuts to all available shadercache directories.

In the Shortix directory you'll also find the shortix.sh and remove_prefix.sh scripts.
With shortix.sh you can run Shortix manually (run this in a Terminal or use right click and choose "Run in Konsole" if you're running KDE).
For remove_prefix.sh read the tutorial below. (Please note: in the directory you will find several hidden files, currently possible are: .shortix, .shortix_last_run, .id, .size. Those files are needed by the script as settings files, don't delete them!).

If you want to rerun the script manually, just delete all symlinks and the hidden files .shortix and .shortix_last_run. Both files are settings file for letting the script know if it already ran at least once. Then just run the shortix.sh in a terminal.
If you don't want ids or sizes to be added anymore, delete .id or/and .size and do the rerun thing from the line above.

Manual installation

  1. Go to the /tmp folder using cd /tmp
  2. Clone this repo with git clone https://github.com/Jannomag/shortix
  3. Create Shortix directory with mkdir -p /home/deck/Shortix
  4. Copy the script with cp /tmp/shortix/shortix.sh /home/deck/Shortix
  5. Copy the systemd service with cp /tmp/shortix/shortix.service /home/deck/.config/systemd/user
  6. Reload systemd daemon with systemctl --user daemon-reload
  7. Enable service with systemctl --user enable shortix.service
  8. Start service with systemctl --user start shortix.service
  9. Done (all those steps does the shortix_installer.sh for you

Background and explanation

I just wanted to have easier access to the prefixes for the games on my Steam Deck, so I created Shortix. What it does is really simple:

To change the restart interval you need to change two things:

  1. in /home/deck/Shortix/shortix.sh - change the value of the TIME variable in minutes
  2. in /home/deck/.config/systemd/user/shortix.service - change the 1800s value to your desired value in seconds

If you want you can also change the directory. For this modify the directory within the shortix.sh and also in the shortix.service file.

You can also run the script manually either by using the terminal directly using this command: /bin/bash /home/deck/Shortix/shortix.sh or right click on the file and chosse "Run in Konsole".

Prefix removal script

I've added a script called remove_prefix.sh to the Shortix directory.
This script allows you to remove not just the shortcut but also the whole prefix directory.
This will also work for shadercache shortcuts, just drag&drop those instead. Run this script in a terminal (or do right click -> "Run in Konsole" for KDE / Steam Deck).
Then you can drag an drop all shortcuts from the Shortix directory of which you want to remove the prefix directory.
Afterwards press enter, the script will notify you about the paths.
It will also ask you if you really want to delete them.
Pleas note: The deletion will remove the prefix / shadercache completely! This will also remove savegames (except cloud saves) and other game specific user data - finally!

Uninstall

To uninstall run the "Update Shortix" from the desktop and choose "no" when the script asks you if you want to install the service. Afterwards delete the Shortix directory in your home directory and the "Update Shortix" from desktop. That's it.

Tested systems / distros

Known issues

Contribution

If you have any suggestions, let me know!