flameshot-org / flameshot

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

Ubuntu 24.10, Wayland: "Unable to capture screen" #3769

Open AndKe opened 4 weeks ago

AndKe commented 4 weeks ago

Flameshot Version

Flameshot v12.1.0 (Debian 12.1.0-3) Compiled with Qt 5.15.13 linux: 6.11.0-9-generic ubuntu: 24.10

Installation Type

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

Operating System type and version

Ubuntu 24.10 (already in the info above)

Description

This notification pops up instead:

image

Steps to reproduce

1 start flameshot 2 click "take screenshot"

Screenshots or screen recordings

No response

System Information

-

FelixJochems commented 4 weeks ago

Try to build with the USE_WAYLAND_GRIM flag and it should work

AndKe commented 4 weeks ago

Thanks, ... so this flag is not used in the build from Ubuntu's repositories? (I think that is strange)

FelixJochems commented 4 weeks ago

It's definitely not optimal yeah, wayland has been such a big shift especially for applications that access screen(s) so adoption has been a bit slow.

IgaoWolf commented 3 weeks ago

Try to follow the step-by-step instructions I included in this issue. https://github.com/flameshot-org/flameshot/issues/3770

Nuscly commented 3 weeks ago

Hello, to solve this I create a startup script that will start Flameshot on startup correctly configured. .config/autostart/flameshot-custom.desktop

[Desktop Entry]
Type=Application
Name=Flameshot wayland fixed
Exec=sh -c "QT_QPA_PLATFORM=wayland flameshot"
X-GNOME-Autostart-enabled=true

The problem is due to the missing QT_QPA_PLATFORM=wayland value, flameshot is not able to take the screenshot. Tested on Ubuntu 24.04 with the deb package.

wanstarge commented 2 weeks ago

Hello, to solve this I create a startup script that will start Flameshot on startup correctly configured. .config/autostart/flameshot-custom.desktop

[Desktop Entry]
Type=Application
Name=Flameshot wayland fixed
Exec=sh -c "QT_QPA_PLATFORM=wayland flameshot"
X-GNOME-Autostart-enabled=true

The problem is due to the missing QT_QPA_PLATFORM=wayland value, flameshot is not able to take the screenshot. Tested on Ubuntu 24.04 with the deb package.

Weel, it's very useful, when i change the keyshot for f1 to sh -c "QT_QPA_PLATFORM=wayland flameshot gui"

sarowarhosen03 commented 2 weeks ago

i'm also facing this issue with x-org session its working fine but with wayland it has the issue

liblaf commented 2 weeks ago

I'm also facing this issue with GNOME + Wayland + Arch. I tried the following:

I have also tried launching with QT_QPA_PLATFORM=wayland, but nothing changed.

It's a weird behavior. I suspect it's due to different environment variables.

