flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.94k stars 1.6k forks source link

Flameshot daemon not running on Sway/Wayland, leading to longer wait times for flameshot gui to launch #3023

Open ardishko opened 1 year ago

ardishko commented 1 year ago

Flameshot Version

Flameshot v12.1.0 (-) Compiled with Qt 5.15.5

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Arch Linux 6.0.11.arch1-1

Description

flameshot gui on its own works, but it makes me wait quite a bit, like a second before launching.

the flameshot command however, does not work. It shortly crashes after giving an error about not being able to access /run/user/1000/at-spi/bus0 because it apparently doesn't exist along with some GTK warnings (which is normal) and nothing else. Details down below.

Steps to reproduce

  1. Run flameshot
  2. Get faced with these errors before crashing Example:
    
    ╭─gorogorochan@Kamurocho /home/gorogorochan  ‹system› 
    ╰─$ flameshot

(flameshot:20537): dbind-WARNING **: 17:43:23.402: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_0: No such file or directory

(flameshot:20537): Gtk-WARNING **: 17:43:23.404: Theme parsing error: gtk.css:63:28: The :prelight pseudo-class is deprecated. Use :hover instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.404: Theme parsing error: gtk.css:73:35: The :prelight pseudo-class is deprecated. Use :hover instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.405: Theme parsing error: gtk.css:115:31: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.405: Theme parsing error: gtk.css:116:24: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.405: Theme parsing error: gtk.css:145:27: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.405: Theme parsing error: gtk.css:146:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.405: Theme parsing error: gtk.css:166:34: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.405: Theme parsing error: gtk.css:187:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14739:20: Not a valid image

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14745:20: Not a valid image

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14751:20: Not a valid image

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14757:20: Not a valid image

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14763:20: Not a valid image

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14769:20: Not a valid image

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14775:20: Not a valid image

(flameshot:20537): Gtk-WARNING **: 17:43:23.413: Theme parsing error: gtk.css:14781:20: Not a valid image ╭─gorogorochan@Kamurocho /home/gorogorochan ‹system› ╰─$


Alternative Route

1. run `dbus-run-session flameshot`
2. Get faced with multiple errors before crashing.
Example: 

dbus-daemon[19826]: [session uid=1000 pid=19826] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.0' (uid=1000 pid=19827 comm="flameshot") dbus-daemon[19826]: [session uid=1000 pid=19826] Activating service name='org.freedesktop.portal.Documents' requested by ':1.1' (uid=1000 pid=19830 comm="/usr/lib/xdg-desktop-portal") dbus-daemon[19826]: [session uid=1000 pid=19826] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.2' (uid=1000 pid=19835 comm="/usr/lib/xdg-document-portal") dbus-daemon[19826]: [session uid=1000 pid=19826] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' dbus-daemon[19826]: [session uid=1000 pid=19826] Successfully activated service 'org.freedesktop.portal.Documents' fusermount3: failed to access mountpoint /run/user/1000/doc: Permission denied error: fuse init failed: Can't mount path /run/user/1000/doc dbus-daemon[19826]: [session uid=1000 pid=19826] Activating service name='org.freedesktop.impl.portal.desktop.gnome' requested by ':1.1' (uid=1000 pid=19830 comm="/usr/lib/xdg-desktop-portal") dbus-daemon[19826]: [session uid=1000 pid=19826] Activating service name='org.a11y.Bus' requested by ':1.5' (uid=1000 pid=19827 comm="flameshot") dbus-daemon[19826]: [session uid=1000 pid=19826] Successfully activated service 'org.a11y.Bus' dbus-daemon[19826]: [session uid=1000 pid=19826] Activating service name='org.gtk.vfs.Daemon' requested by ':1.6' (uid=1000 pid=19848 comm="/usr/lib/xdg-desktop-portal-gnome") dbus-daemon[19826]: [session uid=1000 pid=19826] Successfully activated service 'org.gtk.vfs.Daemon'

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:63:28: The :prelight pseudo-class is deprecated. Use :hover instead.

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:73:35: The :prelight pseudo-class is deprecated. Use :hover instead.

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:115:31: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:116:24: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:145:27: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:146:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:166:34: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(flameshot:19827): Gtk-WARNING **: 17:33:06.416: Theme parsing error: gtk.css:187:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead. fusermount3: failed to access mountpoint /run/user/1000/gvfs: Permission denied

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14739:20: Not a valid image

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14745:20: Not a valid image

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14751:20: Not a valid image

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14757:20: Not a valid image

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14763:20: Not a valid image

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14769:20: Not a valid image

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14775:20: Not a valid image

