Open DWolf-19 opened 6 months ago
Same problem here on freshly installed Fedora 40 (GNOME, Wayland):
$ flatpak run org.flameshot.Flameshot
Gtk-Message: 11:53:52.245: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:53:52.245: Failed to load module "pk-gtk-module"
Gtk-Message: 11:53:52.245: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:53:52.245: Failed to load module "pk-gtk-module"
qt.qpa.qgnomeplatform: Could not find color scheme ""
Qt: Session management error: Could not open network socket
^C
$ flatpak run org.flameshot.Flameshot gui
Gtk-Message: 11:59:50.539: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:59:50.540: Failed to load module "pk-gtk-module"
Gtk-Message: 11:59:50.540: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:59:50.540: Failed to load module "pk-gtk-module"
qt.qpa.qgnomeplatform: Could not find color scheme ""
Qt: Session management error: Could not open network socket
flameshot: error: Unable to capture screen
flameshot: error: Unable to capture screen
flameshot: info: Screenshot aborted.
$ flatpak info org.flameshot.Flameshot
Flameshot - Powerful and simple to use screenshot software
ID: org.flameshot.Flameshot
Ref: app/org.flameshot.Flameshot/x86_64/stable
Arch: x86_64
Branch: stable
Version: 12.1.0
License: GPL-3.0-or-later
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 3,6 MB
Runtime: org.kde.Platform/x86_64/5.15-23.08
Sdk: org.kde.Sdk/x86_64/5.15-23.08
Commit: 2ceaca201ba80a63e644043a1eb2b7f61a33e0971dd558b09fa5f24d4cf58dd8
Parent: d69d8caf3ea0b93d030e8143fbcc1ceeae94360912ffd3dcb969eb2c0cb0a516
Subject: Allow access to xdg-pictures (360f4fa1)
Date: 2024-01-01 03:16:46 +0000
Flameshot as native app (installed through dnf
) works fine (aside from keybind issue described here).
I can confirm that this only happens on GNOME, I dual-boot GNOME and Plasma on Arch, and Flatpak Flameshot works fine on Plasma, this is my flatpak info org.flameshot.Flameshot
Hi, I've almost a similar issue.
$ flatpak info org.flameshot.Flameshot
Flameshot - Powerful and simple to use screenshot software
ID: org.flameshot.Flameshot
Ref: app/org.flameshot.Flameshot/x86_64/stable
Arch: x86_64
Branch: stable
Version: 12.1.0
License: GPL-3.0-or-later
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 3,6 Mo
Runtime: org.kde.Platform/x86_64/5.15-23.08
Sdk: org.kde.Sdk/x86_64/5.15-23.08
Commit: 2ceaca201ba80a63e644043a1eb2b7f61a33e0971dd558b09fa5f24d4cf58dd8
Parent: d69d8caf3ea0b93d030e8143fbcc1ceeae94360912ffd3dcb969eb2c0cb0a516
Subject: Allow access to xdg-pictures (360f4fa1)
Date: 2024-01-01 03:16:46 +0000
and a simple run give me
$ flatpak run --log-session-bus org.flameshot.Flameshot
C1: -> org.freedesktop.DBus call org.freedesktop.DBus.Hello at /org/freedesktop/DBus
C2: -> org.freedesktop.DBus fake AddMatch for org.freedesktop.Notifications
C3: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.Notifications
C4: -> org.freedesktop.DBus fake wildcarded AddMatch for org.freedesktop.portal
C5: -> org.freedesktop.DBus fake wildcarded AddMatch for org.flameshot.Flameshot
C6: -> org.freedesktop.DBus fake wildcarded AddMatch for org.mpris.MediaPlayer2.org.flameshot.Flameshot
C7: -> org.freedesktop.DBus fake AddMatch for org.kde.StatusNotifierWatcher
C8: -> org.freedesktop.DBus fake GetNameOwner for org.kde.StatusNotifierWatcher
C9: -> org.freedesktop.DBus fake AddMatch for org.kde.KGlobalSettings
C10: -> org.freedesktop.DBus fake GetNameOwner for org.kde.KGlobalSettings
C11: -> org.freedesktop.DBus fake AddMatch for org.kde.kconfig.notify
C12: -> org.freedesktop.DBus fake GetNameOwner for org.kde.kconfig.notify
C13: -> org.freedesktop.DBus fake AddMatch for com.canonical.AppMenu.Registrar
C14: -> org.freedesktop.DBus fake GetNameOwner for com.canonical.AppMenu.Registrar
C15: -> org.freedesktop.DBus fake ListNames
B1: <- org.freedesktop.DBus return from C1
B2: <- org.freedesktop.DBus signal org.freedesktop.DBus.NameAcquired at /org/freedesktop/DBus
B3: <- org.freedesktop.DBus return from C2
*SKIPPED*
B4: <- org.freedesktop.DBus return from C3
*SKIPPED*
B5: <- org.freedesktop.DBus return from C4
*SKIPPED*
B6: <- org.freedesktop.DBus return from C5
*SKIPPED*
B7: <- org.freedesktop.DBus return from C6
*SKIPPED*
B8: <- org.freedesktop.DBus return from C7
*SKIPPED*
B9: <- org.freedesktop.DBus return from C8
*SKIPPED*
B10: <- org.freedesktop.DBus return from C9
*SKIPPED*
B11: <- org.freedesktop.DBus return error org.freedesktop.DBus.Error.NameHasNoOwner from C10
*SKIPPED*
B12: <- org.freedesktop.DBus return from C11
*SKIPPED*
B13: <- org.freedesktop.DBus return error org.freedesktop.DBus.Error.NameHasNoOwner from C12
*SKIPPED*
B14: <- org.freedesktop.DBus return from C13
*SKIPPED*
B15: <- org.freedesktop.DBus return error org.freedesktop.DBus.Error.NameHasNoOwner from C14
*SKIPPED*
B16: <- org.freedesktop.DBus return from C15
C16: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.DBus
C17: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.Notifications
C18: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.portal.Desktop
C19: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.portal.Documents
C20: -> org.freedesktop.DBus fake GetNameOwner for org.flameshot.Flameshot
C21: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.portal.IBus
C22: -> org.freedesktop.DBus fake GetNameOwner for org.kde.StatusNotifierWatcher
*SKIPPED*
C23: -> org.freedesktop.portal.Desktop call org.freedesktop.DBus.Properties.Get at /org/freedesktop/portal/desktop
B17: <- org.freedesktop.DBus return from C16
*SKIPPED*
B18: <- org.freedesktop.DBus return from C17
*SKIPPED*
B19: <- org.freedesktop.DBus return from C18
*SKIPPED*
B20: <- org.freedesktop.DBus return from C19
*SKIPPED*
B21: <- org.freedesktop.DBus return from C20
*SKIPPED*
B22: <- org.freedesktop.DBus return from C21
*SKIPPED*
B23: <- org.freedesktop.DBus return from C22
*SKIPPED*
B476: <- :1.83 return from C23
C24: -> org.freedesktop.portal.Desktop call org.freedesktop.DBus.Properties.Get at /org/freedesktop/portal/desktop
B477: <- :1.83 return from C24
C1: -> org.freedesktop.DBus call org.freedesktop.DBus.Hello at /org/freedesktop/DBus
C2: -> org.freedesktop.DBus fake AddMatch for org.freedesktop.Notifications
C3: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.Notifications
C4: -> org.freedesktop.DBus fake wildcarded AddMatch for org.freedesktop.portal
C5: -> org.freedesktop.DBus fake wildcarded AddMatch for org.flameshot.Flameshot
C6: -> org.freedesktop.DBus fake wildcarded AddMatch for org.mpris.MediaPlayer2.org.flameshot.Flameshot
C7: -> org.freedesktop.DBus fake AddMatch for org.kde.StatusNotifierWatcher
C8: -> org.freedesktop.DBus fake GetNameOwner for org.kde.StatusNotifierWatcher
C9: -> org.freedesktop.DBus fake AddMatch for org.kde.KGlobalSettings
C10: -> org.freedesktop.DBus fake GetNameOwner for org.kde.KGlobalSettings
C11: -> org.freedesktop.DBus fake AddMatch for org.kde.kconfig.notify
C12: -> org.freedesktop.DBus fake GetNameOwner for org.kde.kconfig.notify
C13: -> org.freedesktop.DBus fake AddMatch for com.canonical.AppMenu.Registrar
C14: -> org.freedesktop.DBus fake GetNameOwner for com.canonical.AppMenu.Registrar
C15: -> org.freedesktop.DBus fake ListNames
B1: <- org.freedesktop.DBus return from C1
B2: <- org.freedesktop.DBus signal org.freedesktop.DBus.NameAcquired at /org/freedesktop/DBus
B3: <- org.freedesktop.DBus return from C2
*SKIPPED*
B4: <- org.freedesktop.DBus return from C3
*SKIPPED*
B5: <- org.freedesktop.DBus return from C4
*SKIPPED*
B6: <- org.freedesktop.DBus return from C5
*SKIPPED*
B7: <- org.freedesktop.DBus return from C6
*SKIPPED*
B8: <- org.freedesktop.DBus return from C7
*SKIPPED*
B9: <- org.freedesktop.DBus return from C8
*SKIPPED*
B10: <- org.freedesktop.DBus return from C9
*SKIPPED*
B11: <- org.freedesktop.DBus return error org.freedesktop.DBus.Error.NameHasNoOwner from C10
*SKIPPED*
B12: <- org.freedesktop.DBus return from C11
*SKIPPED*
B13: <- org.freedesktop.DBus return error org.freedesktop.DBus.Error.NameHasNoOwner from C12
*SKIPPED*
B14: <- org.freedesktop.DBus return from C13
*SKIPPED*
B15: <- org.freedesktop.DBus return error org.freedesktop.DBus.Error.NameHasNoOwner from C14
*SKIPPED*
B16: <- org.freedesktop.DBus return from C15
C16: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.DBus
C17: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.Notifications
C18: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.portal.Desktop
C19: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.portal.Documents
C20: -> org.freedesktop.DBus fake GetNameOwner for org.flameshot.Flameshot
C21: -> org.freedesktop.DBus fake GetNameOwner for org.freedesktop.portal.IBus
C22: -> org.freedesktop.DBus fake GetNameOwner for org.kde.StatusNotifierWatcher
*SKIPPED*
C23: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C24: -> org.freedesktop.DBus call org.freedesktop.DBus.GetNameOwner at /org/freedesktop/DBus
B17: <- org.freedesktop.DBus return from C16
*SKIPPED*
B18: <- org.freedesktop.DBus return from C17
*SKIPPED*
B19: <- org.freedesktop.DBus return from C18
*SKIPPED*
B20: <- org.freedesktop.DBus return from C19
*SKIPPED*
B21: <- org.freedesktop.DBus return from C20
*SKIPPED*
B22: <- org.freedesktop.DBus return from C21
*SKIPPED*
B23: <- org.freedesktop.DBus return from C22
*SKIPPED*
B24: <- org.freedesktop.DBus return from C24
C25: -> org.freedesktop.portal.IBus call org.freedesktop.IBus.Portal.CreateInputContext at /org/freedesktop/IBus
B71: <- :1.70 return from C25
C26: -> org.freedesktop.DBus call org.freedesktop.DBus.GetNameOwner at /org/freedesktop/DBus
B25: <- org.freedesktop.DBus return from C26
C27: -> org.freedesktop.portal.IBus call org.freedesktop.IBus.InputContext.SetCapabilities at /org/freedesktop/IBus/InputContext_21
C28: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C29: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C30: -> org.freedesktop.DBus call org.freedesktop.DBus.GetNameOwner at /org/freedesktop/DBus
B26: <- org.freedesktop.DBus return from C30
C31: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C32: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C33: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C34: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C35: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
C36: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
B72: <- :1.70 return from C27
Gtk-Message: 12:11:11.107: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:11:11.107: Failed to load module "canberra-gtk-module"
C25: -> org.freedesktop.portal.Desktop call org.freedesktop.portal.Settings.ReadAll at /org/freedesktop/portal/desktop
B481: <- :1.83 return from C25
C26: -> org.freedesktop.DBus call org.freedesktop.DBus.AddMatch at /org/freedesktop/DBus
qt.qpa.qgnomeplatform: Could not find color scheme ""
C27: -> org.freedesktop.DBus call org.freedesktop.DBus.RemoveMatch at /org/freedesktop/DBus
However a flatpak run org.flameshot.Flameshot gui
works and open directly the capture screen.
Flameshot Version
Flameshot v12.1.0 () Compiled with Qt 5.15.10
Installation Type
Flatpak from Flathub
Operating System type and version
Fedora 39
Description
When I run
flatpak run org.flameshot.Flameshot gui
, I see this error and nothing happen:All flatpak permissions of the app are default.
Steps to reproduce
flatpak run org.flameshot.Flameshot gui
.Screenshots or screen recordings
No response
System Information
inxi --width 80 --system --graphics
:loginctl show-session $(loginctl show-user $(whoami) -p Display --value) -p Type --value
:xrandr | grep -v " disconnected "
:lspci | grep -i 'vga\|3d\|2d'
:lshw -class display
:uname -a
:flatpak run --log-session-bus org.flameshot.Flameshot
In second terminal:flatpak run org.flameshot.Flameshot
In third terminal:flatpak run org.flameshot.Flameshot gui