systemctl --user show-environment ```env HOME=/home/liblaf LANG=en_US.UTF-8 LOGNAME=liblaf MAIL=/var/spool/mail/liblaf PATH=/home/liblaf/.local/share/pnpm:/home/liblaf/.local/bin:/home/liblaf/.bun/bin:/opt/miniconda3/condabin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl SHELL=/usr/bin/fish USER=liblaf XDG_DATA_DIRS=/home/liblaf/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ XDG_RUNTIME_DIR=/run/user/1000 QT_AUTO_SCREEN_SCALE_FACTOR=1 QT_ENABLE_HIGHDPI_SCALING=1 LESSUTFCHARDEF=E000-F8FF:p,F0000-FFFFD:p,100000-10FFFD:p XCURSOR_SIZE=48 EDITOR=helix VDPAU_DRIVER=nvidia DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=gnome DISPLAY=:0 GDMSESSION=gnome GDM_LANG=en_US.UTF-8 GNOME_SETUP_DISPLAY=:1 MOTD_SHOWN=pam PWD=/home/liblaf QT_IM_MODULE=ibus SESSION_MANAGER=local/13900HX:@/tmp/.ICE-unix/1327,unix/13900HX:/tmp/.ICE-unix/1327 SHLVL=0 USERNAME=liblaf WAYLAND_DISPLAY=wayland-0 XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.PXZJX2 XDG_CURRENT_DESKTOP=GNOME XDG_MENU_PREFIX=gnome- XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=gnome XDG_SESSION_TYPE=wayland XMODIFIERS=@im=ibus ```
env in command line ```env PWD=/home/liblaf XDG_MENU_PREFIX=gnome- COLORTERM=truecolor LESS_TERMCAP_mb= GROFF_NO_SGR=1 LESS_TERMCAP_ue=(B LESS_TERMCAP_se=(B LESS_TERMCAP_so= SHLVL=1 GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/org.wezfurlong.wezterm.desktop EDITOR=helix DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus GDMSESSION=gnome GDM_LANG=en_US.UTF-8 QT_IM_MODULE=ibus LESS_TERMCAP_us= SHELL=/usr/bin/fish VDPAU_DRIVER=nvidia LOGNAME=liblaf MOTD_SHOWN=pam XDG_RUNTIME_DIR=/run/user/1000 WEZTERM_EXECUTABLE_DIR=/usr/bin MAIL=/var/spool/mail/liblaf DISPLAY=:0 SESSION_MANAGER=local/13900HX:@/tmp/.ICE-unix/1327,unix/13900HX:/tmp/.ICE-unix/1327 GIO_LAUNCHED_DESKTOP_FILE_PID=9250 MANAGERPID=982 WEZTERM_CONFIG_DIR=/home/liblaf/.config/wezterm XDG_SESSION_TYPE=wayland SYSTEMD_EXEC_PID=1403 QT_ENABLE_HIGHDPI_SCALING=1 XDG_SESSION_CLASS=user INVOCATION_ID=4f5cb6c00ff7401fa92e3f769c3132da TERM_PROGRAM_VERSION=20240203-110809-5046fc22 STARSHIP_SHELL=sh LANG=en_US.UTF-8 USERNAME=liblaf XDG_CURRENT_DESKTOP=GNOME WEZTERM_PANE=0 MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA= XDG_SESSION_DESKTOP=gnome HOME=/home/liblaf PATH=/home/liblaf/.local/share/pnpm:/home/liblaf/.local/bin:/home/liblaf/.bun/bin:/opt/miniconda3/condabin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl USER=liblaf LESS_TERMCAP_md= XMODIFIERS=@im=ibus LESS_TERMCAP_me=(B JOURNAL_STREAM=9:4346 XDG_DATA_DIRS=/home/liblaf/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ QT_AUTO_SCREEN_SCALE_FACTOR=1 LESSUTFCHARDEF=E000-F8FF:p,F0000-FFFFD:p,100000-10FFFD:p XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.PXZJX2 MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service/memory.pressure WEZTERM_CONFIG_FILE=/home/liblaf/.config/wezterm/wezterm.lua TERM_PROGRAM=WezTerm WEZTERM_UNIX_SOCKET=/run/user/1000/wezterm/gui-sock-9250 GJS_DEBUG_OUTPUT=stderr TERM=xterm-256color XCURSOR_SIZE=48 DESKTOP_SESSION=gnome GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_SETUP_DISPLAY=:1 WAYLAND_DISPLAY=wayland-0 WEZTERM_EXECUTABLE=/usr/bin/wezterm-gui ```
FelixJochems commented 2 weeks ago

I'm also facing this issue with GNOME + Wayland + Arch. I tried the following:

* ❌ Shortcut not working

* ❌ Click "Tray icon > Take Screenshot" not working

* ✅ `flameshot gui` in command line works

I have also tried launching with QT_QPA_PLATFORM=wayland, but nothing changed.

It's a weird behavior. I suspect it's due to different environment variables. systemctl --user show-environment

env in command line

Thanks for the advanced info, the DBUS info would be most telling though. I'm fairly confident that it's the DBUS event either not firing or not getting acted upon. The dbus-monitor command can help show this. --profile argument makes the output a little bit more readable.

P.S. I think flameshot gives a warning about this and recommends recompiling with USE_WAYLAND_GRIM

liblaf commented 1 week ago

@FelixJochems Thanks for the instructions.

Here are the full dbus-monitor --profile I captured. I'm not familiar with DBus, so I'm not sure what to look for.

