You are not logged in.
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
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