There is a workaround though. Create a /usr/bin/launch-flameshot file
for example:
$ cat /usr/bin/launch-flameshot
#!/usr/bin/env bash
bash -c -- "QT_QPA_PLATFORM=wayland flameshot"
Then edit the Exec=flameshot line in
/usr/share/applications/org.flameshot.Flameshot.desktop to instead be
Exec
Ubuntu 24.04, GNOME on Wayland, installed with apt-get install
flameshot. Launched Flameshot in GNOME which puts the tray icon in
place. Clicking the icon and choosing "Take Screenshot" gives a "Unable
to capture screen" error notification. The following is also logged:
okt 24 21:57:30 laptop xdg-
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: flameshot (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2051248
Title: