mirror of
https://github.com/deunix-educ/sourizz.git
synced 2026-11-25 04:39:43 +01:00
READMEs: the tray icon works on GNOME with the AppIndicator extension
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>
This commit is contained in:
+2
-2
@@ -57,7 +57,7 @@ Prérequis à l'exécution :
|
|||||||
|
|
||||||
- **X11 :** un gestionnaire de fenêtres avec composition (KWin, Mutter, Xfwm4, Picom…) pour que la surcouche puisse être transparente. Le serveur X doit offrir XInput2, RandR et Shape (tous standards).
|
- **X11 :** un gestionnaire de fenêtres avec composition (KWin, Mutter, Xfwm4, Picom…) pour que la surcouche puisse être transparente. Le serveur X doit offrir XInput2, RandR et Shape (tous standards).
|
||||||
- **Wayland :** un compositeur qui implémente `wlr-layer-shell` — voir le [tableau de compatibilité](#x11-et-wayland).
|
- **Wayland :** un compositeur qui implémente `wlr-layer-shell` — voir le [tableau de compatibilité](#x11-et-wayland).
|
||||||
- **Facultatif :** `pw-play`, `paplay` ou `aplay` pour les sons de clic ; une zone de notification compatible avec le standard StatusNotifierItem (KDE l'est — testé ; GNOME demande l'extension *AppIndicator* ; ailleurs cela dépend de votre tableau de bord — sans zone de notification, tout fonctionne quand même via la ligne de commande, les raccourcis et la fenêtre de réglages) ; OpenGL pour la fenêtre de réglages.
|
- **Facultatif :** `pw-play`, `paplay` ou `aplay` pour les sons de clic ; une zone de notification compatible avec le standard StatusNotifierItem (KDE l'est — testé ; GNOME demande l'extension *AppIndicator*, paquet `gnome-shell-extension-appindicator` sur Debian et Ubuntu — testé sur GNOME 48.7 ; ailleurs cela dépend de votre tableau de bord — sans zone de notification, tout fonctionne quand même via la ligne de commande, les raccourcis et la fenêtre de réglages) ; OpenGL pour la fenêtre de réglages.
|
||||||
|
|
||||||
## Utilisation
|
## Utilisation
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ En toute honnêteté sur la vérification :
|
|||||||
|
|
||||||
- **Automatisé :** 57 tests unitaires (configuration, moteur, suivi des zones à redessiner, invariants de rendu, gestion des touches avec de vraies dispositions AZERTY/QWERTY, traduction evdev, analyse des commandes). En particulier, un test de propriété vérifie que le redessin incrémental est identique au pixel près à un redessin complet pour chaque forme de projecteur, style de traînée et effet de clic.
|
- **Automatisé :** 57 tests unitaires (configuration, moteur, suivi des zones à redessiner, invariants de rendu, gestion des touches avec de vraies dispositions AZERTY/QWERTY, traduction evdev, analyse des commandes). En particulier, un test de propriété vérifie que le redessin incrémental est identique au pixel près à un redessin complet pour chaque forme de projecteur, style de traînée et effet de clic.
|
||||||
- **X11 :** éprouvé en conditions réelles sous Debian 13, KDE Plasma 6.3, deux écrans — fenêtres de surcouche, traversée des clics, dessin de l'anneau / des clics / des traînées, aucun pixel fantôme après un mouvement rapide, raccourci global, ligne de commande, rechargement de la configuration en direct, menu de l'icône via D-Bus, fenêtre de réglages.
|
- **X11 :** éprouvé en conditions réelles sous Debian 13, KDE Plasma 6.3, deux écrans — fenêtres de surcouche, traversée des clics, dessin de l'anneau / des clics / des traînées, aucun pixel fantôme après un mouvement rapide, raccourci global, ligne de commande, rechargement de la configuration en direct, menu de l'icône via D-Bus, fenêtre de réglages.
|
||||||
- **Wayland :** éprouvé contre un compositeur **KWin 6.3** imbriqué — surcouche layer-shell, rendu de l'anneau / du projecteur / de la barre d'annotation, capture du mode annotation, script KWin de position du pointeur. Lancé aussi dans une vraie session KDE Plasma 6.3.6 Wayland : l'anneau suit le pointeur grâce au script KWin, et les effets de clic, leur son, l'affichage des touches, le projecteur et le mode annotation fonctionnent avec la vraie souris, le pavé tactile et le clavier. **GNOME 48.7 (Debian 13), session Wayland :** Sourizz refuse de démarrer avec un message clair, comme prévu, et le backend X11 via XWayland ne suit le pointeur que sur les fenêtres X11. **GNOME 48.7 sous Xorg :** le backend X11 passe les 12 vérifications de `examples/x11_probe.rs` (lancé contre un démon à configuration par défaut, pulsation de l'anneau coupée), les raccourcis globaux fonctionnent, ainsi que le projecteur, l'affichage des touches, les effets et sons de clic, le mode annotation et la fenêtre de réglages ; il n'y a pas d'icône de notification sans l'extension AppIndicator, comme indiqué plus haut. **Non testé** en vrai HiDPI, sous Hyprland, sway, niri ou d'autres compositeurs.
|
- **Wayland :** éprouvé contre un compositeur **KWin 6.3** imbriqué — surcouche layer-shell, rendu de l'anneau / du projecteur / de la barre d'annotation, capture du mode annotation, script KWin de position du pointeur. Lancé aussi dans une vraie session KDE Plasma 6.3.6 Wayland : l'anneau suit le pointeur grâce au script KWin, et les effets de clic, leur son, l'affichage des touches, le projecteur et le mode annotation fonctionnent avec la vraie souris, le pavé tactile et le clavier. **GNOME 48.7 (Debian 13), session Wayland :** Sourizz refuse de démarrer avec un message clair, comme prévu, et le backend X11 via XWayland ne suit le pointeur que sur les fenêtres X11. **GNOME 48.7 sous Xorg :** le backend X11 passe les 12 vérifications de `examples/x11_probe.rs` (lancé contre un démon à configuration par défaut, pulsation de l'anneau coupée), les raccourcis globaux fonctionnent, ainsi que le projecteur, l'affichage des touches, les effets et sons de clic, le mode annotation et la fenêtre de réglages ; l'icône de notification et son menu fonctionnent une fois l'extension AppIndicator installée et activée (sans elle, il n'y a pas d'icône). **Non testé** en vrai HiDPI, sous Hyprland, sway, niri ou d'autres compositeurs.
|
||||||
|
|
||||||
Considérez la prise en charge de Wayland comme une première version solide qui demande davantage de tests sur le terrain ; les rapports de bogues accompagnés de la sortie de `sourizz -vv` sont bienvenus.
|
Considérez la prise en charge de Wayland comme une première version solide qui demande davantage de tests sur le terrain ; les rapports de bogues accompagnés de la sortie de `sourizz -vv` sont bienvenus.
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ Run-time requirements:
|
|||||||
|
|
||||||
- **X11:** a compositing window manager (KWin, Mutter, Xfwm4, Picom…) so the overlay can be transparent. The X server needs XInput2, RandR and Shape (all standard).
|
- **X11:** a compositing window manager (KWin, Mutter, Xfwm4, Picom…) so the overlay can be transparent. The X server needs XInput2, RandR and Shape (all standard).
|
||||||
- **Wayland:** a compositor that implements `wlr-layer-shell` — see the [compatibility table](#x11-and-wayland).
|
- **Wayland:** a compositor that implements `wlr-layer-shell` — see the [compatibility table](#x11-and-wayland).
|
||||||
- **Optional:** `pw-play`, `paplay` or `aplay` for click sounds; a system tray that understands the StatusNotifierItem standard (KDE does — tested; GNOME needs the *AppIndicator* extension; elsewhere it depends on your panel — without a tray everything still works through the command line, hotkeys and the settings window); OpenGL for the settings window.
|
- **Optional:** `pw-play`, `paplay` or `aplay` for click sounds; a system tray that understands the StatusNotifierItem standard (KDE does — tested; GNOME needs the *AppIndicator* extension, packaged as `gnome-shell-extension-appindicator` on Debian and Ubuntu — tested on GNOME 48.7; elsewhere it depends on your panel — without a tray everything still works through the command line, hotkeys and the settings window); OpenGL for the settings window.
|
||||||
|
|
||||||
## Using it
|
## Using it
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ Being honest about verification:
|
|||||||
|
|
||||||
- **Automated:** 57 unit tests (config, engine, damage tracking, rendering invariants, key handling with real AZERTY/QWERTY layouts, evdev translation, IPC parsing). Notably, a property test checks that incremental repainting is pixel-identical to a full repaint for every spotlight shape, trail style and click effect.
|
- **Automated:** 57 unit tests (config, engine, damage tracking, rendering invariants, key handling with real AZERTY/QWERTY layouts, evdev translation, IPC parsing). Notably, a property test checks that incremental repainting is pixel-identical to a full repaint for every spotlight shape, trail style and click effect.
|
||||||
- **X11:** exercised live on Debian 13, KDE Plasma 6.3, two monitors — overlay windows, click-through, ring/click/trail drawing, no ghost pixels after fast motion, global hotkey, CLI, live config reload, tray menu over D-Bus, settings window.
|
- **X11:** exercised live on Debian 13, KDE Plasma 6.3, two monitors — overlay windows, click-through, ring/click/trail drawing, no ghost pixels after fast motion, global hotkey, CLI, live config reload, tray menu over D-Bus, settings window.
|
||||||
- **Wayland:** exercised against a nested **KWin 6.3** compositor — layer-shell overlay, ring/spotlight/annotation toolbar rendering, annotation mode capture, the KWin pointer script. Also run in a real KDE Plasma 6.3.6 Wayland session: the ring follows the pointer through the KWin script, and the click effects, click sounds, keystroke display, spotlight and annotation mode work with the real mouse, touchpad and keyboard. **GNOME 48.7 (Debian 13), Wayland session:** Sourizz refuses to start with a clear message, as intended, and the X11 backend through XWayland only follows the pointer over X11 windows. **GNOME 48.7 on Xorg:** the X11 backend passes the 12 checks of `examples/x11_probe.rs` (run against a default-config daemon with the ring pulse off), the global hotkeys work, and the spotlight, keystroke display, click effects, click sounds, annotation mode and settings window work; there is no tray icon without the AppIndicator extension, as stated above. **Not tested** on real HiDPI, or Hyprland, sway, niri or other compositors.
|
- **Wayland:** exercised against a nested **KWin 6.3** compositor — layer-shell overlay, ring/spotlight/annotation toolbar rendering, annotation mode capture, the KWin pointer script. Also run in a real KDE Plasma 6.3.6 Wayland session: the ring follows the pointer through the KWin script, and the click effects, click sounds, keystroke display, spotlight and annotation mode work with the real mouse, touchpad and keyboard. **GNOME 48.7 (Debian 13), Wayland session:** Sourizz refuses to start with a clear message, as intended, and the X11 backend through XWayland only follows the pointer over X11 windows. **GNOME 48.7 on Xorg:** the X11 backend passes the 12 checks of `examples/x11_probe.rs` (run against a default-config daemon with the ring pulse off), the global hotkeys work, and the spotlight, keystroke display, click effects, click sounds, annotation mode and settings window work; the tray icon and its menu work once the AppIndicator extension is installed and enabled (without it there is no icon). **Not tested** on real HiDPI, or Hyprland, sway, niri or other compositors.
|
||||||
|
|
||||||
Treat Wayland support as a solid first version that needs more field testing; bug reports with `sourizz -vv` output are welcome.
|
Treat Wayland support as a solid first version that needs more field testing; bug reports with `sourizz -vv` output are welcome.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user