Open attila-lendvai opened 2 years ago
FTR, the consensus seems to be that it's a security issue to allow random apps to scan keyboard events, and the recommended way is to install a keyboard shortcut in the gnome settings that invokes gpaste-client ui
.
maybe the setting for shortcuts should be entirely removed from gpaste, and replaced with a short message telling the above?
There is work in progress to handle this through a portal. there are other shortcuts that won't be doable like this.
Also, it should work fine for X11 sessions.
And we also have a tweak which should make it work on wayland too by bypassing this restrictions (works fine on all of my non nix machines)
I also see this on Ubuntu 22.04 in a normal gnome-shell session; keybindings don't work:
Jun 15 16:22:21 orac systemd[3004]: Starting GPaste daemon...
Jun 15 16:22:21 orac systemd[3004]: Started GPaste daemon.
Jun 15 16:22:21 orac gpaste-daemon[320620]: Couldn't grab keybindings with gnome-shell, falling back to X11 keybinder: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: GrabAccelerators is not allowed
Are there some extra installation steps I'm missing besides installing the apt packages?
Workaround in my case is to run systemctl --user restart org.gnome.GPaste.service
this is on Guix, i'm trying to add the GPaste package. it mostly works, but i have two issues left, one of them is this, that shortcuts don't work. i see this:
does this ring any bells for anyone? web searches didn't help much.