Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch flameshot on nixos with sway #3767

Open
AntoineLass opened this issue Oct 29, 2024 · 3 comments
Open

Can't launch flameshot on nixos with sway #3767

AntoineLass opened this issue Oct 29, 2024 · 3 comments
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.

Comments

@AntoineLass
Copy link

Flameshot Version

Flameshot v12.1.0

Installation Type

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

Operating System type and version

Nixos 24.05.5860.89172919243d (Uakari)

Description

The dbus-monitor content
╭─tito@nixos ~ 
╰─$ dbus-monitor --session sender=org.flameshot.Flameshot
signal time=1730196414.582573 sender=org.freedesktop.DBus -> destination=:1.32 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.32"
signal time=1730196414.582608 sender=org.freedesktop.DBus -> destination=:1.32 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.32"
method call time=1730196419.916370 sender=:1.33 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus',arg1=''"
method call time=1730196419.916391 sender=:1.33 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.a11y.Bus"

Steps to reproduce

Open 3 terminals
Kill Flameshot if it is already open using:
pkill flameshot
In the first terminal run:
dbus-monitor --session sender=org.flameshot.Flameshot
In the second terminal run:
flameshot
In the third terminal run the command you want us to investigate. For example:
flameshot gui

Instruction come from the flameshot website

Screenshots or screen recordings

No response

System Information

Nixos 24.05.5860.89172919243d (Uakari)
LG gram 16Z90P
Sway
Wayland

@AntoineLass AntoineLass added the Unconfirmed Bug The bug is not confirmed by anyone else. label Oct 29, 2024
@FelixJochems
Copy link

Can you build with the "USE_WAYLAND_GRIM" flag and check if the issue persists?

@IgaoWolf

This comment has been minimized.

@641i130
Copy link

641i130 commented Dec 4, 2024

Dealing with the same issue:

dbus-monitor --session sender=org.flameshot.Flameshot
signal time=1733279455.954094 sender=org.freedesktop.DBus -> destination=:1.145 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.145"
signal time=1733279455.954127 sender=org.freedesktop.DBus -> destination=:1.145 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.145"
method call time=1733279458.799734 sender=:1.146 -> destination=org.freedesktop.DBus serial=13 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus',arg1=''"
method call time=1733279458.799766 sender=:1.146 -> destination=org.freedesktop.DBus serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.a11y.Bus"
method call time=1733279460.160147 sender=:1.146 -> destination=org.freedesktop.portal.Desktop serial=15 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Introspectable; member=Introspect
method call time=1733279460.161062 sender=:1.146 -> destination=org.freedesktop.DBus serial=16 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'"
method call time=1733279460.161128 sender=:1.146 -> destination=org.freedesktop.DBus serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
method call time=1733279460.161297 sender=:1.146 -> destination=org.freedesktop.DBus serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
method call time=1733279460.161404 sender=:1.146 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_146/38d12562d0824f69a01f6b4cb6d5a8a2',interface='org.freedesktop.portal.Request',member='Response'"
method call time=1733279460.161422 sender=:1.146 -> destination=org.freedesktop.DBus serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'"
method call time=1733279460.161456 sender=:1.146 -> destination=org.freedesktop.DBus serial=21 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
method call time=1733279460.161615 sender=:1.146 -> destination=org.freedesktop.portal.Desktop serial=22 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot
   string ""
   array [
      dict entry(
         string "handle_token"
         variant             string "38d12562d0824f69a01f6b4cb6d5a8a2"
      )
      dict entry(
         string "interactive"
         variant             boolean false
      )
   ]
method call time=1733279461.544671 sender=:1.146 -> destination=org.freedesktop.portal.Desktop serial=23 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Introspectable; member=Introspect
method call time=1733279461.545557 sender=:1.146 -> destination=org.freedesktop.DBus serial=24 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_146/a7b6048b6cd643548258419954e53715',interface='org.freedesktop.portal.Request',member='Response'"
method call time=1733279461.545647 sender=:1.146 -> destination=org.freedesktop.portal.Desktop serial=25 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot
   string ""
   array [
      dict entry(
         string "handle_token"
         variant             string "a7b6048b6cd643548258419954e53715"
      )
      dict entry(
         string "interactive"
         variant             boolean false
      )
   ]
method call time=1733279462.519483 sender=:1.146 -> destination=org.freedesktop.portal.Desktop serial=26 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Introspectable; member=Introspect
method call time=1733279462.520323 sender=:1.146 -> destination=org.freedesktop.DBus serial=27 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_146/5446f29c0f8746dc8bfebf837db78bc4',interface='org.freedesktop.portal.Request',member='Response'"
method call time=1733279462.520432 sender=:1.146 -> destination=org.freedesktop.portal.Desktop serial=28 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot
   string ""
   array [
      dict entry(
         string "handle_token"
         variant             string "5446f29c0f8746dc8bfebf837db78bc4"
      )
      dict entry(
         string "interactive"
         variant             boolean false
      )
   ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.
Projects
None yet
Development

No branches or pull requests

4 participants