sourizz-restart stops the running daemon (if any), waits until it is gone
and starts a new one detached from the terminal; extra arguments go to the
new daemon and SOURIZZ_LOG keeps its output. install.sh installs and
removes it. The READMEs document it in both languages and now say that
autostart was checked on KDE, GNOME, Xfce, Cinnamon and MATE.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sourizz has no separate resident mode: running it with no subcommand is
the daemon. Document how to detach it (setsid -f), check and stop it, start
it at login with `sourizz autostart enable`, and the Hyprland and sway
equivalents, in both languages.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
12 automatic checks, global hotkeys and the manual checks pass on MATE 1.26
(X11, marco compositing on by default). Its panel has no StatusNotifier
support, so Sourizz shows no tray icon there; the requirements now say which
desktops give an icon (KDE, Xfce, GNOME with AppIndicator, Cinnamon with
xapp-sn-watcher) and which do not (MATE).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
12 automatic checks, global hotkeys, and the manual checks pass on Cinnamon 6.4
(X11). The tray icon needs xapp-sn-watcher (only recommended by Debian) and
appears by itself at login thanks to the tray fix. Cinnamon binds
Ctrl+Alt+Shift+R to screen recording like GNOME, which confirms the ring's
default hotkey change.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Started at login by the autostart, Sourizz could run before the session's panel
published org.kde.StatusNotifierWatcher; ksni then failed once and the daemon
stayed without an icon until restarted (seen on Xfce 4.20). The tray is now
spawned with assume_sni_available(true), so it registers as soon as the watcher
appears. Checked by stopping xfce4-panel, starting the daemon, and restarting
the panel: the icon registered by itself.
The READMEs list Xfce 4.20 as tested (12 automatic checks, global hotkeys,
ring, trail, spotlight, keystrokes, clicks and sounds, annotation, settings
window, tray icon and menu).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tested on GNOME 48.7 (Xorg session) with Debian's gnome-shell-extension-appindicator:
the icon appears and its menu works. Without the extension there is no icon.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The READMEs get a status column in the compatibility table (tested, not tested,
not supported), an opening line about the supported desktops, and a clear
paragraph on GNOME: no layer-shell, XWayland is no workaround, and the Xorg
session is gone from GNOME 49. The error message on such a compositor says the
same. The decision is recorded in CLAUDE.md; the handoff note is removed since
its content has been absorbed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
GNOME Shell uses Ctrl+Alt+Shift+R for its screen-recording interface, so the
old default never reached the ring there (and opened the recorder instead).
Existing config files keep their value. The READMEs now list the GNOME Xorg
results; CLAUDE.md explains how to run x11_probe against an isolated config
with the ring pulse off; the handoff note ticks step 2.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On GNOME 48.7 (Debian 13) the Wayland backend refuses to start with a clear
message. The X11 backend through XWayland starts but only tracks the pointer
over X11 windows, so the ring stays frozen over native Wayland windows.
Document it in both READMEs and tick step 1 in the handoff note.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Click effects, click sounds, keystroke display and spotlight were confirmed on
a real KDE Plasma 6.3.6 Wayland session. Annotation mode is still unverified.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Devices::rescan reopened every event node it did not keep (power button, audio
jacks, video bus...) on each call. Opening a node takes 25-70 ms on the
field-test laptop, so each rescan blocked the daemon for ~650 ms and the
pointer froze for that long every 3 s while Sourizz was drawing. Rejected nodes
are now remembered and only new ones are opened.
Found with examples/layer_probe.rs, a bare layer-shell overlay with knobs that
was extended one Sourizz component at a time until the stall reappeared. The
README limitation about trails under KWin was wrong and is removed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A controlled rerun showed the freeze with the classic ring alone, so the
earlier "trail only" conclusion was wrong. It does not occur with all effects
off, without Sourizz, or when dragging a window. Cause still unknown; the
README now recommends the X11 session instead of turning the trail off.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Field test on KDE Plasma 6.3.6 (Intel + NVIDIA hybrid laptop): the pointer
freezes for ~0.5 s every 2-3 s while a trail is drawn. Measurements ruled out
our loop, buffer allocation, damage size, the D-Bus feed and callback waits.
Record it as a known limitation in both READMEs and in CLAUDE.md, and update
what was tested on Wayland.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Instead of stopping with "Rust is required", the script now looks for an
existing rustup environment, then offers to install the toolchain with
rustup (minimal profile). It asks first, unless --yes is given, and
refuses to install silently without a terminal. It checks for a C linker
and curl/wget beforehand and downloads the rustup script to a file before
running it. --uninstall does not need Rust. Document it in both READMEs.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Ctrl+Alt+Shift+A did nothing while the master switch was off, and
Ctrl+Alt+Shift+Y did nothing unless the master switch and the click
effects were both on, with no feedback. They now enable what is missing
(and persist it, like the other toggles) before acting. Document the Y
hotkey in both READMEs.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Spotlight, ring, trails, click effects, keystroke display and on-screen
annotation for X11 and Wayland, written in Rust. One drawing engine
(engine.rs) shared by an X11 backend (override-redirect ARGB windows,
XInput2 raw events) and a Wayland backend (wlr-layer-shell, evdev input,
Hyprland/KWin pointer sources), plus a tray, a CLI socket and an egui
settings window.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>