跳到正文
DEV Community· Nick Otmazgin·· 4 小時前AI 評分37

ClipFlow Pro 1.5.8 配合密碼管理器保護密碼,並改善淺色 GNOME 主題下的選單可讀性

ClipFlow Pro 1.5.8: respects password managers and works with light GNOME themes

AI 導讀

ClipFlow Pro 1.5.7 開始檢查剪貼簿中的密碼管理器標記;預設設定下,標記內容不會存入歷史紀錄,並以 SHA-256 雜湊識別管理器關閉後再次出現的剪貼內容。1.5.8 改善淺色 GNOME 主題下最近剪貼內容選單的可讀性,停用擴充功能樣式時,面板選單和最近剪貼內容選單均會使用 GNOME 主題配色。

正文

Two releases of ClipFlow Pro, my free, open-source clipboard history manager for GNOME Shell 45–51 (Wayland and X11), came out after my first post about 1.5.6. Both came from user feedback, and each one fixes something you'd only notice at the worst moment.

ClipFlow Pro 1.5.8: history window, panel menus and settings

1.5.7: passwords from your password manager are no longer saved

A reader on Threads asked a good question: does the password filter use hints from password managers, or does it only inspect the copied text? At the time, it only inspected the text. Now it does both.

When you copy a password from KeePassXC (and other password managers that do this), they add a small marker next to it on the clipboard: x-kde-passwordManagerHint = secret. ClipFlow Pro 1.5.7 reads that marker on every clipboard path (X11, the fallback path and Wayland):

  • With Ignore Password-like Content on (the default), a marked clip is not saved to your history.
  • With it off, the clip is saved but flagged as sensitive.

There was a catch. When the password manager closes, GNOME offers the same text again, this time without the marker. To catch that copy too, ClipFlow Pro remembers a SHA-256 hash of recently marked clips (never the text itself, at most 32, in memory only) and skips a clip whose hash matches.

The existing check for password-like text and common API tokens still runs as before.

Tested with the real thing: on Zorin OS 18.1 / GNOME 46 / X11 with KeePassXC 2.7.6, a random password copied with Ctrl+C was not saved, a normal clip copied right after was saved, and quitting KeePassXC left nothing in the history.

1.5.8: readable on light shell themes

With a light shell theme (for example Zorin Light), the right-click recent clips menu showed white text on a light background, which was nearly impossible to read. In 1.5.8:

  • The recent clips menu now uses the same self-contained dark surface as the panel menu, with matching hover and focus colors, so both menus are readable on light and dark themes.
  • Disable Extension Stylesheet (Settings → Appearance) now really hands both menus back to your shell theme's own colors. Before, it only affected the panel menu.

I checked it on screen with the ZorinBlue-Light and Catppuccin Mocha (dark) themes: the recent clips menu, the panel menu, Actions, the history window and every settings tab.

Recent clips menu (right-click the panel icon)

Panel menu with the ⋮ clip menu

Settings → Appearance

No new buttons or switches: the two existing settings, Ignore Password-like Content and Disable Extension Stylesheet, simply do more now.

A quick look again

History window

Panel menu Actions

Settings → About (1.5.8)

And the 2-minute narrated tour (everything in it still applies to 1.5.8):

Install or update

Download clipflow-pro@nickotmazgin.github.io-1.5.8-gs45-51.zip from GitHub Releases, then:

gnome-extensions install --force clipflow-pro@nickotmazgin.github.io-1.5.8-gs45-51.zip
gnome-extensions enable clipflow-pro@nickotmazgin.github.io

On Wayland, log out and back in. On X11, press Alt+F2, type r and press Enter.

Every release is built by GitHub Actions from a signed tag, is immutable, and has a build-provenance attestation. You can check a download yourself:

gh attestation verify clipflow-pro@nickotmazgin.github.io-1.5.8-gs45-51.zip --repo nickotmazgin/clipflow-pro

Compatibility

Status
GNOME Shell 45–51 Supported
X11 / Xorg Supported and tested daily (Zorin OS 18.1, GNOME 46)
Wayland Supported; reports are welcome
Password-manager marker Tested with KeePassXC 2.7.6

Reports from Wayland, GNOME 51 and other password managers are very welcome in Discussions.

Links

ClipFlow Pro is free and GPL-3.0 licensed. I direct, review, test and sign every release; AI coding assistants (including Claude Code) helped with parts of this work, and the README credits them. If it saves you time, a ⭐ on GitHub helps other GNOME users find it.

來源:DEV Community · dev.to