Failed to pick color: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
Hi, I recently upgraded my Archlinux system, where GColor3 fails to pick colours. GColor2 works fine though.
If I run gcolor3 from the terminal:
$ gcolor3
** (gcolor3:926): WARNING **: 03:36:03.693: Cannot count number of items: Key file does not have group ?Colors?
** (gcolor3:926): WARNING **: 03:36:03.694: Cannot count number of items: Key file does not have group ?Colors?
** (gcolor3:926): WARNING **: 03:36:05.088: Failed to pick color: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
** (gcolor3:926): WARNING **: 03:36:06.011: Failed to pick color: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
** (gcolor3:926): WARNING **: 03:36:06.176: Failed to pick color: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
The new version comes with 2 more dependencies:
- xdg-desktop-portal
- xdg-desktop-portal-gtk
Installing them and upgrading the whole system also didn't fix the problem, the picker doesn't work and prints:
** (gcolor3:12277): WARNING **: 04:02:50.398: Failed to pick color: Screenshot failed
dbus-launch
Unnecessary Delay to All GTK3 App Launch with Also, xdg-desktop-portal, xdg-desktop-portal-gtk adds unnecessary delay to dbus-run-session someGtkApp
.
After installing those two packages, it takes > 10 seconds for dbus-run-session gnome-characters
or dbus-run-session gnome-screenshot --interactive
or even dbus-launch gnome-characters
.
Removing the package xdg-desktop-portal makes dbus-run-session or dbus-launch as fast as before.
The delay with xdg-desktop-portal is confimed on 3 different systems.
Color Picker Version 2.4.0.
Edited by Sourav Goswami