picket icon indicating copy to clipboard operation
picket copied to clipboard

pick not working in manjaro sway

Open grizzlydotweb opened this issue 2 years ago • 3 comments

Hi can you tell me what is the problem, im not able to pick a color. If i set the immediate pick option, i get the following error message:

picket --g-fatal-warnings Screen: 1920x1200 Display Server: Wayland

** (picket:53249): CRITICAL **: 18:23:44.789: unhandled exception (type Glib::Error) in signal handler: domain: g-dbus-error-quark code : 2 what : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell.Screenshot was not provided by any .service files

[1] 53249 trace trap (core dumped) picket --g-fatal-warnings

grizzlydotweb avatar Mar 23 '23 17:03 grizzlydotweb

This is probably because Picket uses the GNOME/GTK-specific (and now private) org.gnome.Shell.Screenshot D-Bus interface. A possible solution would be to use the org.freedesktop.portal.Screenshot XDG Portal instead

Tachi107 avatar Mar 23 '23 19:03 Tachi107

Please also see https://github.com/flameshot-org/flameshot/issues/1910 for more background and https://github.com/flameshot-org/flameshot/pull/2035 for a possible solution

Tachi107 avatar Mar 23 '23 19:03 Tachi107

Tachi107 is right, Picket uses the org.gnome.Shell.Screenshot D-Bus interface for taking screenshots on Wayland. As he pointed out, the interface is now private and throws an error. I'll fix it as soon as possible.

rajter avatar Mar 28 '23 17:03 rajter