From g-a-d at web.de Wed Jul 16 12:42:54 2025 From: g-a-d at web.de (g-a-d at web.de) Date: Wed, 16 Jul 2025 14:42:54 +0200 Subject: [PATCH] clip: Add Qt6 D-Bus support to fix "klipper" clipboard clearing Message-ID: <20250716124254.78992-1-g-a-d@web.de> From: "Gerhard A. Dittes" This change addresses the issue where the "klipper" clipboard manager history is no longer cleared under newer Qt environments. Background: Most distributions have now switched to Plasma 6 and Qt 6. As a result, the "Qt D-Bus" binary is no longer available as "qdbus" (at least not in the executable path). Instead, the binaries are now named "qdbus6" (on Debian- or Arch-based distributions) or "qdbus-qt6" (on Red Hat-based systems). Ideally, distributions should provide a generic "qdbus" call that points to the correct version. But since no known distribution has implemented this since the introduction of Qt 6, this fix serves as a simple and quick workaround. --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/password-store.sh b/src/password-store.sh index 22e818f..e05a2e2 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -190,7 +190,7 @@ clip() { # # Clipboard managers frequently write their history out in plaintext, # so we axe it here: - qdbus org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory &>/dev/null + $(command -v qdbus6 || command -v qdbus-qt6 || echo qdbus) org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory &>/dev/null echo "$before" | $BASE64 -d | "${copy_cmd[@]}" ) >/dev/null 2>&1 & disown -- 2.47.2 From g-a-d at web.de Fri Jul 18 13:30:09 2025 From: g-a-d at web.de (Gerhard A. Dittes) Date: Fri, 18 Jul 2025 15:30:09 +0200 Subject: Current clipboard issue Message-ID: <85aec20a-1b1d-4ad8-881f-c3467d3d2c14@web.de> Hi everyone, I've recently sent out a "git formatted patch" to address a current Clipboard Manager (klipper) issue. I'm a long-time Debian user and recently switched to Debian Trixie, as it's now in hard freeze. One of my common workflows is to conveniently paste frequently used items via klipper (which IMHO is exactly what this clipboard manager is meant for). At this point, I?d like to mention how great I find it that "pass" already has support for klipper (clearing), so I previously never had to worry much about sensitive clipboard contents! All the more shocked I was recently, when I was working with a colleague at my computer and my passwords suddenly became visible every time I opened the klipper window via shortcut. For me, this poses a major security risk, as I often work with colleagues at a shared machine. That?s why I first applied a local fix for myself. However, it occurred to me that this issue could have much wider implications once Debian Trixie is released and a large number of users upgrade. At first, I wanted to report the bug to the corresponding Debian maintainer, but after looking around I realized that many distributions are affected from this (at least all that I tried). So until all distributions implement their own solution, it might be more effective to address the issue upstream. Therefore, the question is: can we consider my patch? (Or fix it in some other way? (Due to the existing comment right above the relevant code line, I assumed a simple, one-line patch would be more desirable than a more complex solution.)) Thanks & regards, Gerhard -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From mekeor at posteo.de Mon Jul 28 12:18:49 2025 From: mekeor at posteo.de (Mekeor Melire) Date: Mon, 28 Jul 2025 12:18:49 +0000 Subject: [PATCH] emacs: don't decrypt twice Message-ID: <87o6t4mru9.fsf@host.mail-host-address-is-not-set> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-patch Size: 596 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: not available URL: