You are not logged in.

#1 2021-12-05 15:27:23

PolpOnline
Member
Registered: 2021-06-05
Posts: 3

Can't take any screenshot with flameshot nor spectacle

Hi, after switching from X11 to an Xwayland session (simply done by installing plasma-wayland-session and setting the environment variables for the various toolkits recommended by the Arch wiki) I can't take any screenshots with either Spectacle nor Flameshot.
When I start spectacle it prints the following messages to STDOUT:

Screenshot request failed: "The process is not authorized to take a screenshot"
QPixmap::scaled: Pixmap is a null pixmap
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

and the spectacle windows has a box saying:

Could not take a screenshot, please report this bug here: [links the KDE bug reporting page]

Flameshot instead does not print anything to STDOUT, it just fails to open the screen selection

I believe this is not a Spectacle/Flameshot bug, but rather something else in my system configuration not done properly

Tell me if there are additional logs/info I can give to help troubleshooting this issue

Last edited by PolpOnline (2021-12-05 15:28:31)

Offline

#2 2021-12-06 11:52:47

stronnag
Member
Registered: 2011-01-25
Posts: 77

Re: Can't take any screenshot with flameshot nor spectacle

It's a new function in wayland. Your app needs permission, or use the xdg-desktop portal (or you set the desktop as 'unsafe', e.g. using a small gnome-shell extension).

Offline

Board footer

Powered by FluxBB