(flameshot:19827): Gtk-WARNING **: 17:33:06.424: Theme parsing error: gtk.css:14781:20: Not a valid image dbus-daemon[19826]: [session uid=1000 pid=19826] Successfully activated service 'org.freedesktop.impl.portal.desktop.gnome' dbus-daemon[19826]: [session uid=1000 pid=19826] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.1' (uid=1000 pid=19830 comm="/usr/lib/xdg-desktop-portal")

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.470: Theme parsing error: gtk.css:63:28: The :prelight pseudo-class is deprecated. Use :hover instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.470: Theme parsing error: gtk.css:73:35: The :prelight pseudo-class is deprecated. Use :hover instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.470: Theme parsing error: gtk.css:115:31: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.470: Theme parsing error: gtk.css:116:24: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.470: Theme parsing error: gtk.css:145:27: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.471: Theme parsing error: gtk.css:146:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.471: Theme parsing error: gtk.css:166:34: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.471: Theme parsing error: gtk.css:187:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.478: Theme parsing error: gtk.css:14739:20: Not a valid image

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.478: Theme parsing error: gtk.css:14745:20: Not a valid image

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.478: Theme parsing error: gtk.css:14751:20: Not a valid image

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.478: Theme parsing error: gtk.css:14757:20: Not a valid image

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.478: Theme parsing error: gtk.css:14763:20: Not a valid image

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.478: Theme parsing error: gtk.css:14769:20: Not a valid image

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.479: Theme parsing error: gtk.css:14775:20: Not a valid image

(xdg-desktop-portal-gtk:19882): Gtk-WARNING **: 17:33:06.479: Theme parsing error: gtk.css:14781:20: Not a valid image dbus-daemon[19864]: Activating service name='org.a11y.atspi.Registry' requested by ':1.1' (uid=1000 pid=19882 comm="/usr/lib/xdg-desktop-portal-gtk") dbus-daemon[19864]: Successfully activated service 'org.a11y.atspi.Registry' SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry A connection to the bus can't be made

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.515: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.515: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.515: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.515: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-WARNING **: 17:33:06.515: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.515: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.515: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.515: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.515: Failed to create file chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.515: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.515: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.515: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: Failed to create app chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: Failed to create print proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: Failed to create notification proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: Failed to create inhibit proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: Failed to create screenshot proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.wlr: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: Failed to create access proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.516: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: Failed to create access proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.516: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: Failed to create access proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: Failed to create wallpaper proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: Failed to create account proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: Failed to create email proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.518: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: Failed to create secret proxy: Error calling StartServiceByName for org.freedesktop.secrets: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.518: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.519: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.519: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.519: Failed to create dynamic_launcher proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.519: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.519: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.519: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.519: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.519: Failed to create screen cast proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.wlr: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.519: No skeleton to export

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.519: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): GLib-GIO-CRITICAL **: 17:33:06.519: Error while sending AddMatch() message: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.519: Failed to create remote desktop proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: The connection is closed

(/usr/lib/xdg-desktop-portal:19830): xdg-desktop-portal-WARNING **: 17:33:06.519: No skeleton to export



### Screenshots or screen recordings

I don't think I can provide screenshots or videos for this.

### System Information

-Arch Linux 6.0.11.arch1-1
- Display config:
output DP-2 {
                background /home/gorogorochan/Pictures/9aa94c65-3724-4595-b31e-e5bf132c1a5c.png fill
                mode 2560x1440@143.856003Hz
           }
output HDMI-A-1 {
                background /home/gorogorochan/Pictures/6021c2ef-750f-4d56-b521-2b19741122e4.png fill
                resolution 1920x1080
- SwayWM
- On Wayland
mmahmoudian commented 1 year ago

Something is way off here, but I think I know the issue: you have not installed Flameshot from Pacman, but you have installed it from Snap.

Here are few things that you can try:

Also to clarify, Flameshot does not use GTK (we are based on Qt)

Please let me know if the above fix the issue you are facing.