| Summary: | "Could not take a screenshot" error | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Lyubomir <liubomirwm> |
| Component: | General | Assignee: | Boudhayan Gupta <me> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 21.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Lyubomir
2022-03-07 14:32:04 UTC
FWIW launching from terminal gives Screenshot request failed: "The process is not authorized to take a screenshot" qt.qpa.wayland: Wayland does not support QWindow::requestActivate() QPixmap::scaled: Pixmap is a null pixmap So you're running Spectacle in Firejail or something? If so that might cause it. There is special code in Spectacle and KWin to communicate with one another, but only if the Spectacle binary can be correctly identified. It's quit possible that the sandboxing method you're using is interfering with that. Does it work if you stop sandboxing it with Firejail? That's the issue, I don't see it being sandboxed. I launch it from the terminal with ./spectacle from the /usr/bin folder. spectacle file there is an executable, not some link or shell script. Also in the System activity, I don't see it launched with some options. I don't think it is sandboxed, I removed the AppArmor profile from firejail and it is neither loaded nor active. AFAIK AppArmor profile and changing of executables with links to firejail executable is how it works. I've disabled this and still I have this issue. Is there some way (say a log...) I could diagnose what's blocking it? I've opened this discussion about FireJail: https://github.com/netblue30/firejail/discussions/5063 Removing the .desktop file that was converted by Firejail fixed it! Strange as I was not using the .desktop but was launching directly using the terminal, I think the command inside the .desktop file should not have been executed... I had a feeling it was going to be something like that. :) |