Keruspe / GPaste

Clipboard management system
BSD 2-Clause "Simplified" License
773 stars 55 forks source link

It seems GPaste doesn't work on Ubuntu 22.04 #387

Closed larryw3i closed 2 years ago

larryw3i commented 2 years ago

It seems GPaste doesn't work on Ubuntu 22.04.
All keyboard shortcuts couldn't trigger GPaste function, it prints following when I start /usr/libexec/gpaste/gpaste-daemon :

(gpaste-daemon:30102): GPaste-WARNING **: 19:04:19.606: \
Couldn't grab keybindings with gnome-shell: \
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: \
The name org.gnome.Shell was not provided by any .service files
Keruspe commented 2 years ago

Are you running gnome-shell? Are you running X11 or wayland?

larryw3i commented 2 years ago

@Keruspe It doesn't work on Wayland, and it doesn't start automatically when my laptop boot.

Keruspe commented 2 years ago

Are you using gnome-shell?

larryw3i commented 2 years ago

image

Yea! I use it.

Keruspe commented 2 years ago

It is installed, but is your session running on gnome-shell? The error message suggests it doesn't.

larryw3i commented 2 years ago

I'm not sure, but it works fine on x11, and keyboard shortcuts couldn't trigger it any more when I switch to Wayland.

Keruspe commented 2 years ago

Keyboards shortcut work only when running with gnome-shell, on wayland. On x11 they work even without gnome-shell. This is due to security limitations from the wayland ecosystem. Solutions are in the process of being designed for this (not by GPaste, it's a global problem)