Fedora 40 - shortcuts don´t work
Hey guys, installed gpaste and the app seems functional, it logs my clipboard history, but the shortcuts don't function. Any idea what might cause that? (there's also no tray icon, though I'm not clear on whether that's only a legacy function)
I've got version 45.1 installed and gnome shell version 46.5
Thanks!
Hey from Fedora 41.
My understanding is that applications don't get to define their own global shortcuts under wayland, you can use gnome's shortcuts (Settings -> Keyboard -> View and Customise Shortcuts -> Custom Shortcuts) to create a global shortcut that can do some of the things the application shortcuts can do (for e.g. gpaste-client show-history to emulate the 'Display The History' shortcut)
Regarding the tray icon: I was able to install the gnome-shell-extension-gpaste package from the fedora updates repository, then launch gpaste-client ui to open the full UI, and in the settings select 'Enable gnome-shell extension'. After that when I restarted gnome the icon appeared on my menu bar. You can check if the extension is installed / activate it using the gnome-extensions list & gnome-extensions enable commands, or if you prefer a GUI search for 'extension manager' and install that from flathub.
Hey from debian/trixie with gnome 48: Settings -> Keyboard -> View and Customise Shortcuts -> Custom Shortcuts no longer "works", unfortunately. I'm trying to figure out if it's a gpaste or mutter bug.
I tried once again to set a custom shortcut: now it works again ! I suppose there was some issue during debian/sid upgrade to gnome shell 48, that ended up being fixed by last upgrade, but one needs to reconfigure the shortcut to make it work.
I'm not sure if it the same issue, but with mutter 48.1 (on debian/trixie), after restart gpaste wasn't responding to the gnome shortcut. I disabled/reenabled the gpaste gnome-shell extension (without leaving the gnome session) and it works again. Next time it happens I'll dig in the logs.
On Gnome 48 (Wayland session), Gpaste shortcuts work only if the extension is enabled.
Unexpectedly, they work also if the extension is disabled, but you have to enable the extension once after the system startup. If the system is started with the extensions disabled, shortcuts don't work.
Gnome 48 introduced the support to Wayland global shortcuts, so in theory it could work also when the extensions is disabled if the application supports the portal specification: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.GlobalShortcuts.html