Skip to main content

Unvanquished Tray

Project description

Unvanquished Tray

PyPI badge AUR badge black badge

A minimalistic Unvanquished server browser that runs in your system tray. The icon shows the player count of the most populated server. A left click on the icon connects to this server (on supported platforms) while a right click opens a server list in a context menu. Clicking on a server will launch the game and connect to it.

Installation

via pip

pip install --user unvtray

on Arch Linux

$YOUR_AUR_HELPER -S unvtray

from source

git clone https://github.com/Unvanquished/unvanquished-tray-browser.git
cd unvanquished-tray-browser
python -m pip install --user build  # possibly already installed
python -m build
python -m pip install --user dist/*.whl

Running

To run Unvanquished Tray in the foreground, execute:

unvtray

or, if the above does not work (e.g. when ~/.local/bin is not in your PATH on Unix-like platforms):

python -m unvtray

Autostart

on GNU/Linux

To either of the above commands, append & as necessary (for running in the background) and add it to your display server startup file (e.g. ~/.xinitrc if starting Xorg manually or ~/.xprofile if using a display manager), or to your desktop environment or window manager configuration (e.g. .i3/config for i3). See the Arch Linux wiki for more options.

Troubleshooting

The game does not launch when selecting a server from the context menu

on GNU/Linux

Make sure xdg-utils are installed and that your distribution of Unvanquished comes with a .desktop file that describes the unv:// URI scheme. For example, the official updater and the official flatpak (all platforms) as well as the AUR package (Arch Linux) should install a .desktop file alongside the game.

on other platforms

Launching the game may not be implemented properly for other platforms; please comment in Unvanquished/unvanquished-tray-browser#2 if you are affected.

Launching the game on a different monitor than the tray icon is on

using i3

Add the following to your configuration:

for_window [class="daemon"] move container to output YOUR_MAIN_MONITOR

Additionally, for i3 it is recommended to disable fullscreen and enable borderless window in the game's settings and to add the following to your configuration:

for_window [class="daemon"] fullscreen

A similar solution may improve fullscreen behavior also with other tiling window managers.

Code and asset licenses

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unvtray-0.2.1.tar.gz (626.2 kB view details)

Uploaded Source

Built Distribution

unvtray-0.2.1-py3-none-any.whl (374.0 kB view details)

Uploaded Python 3

File details

Details for the file unvtray-0.2.1.tar.gz.

File metadata

  • Download URL: unvtray-0.2.1.tar.gz
  • Upload date:
  • Size: 626.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for unvtray-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6ae32e04908239dee4100f6c7093f576708c3ad6f055d12a1aded72cd0f91601
MD5 0a44d4e6342ce2c207703c18af34336b
BLAKE2b-256 e9f14b7055f9ef2811dab01bf28c53fd732b763a15fc314b5aa4a27229201a2f

See more details on using hashes here.

File details

Details for the file unvtray-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: unvtray-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 374.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for unvtray-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69c6593c758053751ee92efa10c5684b221e4c4a749ca7b133aceccb926ce549
MD5 5538846e531fc3e447c1d61f66c0181c
BLAKE2b-256 a1108ea8415bd7b8bbc36d8079811b65a79aa0df75d54db18c7263543c1b7a95

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page