Skip to content

Flameshot support #206

Description

@CappaBot1

Flameshot doesn't work currently and I would love to see support for it although I don't know what support would look like for an infinite canvas window manager. Just installing flameshot through apt and running it gives these error messages:

$ flameshot gui
QSocketNotifier: Can only be used with threads started with QThread
flameshot: error: Unable to detect desktop environment (GNOME? KDE? Sway? ...)
flameshot: error: Hint: try setting the XDG_CURRENT_DESKTOP environment variable.
flameshot: error: Unable to capture screen
flameshot: error: Unable to capture screen
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
flameshot: info: Screenshot aborted.

By following some advice for other window managers I set the XDG_CURRENT_DESKTOP variable to sway

$ XDG_CURRENT_DESKTOP=sway flameshot gui
QSocketNotifier: Can only be used with threads started with QThread
^C

It just hangs forever and I have to terminate it. (I'm guessing it's trying to show the interface but failing)
I can run the daemon just fine; it shows in my waybar and I can right click it to configure and stuff.

My system

  • Linux mint 22.3
  • LightDM 1.30.0
  • DriftWM 0.13.0
  • Flameshot 12.1.0
  • Mako
  • Waybar

lmk if you need any other relevant apps/versions

In terms of implementation I know nothing about how wayland or driftwm works but I can think of two possible outcomes:

  • Flameshot looks at the screen/camera and is on top of everything else
  • Flameshot is like any other app so it sticks with other apps as the camera pans around

I think I like the second one more because it sounds fun to use the "pin to desktop" feature and have it be on the canvas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions