Repository navigation
0.2.4-1
What's new (since 0.2.3-1)
- Fix: real GIO timeouts are now recognized (the code was wrong); a lost or silent helper connection is treated as an unknown outcome and the state is rechecked instead of restoring the old selection.
- Fix: the managed rule is read from active lines only; a commented-out, unrecognized or unreadable rule is reported with a warning instead of being shown as the configured GPU or as automatic selection.
- Fix: an unlistable udev rule directory is reported as a conflict by the helper; a failure creating the temporary rule file is reported as "nothing changed".
- Fix: SetPrimary rechecks the GPU, conflicts and the rule path after authorization; removing the managed rule now fsyncs its directory.
- Tooling: release.sh rejects an unknown third argument; new regression tests for helper lifecycle and rule parsing.
Install
sudo apt install ./gpu-switcher_0.2.4-1_all.debapt resolves any missing dependencies from the repository; offline, with
all dependencies present, sudo dpkg -i also works.
Upgrading from an older version: restart the still-running helper so the
new code takes over:
sudo systemctl restart gpu-switcher-helper.serviceRequires: python3 (>= 3.12), python3-gi, gir1.2-gtk-4.0 (>= 4.10),
libgtk-4-1 (>= 4.10), polkitd, dbus, udev, systemd, pciutils.
Checksum
sha256 5b4505bc7a6e9664f468d53617fe14d98c66e51ffdfecc365a1a79de114849ed
file gpu-switcher_0.2.4-1_all.deb