Comments (1)
It's weird that you get this error, looking at the code I don't see any way a Wayland WM can get to the stage where it prints that error. Worst case scenario your DE should be set as "OTHER" in the code, and you should get a warning about having grim
installed.
Maybe try setting your XDG_CURRENT_DESKTOP environment variable to something like "niri" or "niriwm" first, if it's unset.
Adding a WM to the code is actually easy, you just need to modify desktopinfo and screengrabber. But there's some other issue here.
If you want to debug the code yourself, add the following statements to ScreenGrabber::grabEntireDesktop
just before the switch statement:
auto wm = m_info.windowManager();
AbstractLogger::info() << tr("Detected window manager: %1").arg(static_cast<int>(wm));
switch (wm) { // Change the existing switch statement to this
You should get a number between 0 and 5, each corresponding to an enum value in desktopinfo.h
.
from flameshot.
Related Issues (20)
- I hope the screenshot key can be modified on Windows HOT 1
- Wrong version installation HOT 3
- Imgur Upload Failed "server replied: Too Many Requests" HOT 2
- Please add zipline custom uploader HOT 1
- ubuntu 24.04 , not able to use the shortcut key to call flameshot for taking screenshots. HOT 5
- Can only partially capture screen when using fractional display scaling in Ubuntu 24.04 with GNOME/Xorg HOT 2
- Snap installation failure
- Flameshot can't detect "added" displays in Win10/11 HOT 2
- Flameshot not open so normal screenshot executed instead (Wayland) HOT 1
- checkForUpdates config setting broke
- Flameshot won't opening on ubuntu 24.04.1 LTS after autostart HOT 3
- Option to remove border on circle count tool
- Copy to clipboard copies the image in .png format with large size (UPD: solution found, app with the fix inside comments) HOT 7
- Smart Window Edge Detection HOT 3
- Error transferring https://api.imgur.com/3/image?title=&description=2024-09-18_06-22 - server replied: client read error HOT 2
- Accessibility for color and size HOT 1
- New Version Release HOT 7
- Won't save to clipboard
- Allow to configure/customize global keys HOT 1
- Flameshot is improperly clipping text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flameshot.