using shortcut ```log #type timestamp serial sender destination path interface member # in_reply_to sig 1731560058.030734 4294967295 org.freedesktop.DBus :1.137 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired sig 1731560058.030738 4294967295 org.freedesktop.DBus :1.137 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560058.032295 1736 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged sig 1731560058.365970 392 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560058.396595 1737 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560058.396623 1738 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560058.396787 393 :1.118 :1.28 1737 mc 1731560058.396793 1739 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560058.396795 394 :1.118 :1.28 1738 err 1731560058.396898 395 :1.118 :1.28 1739 sig 1731560059.365322 396 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560059.396009 1740 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560059.396131 1741 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560059.396242 1742 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560059.396273 397 :1.118 :1.28 1740 mr 1731560059.396445 398 :1.118 :1.28 1741 err 1731560059.396451 399 :1.118 :1.28 1742 sig 1731560059.705965 1743 :1.28 :1.64 /org/gnome/Shell org.gnome.Shell AcceleratorActivated mc 1731560059.706345 82 :1.64 org.gnome.keyring /org/gnome/keyring/daemon org.gnome.keyring.Daemon GetEnvironment mr 1731560059.706618 65 :1.0 :1.64 82 mc 1731560059.708406 83 :1.64 org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager StartTransientUnit sig 1731560059.708414 84 :1.64 /org/gtk/gio/DesktopAppInfo org.gtk.gio.DesktopAppInfo Launched mc 1731560059.708517 2869 :1.4 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetConnectionUnixUser mr 1731560059.708521 4294967295 org.freedesktop.DBus :1.4 2869 mc 1731560059.709047 2870 :1.4 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560059.709053 4294967295 org.freedesktop.DBus :1.4 2870 mc 1731560059.709055 2871 :1.4 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.709056 4294967295 org.freedesktop.DBus :1.4 2871 sig 1731560059.709058 2872 :1.4 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager UnitNew sig 1731560059.709059 2873 :1.4 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager JobNew mr 1731560059.709061 2874 :1.4 :1.64 83 sig 1731560059.709154 2875 :1.4 /org/freedesktop/systemd1/unit/shutdown_2etarget org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.709160 2876 :1.4 /org/freedesktop/systemd1/unit/app_2eslice org.freedesktop.DBus.Properties PropertiesChanged mc 1731560059.722860 1 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus Hello mr 1731560059.722870 4294967295 org.freedesktop.DBus :1.138 1 sig 1731560059.722872 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560059.722875 4294967295 org.freedesktop.DBus :1.138 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired mc 1731560059.722985 2 :1.138 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.DBus.Properties Get mr 1731560059.723172 259 :1.73 :1.138 2 mc 1731560059.741052 1 :1.139 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus Hello mr 1731560059.741061 4294967295 org.freedesktop.DBus :1.139 1 sig 1731560059.741064 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560059.741066 4294967295 org.freedesktop.DBus :1.139 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired mc 1731560059.741101 2 :1.139 org.a11y.Bus /org/a11y/bus org.a11y.Bus GetAddress mr 1731560059.741254 48 :1.36 :1.139 2 mc 1731560059.742969 1 :1.140 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus Hello mr 1731560059.742980 4294967295 org.freedesktop.DBus :1.140 1 sig 1731560059.742983 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560059.742986 4294967295 org.freedesktop.DBus :1.140 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired mc 1731560059.743129 2 :1.140 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560059.743133 4294967295 org.freedesktop.DBus :1.140 2 mc 1731560059.743134 3 :1.140 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus StartServiceByName mr 1731560059.743136 4294967295 org.freedesktop.DBus :1.140 3 mc 1731560059.743205 4 :1.140 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.743207 4294967295 org.freedesktop.DBus :1.140 4 mc 1731560059.743266 5 :1.140 :1.29 /org/gtk/vfs/mounttracker org.gtk.vfs.MountTracker ListMountableInfo mr 1731560059.743446 61 :1.29 :1.140 5 mc 1731560059.743651 6 :1.140 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560059.743655 4294967295 org.freedesktop.DBus :1.140 6 sig 1731560059.747027 2877 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.747058 2878 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.747089 2879 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.747119 2880 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.747124 2881 :1.4 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager JobRemoved mc 1731560059.747126 2882 :1.4 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch sig 1731560059.747154 2883 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.747175 2884 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.761552 301 :1.27 /org/gnome/SessionManager org.gnome.SessionManager ClientAdded mc 1731560059.790379 3 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.790476 4 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameHasOwner mr 1731560059.790482 4294967295 org.freedesktop.DBus :1.138 4 mc 1731560059.790681 5 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.790763 6 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.790768 4294967295 org.freedesktop.DBus :1.138 6 mc 1731560059.790843 7 :1.138 org.a11y.Bus /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1731560059.791047 49 :1.36 :1.138 7 mc 1731560059.791072 8 :1.138 org.a11y.Bus /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1731560059.791244 50 :1.36 :1.138 8 mc 1731560059.792154 9 :1.138 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.DBus.Introspectable Introspect mr 1731560059.792518 260 :1.73 :1.138 9 mc 1731560059.793748 10 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.793880 11 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.793887 4294967295 org.freedesktop.DBus :1.138 11 mc 1731560059.793978 12 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.793980 4294967295 org.freedesktop.DBus :1.138 12 mc 1731560059.794062 13 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.794065 14 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.794066 15 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.794071 4294967295 org.freedesktop.DBus :1.138 15 mc 1731560059.794114 16 :1.138 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Screenshot Screenshot mc 1731560059.794303 261 :1.73 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetConnectionUnixProcessID mr 1731560059.794306 4294967295 org.freedesktop.DBus :1.73 261 mr 1731560059.794560 262 :1.73 :1.138 16 mc 1731560059.794643 263 :1.73 :1.42 /org/freedesktop/impl/portal/PermissionStore org.freedesktop.impl.portal.PermissionStore Lookup mr 1731560059.794898 19 :1.42 :1.73 263 mc 1731560059.795075 264 :1.73 :1.80 /org/freedesktop/portal/desktop org.freedesktop.impl.portal.Access AccessDialog mc 1731560059.795305 152 :1.80 org.gnome.Shell /org/freedesktop/portal/desktop org.freedesktop.impl.portal.Access AccessDialog err 1731560059.795749 1744 :1.28 :1.80 152 err 1731560059.795900 153 :1.80 :1.73 264 sig 1731560059.796028 265 :1.73 :1.138 /org/freedesktop/portal/desktop/request/1_138/9006b975dd254e88ab550170809a90c2 org.freedesktop.portal.Request Response mc 1731560059.796126 17 :1.138 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop/request/1_138/9006b975dd254e88ab550170809a90c2 org.freedesktop.portal.Request Close err 1731560059.796181 266 :1.73 :1.138 17 mc 1731560059.796282 18 :1.138 org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.DBus.Introspectable Introspect mr 1731560059.796425 65 :1.46 :1.138 18 mc 1731560059.796592 19 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.796618 20 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.796622 4294967295 org.freedesktop.DBus :1.138 20 mc 1731560059.796702 21 :1.138 org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications Notify mc 1731560059.797440 66 :1.46 org.freedesktop.DBus / org.freedesktop.DBus GetConnectionUnixProcessID mr 1731560059.797444 4294967295 org.freedesktop.DBus :1.46 66 mc 1731560059.797783 67 :1.46 :1.28 /org/freedesktop/Notifications org.freedesktop.Notifications Notify mc 1731560059.798196 1745 :1.28 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560059.798200 4294967295 org.freedesktop.DBus :1.28 1745 mc 1731560059.798202 1746 :1.28 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.798204 4294967295 org.freedesktop.DBus :1.28 1746 mr 1731560059.802573 1747 :1.28 :1.46 67 mr 1731560059.802794 68 :1.46 :1.138 21 mc 1731560059.802895 69 :1.46 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560059.802900 4294967295 org.freedesktop.DBus :1.46 69 mc 1731560059.802902 70 :1.46 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.802904 4294967295 org.freedesktop.DBus :1.46 70 mc 1731560059.802932 22 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560059.802935 23 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560059.802981 24 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560059.802986 25 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560059.802995 26 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560059.803020 27 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.803045 28 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.803049 4294967295 org.freedesktop.DBus :1.138 28 mc 1731560059.803132 29 :1.138 org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications Notify mc 1731560059.803441 71 :1.46 org.freedesktop.DBus / org.freedesktop.DBus GetConnectionUnixProcessID mr 1731560059.803444 4294967295 org.freedesktop.DBus :1.46 71 mc 1731560059.803708 72 :1.46 :1.28 /org/freedesktop/Notifications org.freedesktop.Notifications Notify mr 1731560059.806750 1748 :1.28 :1.46 72 mr 1731560059.806998 73 :1.46 :1.138 29 mc 1731560059.807213 30 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560059.842384 31 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560059.842407 32 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560059.842411 4294967295 org.freedesktop.DBus :1.138 32 mc 1731560059.842545 33 :1.138 org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications Notify mc 1731560059.842978 74 :1.46 org.freedesktop.DBus / org.freedesktop.DBus GetConnectionUnixProcessID mr 1731560059.842982 4294967295 org.freedesktop.DBus :1.46 74 mc 1731560059.843322 75 :1.46 :1.28 /org/freedesktop/Notifications org.freedesktop.Notifications Notify mr 1731560059.845639 1749 :1.28 :1.46 75 mr 1731560059.845848 76 :1.46 :1.138 33 mc 1731560059.845947 34 :1.138 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch sig 1731560059.848129 4294967295 org.freedesktop.DBus :1.138 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560059.848138 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged mc 1731560059.848402 77 :1.46 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560059.848409 4294967295 org.freedesktop.DBus :1.46 77 sig 1731560059.852695 302 :1.27 /org/gnome/SessionManager org.gnome.SessionManager ClientRemoved sig 1731560059.852707 4294967295 org.freedesktop.DBus :1.140 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560059.852709 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560059.852932 4294967295 org.freedesktop.DBus :1.139 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560059.852940 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560059.853288 2885 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.853307 2886 :1.4 /org/freedesktop/systemd1/unit/app_2dgnome_2dflameshot_2d5047_2escope org.freedesktop.DBus.Properties PropertiesChanged sig 1731560059.853310 2887 :1.4 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager UnitRemoved sig 1731560060.364498 400 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560060.395087 1750 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560060.395168 1751 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560060.395382 401 :1.118 :1.28 1750 mc 1731560060.395387 1752 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560060.395389 402 :1.118 :1.28 1751 err 1731560060.395531 403 :1.118 :1.28 1752 sig 1731560061.365927 404 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560061.397355 1753 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560061.397491 1754 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560061.397595 405 :1.118 :1.28 1753 mc 1731560061.397688 1755 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560061.397759 406 :1.118 :1.28 1754 err 1731560061.397832 407 :1.118 :1.28 1755 ```
flameshot gui in command line ```log #type timestamp serial sender destination path interface member # in_reply_to sig 1731560070.711188 4294967295 org.freedesktop.DBus :1.142 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired sig 1731560070.711193 4294967295 org.freedesktop.DBus :1.142 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560070.712976 1787 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged sig 1731560071.366006 444 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560071.397384 1788 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560071.397553 445 :1.118 :1.28 1788 mc 1731560071.397560 1789 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560071.397709 1790 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560071.397715 446 :1.118 :1.28 1789 err 1731560071.397801 447 :1.118 :1.28 1790 sig 1731560071.418369 1791 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged mc 1731560072.104485 98 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560072.104495 4294967295 org.freedesktop.DBus :1.101 98 mc 1731560072.104497 99 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560072.104499 4294967295 org.freedesktop.DBus :1.101 99 mc 1731560072.104500 100 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560072.104501 4294967295 org.freedesktop.DBus :1.101 100 mc 1731560072.104503 101 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560072.104505 4294967295 org.freedesktop.DBus :1.101 101 mc 1731560072.104507 102 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560072.104515 4294967295 org.freedesktop.DBus :1.101 102 mc 1731560072.104735 103 :1.101 :1.28 /org/gnome/Mutter/IdleMonitor/Core org.freedesktop.DBus.Properties GetAll mr 1731560072.104925 1792 :1.28 :1.101 103 mc 1731560072.105106 104 :1.101 :1.28 /org/gnome/Mutter/IdleMonitor/Core org.gnome.Mutter.IdleMonitor GetIdletime mr 1731560072.105191 1793 :1.28 :1.101 104 mc 1731560072.105406 105 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560072.105410 4294967295 org.freedesktop.DBus :1.101 105 mc 1731560072.105411 106 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560072.105412 4294967295 org.freedesktop.DBus :1.101 106 mc 1731560072.105413 107 :1.101 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560072.105415 4294967295 org.freedesktop.DBus :1.101 107 sig 1731560072.365253 448 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560072.395936 1794 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560072.396096 1795 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560072.396100 449 :1.118 :1.28 1794 mc 1731560072.396240 1796 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560072.396262 450 :1.118 :1.28 1795 err 1731560072.396332 451 :1.118 :1.28 1796 sig 1731560073.365808 452 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560073.396539 1797 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560073.396633 1798 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560073.396640 453 :1.118 :1.28 1797 mc 1731560073.396642 1799 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560073.396656 454 :1.118 :1.28 1798 err 1731560073.396682 455 :1.118 :1.28 1799 sig 1731560073.439642 1800 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged mc 1731560073.451585 1 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus Hello mr 1731560073.451596 4294967295 org.freedesktop.DBus :1.143 1 sig 1731560073.451599 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560073.451607 4294967295 org.freedesktop.DBus :1.143 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired mc 1731560073.451773 2 :1.143 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.DBus.Properties Get mr 1731560073.451923 267 :1.73 :1.143 2 mc 1731560073.470195 1 :1.144 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus Hello mr 1731560073.470215 4294967295 org.freedesktop.DBus :1.144 1 sig 1731560073.470218 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560073.470220 4294967295 org.freedesktop.DBus :1.144 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired mc 1731560073.470231 2 :1.144 org.a11y.Bus /org/a11y/bus org.a11y.Bus GetAddress mr 1731560073.470385 51 :1.36 :1.144 2 mc 1731560073.472085 1 :1.145 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus Hello mr 1731560073.472092 4294967295 org.freedesktop.DBus :1.145 1 sig 1731560073.472094 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560073.472097 4294967295 org.freedesktop.DBus :1.145 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired mc 1731560073.472277 2 :1.145 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560073.472283 4294967295 org.freedesktop.DBus :1.145 2 mc 1731560073.472284 3 :1.145 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus StartServiceByName mr 1731560073.472286 4294967295 org.freedesktop.DBus :1.145 3 mc 1731560073.472300 4 :1.145 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560073.472303 4294967295 org.freedesktop.DBus :1.145 4 mc 1731560073.472398 5 :1.145 :1.29 /org/gtk/vfs/mounttracker org.gtk.vfs.MountTracker ListMountableInfo mr 1731560073.472648 62 :1.29 :1.145 5 mc 1731560073.472844 6 :1.145 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560073.472847 4294967295 org.freedesktop.DBus :1.145 6 sig 1731560073.492162 303 :1.27 /org/gnome/SessionManager org.gnome.SessionManager ClientAdded mc 1731560073.522205 3 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560073.522229 4 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameHasOwner mr 1731560073.522232 4294967295 org.freedesktop.DBus :1.143 4 mc 1731560073.522356 5 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560073.522358 6 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560073.522359 4294967295 org.freedesktop.DBus :1.143 6 mc 1731560073.522431 7 :1.143 org.a11y.Bus /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1731560073.522681 52 :1.36 :1.143 7 mc 1731560073.522788 8 :1.143 org.a11y.Bus /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1731560073.522976 53 :1.36 :1.143 8 mc 1731560073.523681 9 :1.143 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.DBus.Introspectable Introspect mr 1731560073.523981 268 :1.73 :1.143 9 mc 1731560073.525101 10 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560073.525125 11 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560073.525127 4294967295 org.freedesktop.DBus :1.143 11 mc 1731560073.525193 12 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560073.525195 4294967295 org.freedesktop.DBus :1.143 12 mc 1731560073.525253 13 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560073.525256 14 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560073.525257 15 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560073.525258 4294967295 org.freedesktop.DBus :1.143 15 mc 1731560073.525302 16 :1.143 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Screenshot Screenshot mc 1731560073.525539 269 :1.73 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetConnectionUnixProcessID mr 1731560073.525541 4294967295 org.freedesktop.DBus :1.73 269 mr 1731560073.525782 270 :1.73 :1.143 16 mc 1731560073.525865 271 :1.73 :1.42 /org/freedesktop/impl/portal/PermissionStore org.freedesktop.impl.portal.PermissionStore Lookup mr 1731560073.526042 20 :1.42 :1.73 271 mc 1731560073.526195 272 :1.73 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560073.526198 4294967295 org.freedesktop.DBus :1.73 272 mc 1731560073.526217 273 :1.73 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus StartServiceByName mr 1731560073.526219 4294967295 org.freedesktop.DBus :1.73 273 mc 1731560073.526286 274 :1.73 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560073.526288 4294967295 org.freedesktop.DBus :1.73 274 mc 1731560073.526368 275 :1.73 :1.80 /org/freedesktop/portal/desktop org.freedesktop.impl.portal.Screenshot Screenshot mc 1731560073.527920 154 :1.80 :1.28 /org/gnome/Shell/Screenshot org.gnome.Shell.Screenshot Screenshot mc 1731560073.538334 1801 :1.28 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560073.538341 4294967295 org.freedesktop.DBus :1.28 1801 mc 1731560073.538343 1802 :1.28 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560073.538344 4294967295 org.freedesktop.DBus :1.28 1802 mr 1731560074.053431 1803 :1.28 :1.80 154 mc 1731560074.053446 1804 :1.28 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560074.053450 4294967295 org.freedesktop.DBus :1.28 1804 mr 1731560074.053573 155 :1.80 :1.73 275 sig 1731560074.053877 276 :1.73 :1.143 /org/freedesktop/portal/desktop/request/1_143/c41e57ad882f47799cb3d0550d8b7897 org.freedesktop.portal.Request Response mc 1731560074.053972 277 :1.73 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560074.053978 4294967295 org.freedesktop.DBus :1.73 277 mc 1731560074.124291 17 :1.143 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop/request/1_143/c41e57ad882f47799cb3d0550d8b7897 org.freedesktop.portal.Request Close err 1731560074.124470 278 :1.73 :1.143 17 mc 1731560074.124701 18 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560074.124707 19 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560074.124727 20 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560074.124729 21 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch sig 1731560074.158993 1805 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged sig 1731560074.161705 1806 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect RunningApplicationsChanged mc 1731560074.161928 156 :1.80 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect GetRunningApplications mr 1731560074.162731 1807 :1.28 :1.80 156 sig 1731560074.365067 456 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560074.395676 1808 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560074.395893 457 :1.118 :1.28 1808 mc 1731560074.395899 1809 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560074.395965 1810 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560074.396032 458 :1.118 :1.28 1809 err 1731560074.396107 459 :1.118 :1.28 1810 sig 1731560075.365523 460 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560075.392305 22 :1.143 org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.DBus.Introspectable Introspect mr 1731560075.392603 78 :1.46 :1.143 22 sig 1731560075.392994 1811 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect RunningApplicationsChanged mc 1731560075.393000 23 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1731560075.393007 24 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560075.393009 4294967295 org.freedesktop.DBus :1.143 24 mc 1731560075.393130 25 :1.143 org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications Notify mc 1731560075.393137 157 :1.80 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect GetRunningApplications sig 1731560075.393684 1812 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged mc 1731560075.393897 79 :1.46 org.freedesktop.DBus / org.freedesktop.DBus GetConnectionUnixProcessID mr 1731560075.393901 4294967295 org.freedesktop.DBus :1.46 79 mr 1731560075.394078 1813 :1.28 :1.80 157 mc 1731560075.394349 80 :1.46 :1.28 /org/freedesktop/Notifications org.freedesktop.Notifications Notify mc 1731560075.395135 1814 :1.28 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560075.395138 4294967295 org.freedesktop.DBus :1.28 1814 mc 1731560075.395139 1815 :1.28 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560075.395141 4294967295 org.freedesktop.DBus :1.28 1815 mr 1731560075.399905 1816 :1.28 :1.46 80 mr 1731560075.400082 81 :1.46 :1.143 25 mc 1731560075.400143 82 :1.46 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch mr 1731560075.400146 4294967295 org.freedesktop.DBus :1.46 82 mc 1731560075.400147 83 :1.46 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mr 1731560075.400149 4294967295 org.freedesktop.DBus :1.46 83 mc 1731560075.400173 26 :1.143 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mc 1731560075.404479 1817 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560075.404540 1818 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560075.404575 461 :1.118 :1.28 1817 mr 1731560075.404622 462 :1.118 :1.28 1818 mc 1731560075.404690 1819 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get err 1731560075.404769 463 :1.118 :1.28 1819 sig 1731560075.414687 4294967295 org.freedesktop.DBus :1.143 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560075.414700 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged mc 1731560075.415015 84 :1.46 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus RemoveMatch mr 1731560075.415021 4294967295 org.freedesktop.DBus :1.46 84 sig 1731560075.419691 4294967295 org.freedesktop.DBus :1.145 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560075.419708 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560075.419711 4294967295 org.freedesktop.DBus :1.144 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1731560075.419713 4294967295 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1731560075.419843 304 :1.27 /org/gnome/SessionManager org.gnome.SessionManager ClientRemoved sig 1731560075.479768 1820 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged sig 1731560076.128619 1821 :1.28 /org/gnome/Shell/Introspect org.gnome.Shell.Introspect WindowsChanged sig 1731560076.365497 464 :1.118 /StatusNotifierItem org.kde.StatusNotifierItem NewIcon mc 1731560076.396166 1822 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mc 1731560076.396273 1823 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560076.396278 465 :1.118 :1.28 1822 mc 1731560076.396361 1824 :1.28 :1.118 /StatusNotifierItem org.freedesktop.DBus.Properties Get mr 1731560076.396379 466 :1.118 :1.28 1823 err 1731560076.396381 467 :1.118 :1.28 1824 ```

