-
-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "Failed to clear clipboard history" on GNOME #1209
Comments
Seeing the same issue on my machine. In https://github.com/gopasspw/gopass/blob/master/pkg/clipboard/unclip_linux.go#L18 it currently looks like on Linux It turns out that DBus returns "The name is not activatable", which is not caught and results in this error. |
On Fedora 31, `gopass unclip` fails with a "Failed to clear clipboard history" notification. This is because DBus returns the following error message as `klipper` is not available: ``` The name is not activatable ``` This commit adds this error message to the strings being ignored. Fixes #1209 Signed-off-by: Simon Krenger <skrenger@redhat.com>
…spw#1247) On Fedora 31, `gopass unclip` fails with a "Failed to clear clipboard history" notification. This is because DBus returns the following error message as `klipper` is not available: ``` The name is not activatable ``` This commit adds this error message to the strings being ignored. Fixes gopasspw#1209 Signed-off-by: Simon Krenger <skrenger@redhat.com>
Summary
When using
gopass --clip [item]
, the item copies as normal. But after 45 seconds, I get a notification:Steps To Reproduce
Copy a secret using
gopass --clip
. Wait for it to attempt to clear.Expected behavior
The password should clear, with no problem notification
Environment
Fedora 31
Additional context
N/A
The text was updated successfully, but these errors were encountered: