From 550453c5db16183889787d38936b297ee473ad0c Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 4 Oct 2026 12:00:20 +0200 Subject: [PATCH] Research 026/04: the clipboard --- .../00-overview.md | 2 +- .../04-screensaver-displays-and-menus.md | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/01-RESEARCH/026-the-graphical-session-as-modules/00-overview.md b/01-RESEARCH/026-the-graphical-session-as-modules/00-overview.md index 13830484..4931cf59 100644 --- a/01-RESEARCH/026-the-graphical-session-as-modules/00-overview.md +++ b/01-RESEARCH/026-the-graphical-session-as-modules/00-overview.md @@ -60,5 +60,5 @@ desktops. Measured in [01](01-what-the-workstations-run.md): - [01 — What the workstations run](01-what-the-workstations-run.md): evidence. - [02 — The questions and the options](02-the-questions-and-the-options.md) -- [04 — Screensaver, displays and menus](04-screensaver-displays-and-menus.md): the lock and idle module, monitor layouts by the monitors' identity, rofi and dmenu behind one launcher seat +- [04 — Screensaver, displays and menus](04-screensaver-displays-and-menus.md): the lock and idle module, monitor layouts by the monitors' identity, rofi and dmenu behind one launcher seat, the clipboard - [03 — What the predecessor taught](03-what-the-predecessor-taught.md): its 128 modules and 3,395 commits, as patterns to keep and failures not to repeat; shared with research 027. diff --git a/01-RESEARCH/026-the-graphical-session-as-modules/04-screensaver-displays-and-menus.md b/01-RESEARCH/026-the-graphical-session-as-modules/04-screensaver-displays-and-menus.md index 55b25ed7..1c19fe47 100644 --- a/01-RESEARCH/026-the-graphical-session-as-modules/04-screensaver-displays-and-menus.md +++ b/01-RESEARCH/026-the-graphical-session-as-modules/04-screensaver-displays-and-menus.md @@ -68,3 +68,27 @@ Three areas the operator named on 2026-10-04, as their own modules. Each sharpen - power menu → the session; - clipboard menu → the clipboard module; - theme picker → settings, once issue 168 closes. + +## The clipboard: xclip and greenclip + +**Measured:** + +- **greenclip** keeps the clipboard's history, and rofi shows it on a key binding. +- **greenclip is not in the official repositories.** +- It is started two ways: the window manager's configuration starts it on both workstations, and on + one a user unit is enabled as well. +- Its configuration names an absolute home path. +- **xclip** (official) is the command-line clipboard the operator's scripts use. + +**Starting position:** + +- **`xclip` is a module of its own,** a package and nothing else. It is the tool scripts depend on, + and a module that needs it requires it. +- **The clipboard manager holds `node-clipboard`:** its daemon, started once by the session (a session + contribution, or a user unit once user-scoped units ship, never both), its configuration with no + absolute path, and its menu binding contributed to the window manager. +- **Which manager holds it is the operator's choice:** + - greenclip, as today, shipped under ADR 0205; + - or `clipmenu` (official), which feeds the same dmenu-compatible command as the launcher seat above, + and needs no archive. +- **On Wayland** the same seat is held by `cliphist` with `wl-clipboard`, both official.