Repository navigation
0.4.0-1
What's new (since 0.3.1-1)
- New: gpu-switcher list, status and version answer in a terminal.
- New: the terminal commands work over SSH: they need no display.
- New: gpu-switcher version prints the version of the installed package.
- New: a terminal names a card the way the window names it.
- New: exit codes a script can branch on: 0 answered, 2 bad usage.
- Tooling: the window itself is covered by tests on a virtual display.
- Tooling: what a row advertises and what Apply means are pure functions.
- Tooling: coverage floor is 78%; the terminal front-end is 98% covered.
Install
sudo apt install ./gpu-switcher_0.4.0-1_all.debapt resolves any missing dependencies from the repository; offline, with
all dependencies present, sudo dpkg -i also works.
The package reloads the systemd unit and restarts a helper that is still
running after an upgrade, so no manual restart is needed.
Requires: python3 (>= 3.12), python3-gi, gir1.2-gtk-4.0 (>= 4.10),
libgtk-4-1 (>= 4.10), polkitd, dbus, udev, systemd, pciutils.
Checksum
sha256 074f4b7ef38db7683dbed61a8fa3c36aa49edfaf0f9d456037effae19f58469b
file gpu-switcher_0.4.0-1_all.deb