| Summary | A small Linux/XFCE tray controller for an existing Stash server install. | |
| Repository | https://github.com/thelamewizard/stash-tray-linux |
stash-tray-linux
A small Linux/XFCE tray controller for an existing Stash server install.
It keeps the original simple behavior:
- starts Stash if it is not already running
- attaches to Stash if it is already running
- shows a tray icon while Stash is running
- Open Stash opens
http://localhost:9999/scenes - Quit Stash stops Stash and closes the tray icon
- if Stash stops outside the tray app, the tray icon closes too
Scope
This version targets Linux/XFCE first. It uses GTK 3 plus AppIndicator/Ayatana AppIndicator.
Requirements
Debian/Ubuntu/Xubuntu/XFCE:
sudo apt install python3-gi gir1.2-gtk-3.0 gir1.2-ayatanaappindicator3-0.1
Fedora:
sudo dnf install python3-gobject gtk3 libappindicator-gtk3
Arch/Manjaro:
sudo pacman -S python-gobject gtk3 libappindicator-gtk3
Install
From the project folder:
chmod +x install.sh
./install.sh
The installer will:
- check runtime dependencies
- look for a running
stash-linuxorstashprocess and save its binary path - fall back to
stash-linuxorstashfrom yourPATH - finally ask you for the full Stash binary path if needed
- optionally enable autostart on login
Run
After install:
stash-tray-linux
Or launch Stash Tray Linux from the XFCE application menu.
Autostart
Autostart is offered during install. It creates:
~/.config/autostart/stash-tray-linux.desktop
To disable autostart, delete that file.
Configuration
The saved Stash binary path lives at:
~/.config/stash-tray-linux/config.json
Example:
{
"stash_binary": "/home/you/apps/stash/stash-linux"
}
You can edit that file if your Stash binary moves.
URL
The tray opens:
http://localhost:9999/scenes
If you need a different URL, run with:
STASH_TRAY_URL="http://localhost:9999" stash-tray-linux
Uninstall
./uninstall.sh