P.S. I think flameshot gives a warning about this and recommends recompiling with USE_WAYLAND_GRIM

I didn't see any warnings from Flameshot. Only a "Unable to capture screen" error popup in notifications (same as #3769 (comment)). Where should I find the warnings?

wanstarge commented 1 week ago

I'm also facing this issue with GNOME + Wayland + Arch. I tried the following:

  • ❌ Shortcut not working
  • ❌ Click "Tray icon > Take Screenshot" not working
  • flameshot gui in command line works

I have also tried launching with QT_QPA_PLATFORM=wayland, but nothing changed.

It's a weird behavior. I suspect it's due to different environment variables.

systemctl --user show-environment env in command line

Don't use the "take screen" icon, just use the keyshot for one key which can be bind to execute sh -c "QT_QPA_PLATFORM=wayland flameshot gui", just like this: image

liblaf commented 1 week ago

@wanstarge

Don't use the "take screen" icon, just use the keyshot for one key which can be bind to execute sh -c "QT_QPA_PLATFORM=wayland flameshot gui", just like this:

You inspired me! I've tried different commands in shortcut:

I'm confused. How come redirecting stdin or stdout fixed the problem?

wanstarge commented 1 week ago

@liblaf This is so cool, you have made so many attempts, and I don't know more for the specific one. I hope the author will pay attention to the progress we have found, good luck.

FelixJochems commented 1 week ago

I think the warning are still only in the git versions. It's been awhile since an official release. I've experimented with a couple setups on my own system and it got quite confused about the clipboard. Since X11 has a global clipboard while wayland doesn't. The 'unload from memory feature when no longer in use' gets triggered often when it shouldn't. Not technically crashing, but unwanted behavior nonetheless. It's an intricate mess between different OS settings as well.

As for the standard in/out helping, I actually don't really know. I'll keep an eye out for it though. I'm currently in the process of making a fork that targets wayland compositors since it is such a huge shift in architecture.

P.S. The error should display in the terminal when running flameshot from the terminal. For example I get this: flameshot: warning: If the USE_WAYLAND_GRIM option is not activated, the dbus protocol will be used. It should be noted that using the dbus protocol under wayland is not recommended. It is recommended to recompile with the USE_WAYLAND_GRIM flag to activate the grim-based general wayland screenshot adapter when running the official latest release.

grayfoxcomputing commented 1 week ago

I'm here to report this bug is present on Ubuntu 24.04.1 when installed from apt. @wanstarge 's fix resolved the issue.

XavierFigari commented 1 week ago

Same problem on Fedora 40 with Gnome Wayland. Unfortunately, this fix does not work : sh -c "QT_QPA_PLATFORM=wayland flameshot gui" I still have the error : flameshot: error: Unable to capture screen

yangricardo commented 3 days ago

Also occurring on Fedora 41 with Wayland...