Skip to content

Desktops other than Plasma: the installer says what is missing - #151

Merged
tokenmeter1 merged 4 commits into
mainfrom
claude/project-thread-81rgve
Dec 1, 2026
Merged

tokenmeter1 merged 4 commits into
mainfrom
claude/project-thread-81rgve

Conversation

@jacques-pr

Copy link
Copy Markdown
Collaborator

What changes

Review 3, N6: Tokenmeter on desktops other than KDE Plasma. Version 0.9.12. No Swift changes apart from the version.

  • Linux/install.sh --check installs nothing and says what this desktop has: which parts of Qt 6 the window still needs and the command that installs them, whether the desktop shows app icons in its notification area, whether Plasma is there for the widget, and whether notify-send is there for alerts.
  • A normal install says the same. Before, on Ubuntu without Plasma the installer finished with "Open the app from the menu" and the window never opened: Debian and Ubuntu split Qt into a package for each part, and the message named one of the nine needed. Now it names the missing parts and their packages.
  • GNOME. When nothing in the session shows app icons, the installer no longer says the icon is in the notification area. It names the AppIndicator and KStatusNotifierItem Support extension and how to get it.
  • The launcher's "Qt is missing" message also shows without KDE's dialog tool (zenity or a notification).
  • Docs: Install-Linux has the full package line for Debian and Ubuntu and a new section "Other desktops", which says plainly how far this has been tried. The README no longer says Linux means KDE only.
  • New check Linux/tests/desktops.sh (in scripts/check.sh and the workflow): the installer's check against stand-in folders of Qt, package managers and desktops.

Checks

scripts/check.sh --only desktops: 2 of 2 passed in 7 min 16 s (Tokenmeter 0.9.12, x86_64)
passed  build               436s  Build complete! (429.64s)
passed  desktops              0s  ok: the installer's check names the missing parts of Qt and their packages, GNOME's extension, and Plasma's wi

Tried by hand in an Ubuntu 24.04 container without Plasma (Qt 6.4.2, under a virtual screen with GNOME named as the desktop): with the nine packages every page of the window opens with no complaint from Qt, with one removed the installer names it and its package, the compiled window builds and opens, and in a session with no tray the installer names GNOME's extension.

Not checked: a real GNOME, Xfce or COSMIC session (this needs a tester; the docs say so). The package names for Fedora, Arch and openSUSE could not be tried here, the build machine cannot reach their mirrors; only the Debian and Ubuntu line is verified. The full check was not rerun since only the installer, a test script, docs and the version changed. A GNOME top bar indicator of Tokenmeter's own is not in this: the notification area icon takes that place through GNOME's extension.


Generated by Claude Code

…he docs say what works (0.9.12)

Linux/install.sh --check installs nothing and says which parts of Qt 6 the window still needs
with the command that brings them, whether the desktop shows app icons in its notification area
(GNOME needs its AppIndicator extension), and that the widget is Plasma's alone. A normal install
says the same instead of promising a window that would not open or an icon nothing shows.

Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE8zW9xXDFNPa2ueA83i2x
claude and others added 3 commits December 1, 2026 07:35
… Linux/install.sh

Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE8zW9xXDFNPa2ueA83i2x
The step never ran: until now an earlier step of the job failed first (Linux/tests/wait.sh, fixed
in #150), and the container the job runs in has no npm.

Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE8zW9xXDFNPa2ueA83i2x
Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE8zW9xXDFNPa2ueA83i2x

Copy link
Copy Markdown
Collaborator Author

The linux job is red on this head for reasons outside this change (the diff is the installer, its test, docs, the version and two workflow lines):

  • First run: Linux/tests/desktops.sh (this PR's test) passed. The job then stopped at the idle budget step: 184 wake-ups a second against a budget of 60. The same binary gives 34 in scripts/check.sh's container, and the run on OpenTelemetry export and a Grafana board to import #150's last commit gave 53, so GitHub's machine is close to the budget on a good run.
  • The one re-run: stopped earlier, in Linux/tests/gpu.sh ("Intel Arc A770 (i915)": the load read as -, not 60), a step that passed on the first run.

Two different timing-dependent steps on two runs of the same commit. I have not re-run again. Neither run reached the browser steps, so whether the Node install added here fixes "npm: not found" (which is what main's linux job fails on now) is still open. The Mac jobs were cancelled waiting for a runner on the first run and are queued again.

Locally: scripts/check.sh --quick 9 of 9 on this branch.


Generated by Claude Code

@tokenmeter1
tokenmeter1 merged commit ca9c3ed into main Dec 1, 2026
4 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants