You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd greatly benefit from two privacy-related functions (on Wayland):
clear the clipboard when the display shuts off — vital especially for a laptor or other portable Linux device
after any copy event, clear the clipboard after X minutes
I never store any data on the clipboard. As I recall, in at least five years I've never had to recover anything stored there: I at least write a note to /tmp/ or /var/tmp/:
$ cat > /tmp/note.txt
Also tmux and has its own clipboard.
I don't necessarily expect that wl-clipboard can execute the said events on its own. I greatly appreciate any guidance!
The text was updated successfully, but these errors were encountered:
I don't think that --paste-once would be fitting, but I'll consider using the option if no other solutions appear.
-o, --paste-once
Only serve one paste request and then exit. Unless a clipboard manager specifically designed to prevent this is in use, this has the effect
of clearing the clipboard after the first paste, which is useful for copying sensitive data such as passwords. Note that this may break
pasting into some clients, in particular pasting into XWayland windows is known to break when this option is used.
clear the clipboard when the display shuts off — vital especially for a laptor or other portable Linux device
This is something that your compositor (or clipboard manager) would implement. In case of an external clipboard manager, the clipboard manager could even be using wl-clipboard (i.e. wl-copy --clear) to actually clear the clipboard.
This would require whichever program that implements it to know when the displays shuts off; wl-clipboard certainly doesn't know that, the compositor likely does.
after any copy event, clear the clipboard after X minutes
This kind of policy, too, could be implemented in an external clipboard manager.
It would also perhaps make some sense to add a --timeout option to wl-copy; this was also requested in #152, but I'm not convinced that it's actually a useful feature to have (in wl-clipboard), and note that this would only affect copies made by wl-clipboard (and then only the ones when you pass --timeout), not copies made by other software. This is why implementing it in a clipboard manager makes more sense.
I'd greatly benefit from two privacy-related functions (on Wayland):
I never store any data on the clipboard. As I recall, in at least five years I've never had to recover anything stored there: I at least write a note to
/tmp/
or/var/tmp/
:Also tmux and has its own clipboard.
I don't necessarily expect that wl-clipboard can execute the said events on its own. I greatly appreciate any guidance!
The text was updated successfully, but these errors were encountered: