Use Mint-friendly popup shortcut

This commit is contained in:
2026-09-12 13:31:40 +02:00
parent f272eec76e
commit 40b2cb3e83
3 changed files with 7 additions and 4 deletions

View File

@@ -70,6 +70,9 @@ Each bounded iteration must:
- [ ] Ensure copy, paste, pin, delete, clear, pause, and resume have consistent UI feedback.
- [x] Surface actionable status text for keyboard and toolbar action failures, including successful clipboard writes with failed history updates (Docker GTK/X11 build, 2026-09-10).
- [x] Replace the conflict-prone `Ctrl+R` pause shortcut with `Ctrl+Alt+R`, and expose the configured global shortcut in the window title/status (Docker GTK/X11 build; live tray/capture verified, 2026-09-10).
- [x] Use the Mint-friendly `Ctrl+Alt+V` as the default global popup shortcut;
existing config overrides remain supported (27 X11-feature tests and Docker
GTK/X11/package build, 2026-09-12).
- [ ] Verify tray activation/menu behavior and graceful tray unavailability.
- [ ] Verify second invocation/show behavior including diagnostics.
- [x] Make `--diagnostics` inspect the running installation without triggering a

View File

@@ -31,7 +31,7 @@ The resulting package declares its runtime libraries, so Debian/Ubuntu users
can install it with `sudo apt install ./target/clipbhoard_0.1.0_amd64.deb` and
the package manager will resolve GTK/X11 runtime dependencies automatically.
Once installed, Cliphoard runs as a background process. `Super+V` opens the
Once installed, Cliphoard runs as a background process. `Ctrl+Alt+V` opens the
popup, and `clipbhoard --show` requests it without keeping the invoking shell
blocked. On Cinnamon, a StatusNotifier tray icon provides another way to open
the popup when the desktop panel exposes tray icons.

View File

@@ -21,7 +21,7 @@ impl Default for Config {
pinned_limit: 25,
max_entry_bytes: 1_048_576,
history_retention_days: 30,
global_shortcut: "Super+V".into(),
global_shortcut: "Ctrl+Alt+V".into(),
autostart: true,
log_level: "info".into(),
}
@@ -115,7 +115,7 @@ mod tests {
assert_eq!(c.pinned_limit, 25);
assert_eq!(c.max_entry_bytes, 1_048_576);
assert_eq!(c.history_retention_days, 30);
assert_eq!(c.global_shortcut, "Super+V");
assert_eq!(c.global_shortcut, "Ctrl+Alt+V");
assert!(c.validate().is_ok());
}
@@ -132,7 +132,7 @@ mod tests {
#[test]
fn accepts_supported_shortcut_modifiers() {
let mut config = Config::default();
for shortcut in ["Super+V", "Ctrl+Alt+K", "Shift+F"] {
for shortcut in ["Ctrl+Alt+V", "Ctrl+Alt+K", "Shift+F"] {
config.global_shortcut = shortcut.into();
assert!(config.validate().is_ok(), "{shortcut}");
}