Comments (12)
Hmm, this also happens with scrot -s
giblib error: couldn't grab keyboard:Resource temporarily unavailable
I guess it isn't an issue with slop then.
from slop.
No it is, I need to keep slop from crashing since it's non-fatal. I'll let you know when I fix it.
from slop.
Oh sweet, thanks. If I insert a sleep 0.2
before calling slop, it works, so I guess sxhkd isn't ungrabbing fast enough. I guess slop could wait for that?
from slop.
Oh whoa, I never knew about that. I could make slop retry grabbing for a second or so, but that'd make slop really unresponsive imo.
You can always cancel a selection, even if it fails to grab the keyboard. It'll just let input fall through if so.
Could you try this new release? It should be fixed: https://github.com/naelstrof/slop/releases/tag/v5.3.29
from slop.
Sorry, this release, not that one: https://github.com/naelstrof/slop/releases/tag/v5.3.30
from slop.
Works now, starts immediately and I'm able to cancel pretty much instantly.
Thanks for fixing it!
from slop.
Looks like there are still issues on i3, slop doesn't crash but doesn't really work either, it draws the border around the window I'm currently hovering and prevents me from clicking anywhere until I start typing.
from slop.
It seems to work fine for me. What kind of configuration do you have for i3?
from slop.
https://github.com/Streetwalrus/dotfiles/blob/master/i3/config#L106
I can reproduce consistently with just slop
as the command.
from slop.
Ok confirmed, copying your configuration I get the same issue. I'll try to figure out what's going on.
from slop.
So slop was just failing to grab the mouse, failing to grab is now fatal, and now slop tries repeatedly for .5 seconds after launching before fatally shutting down.
Tested and fixed in 3634e20
from slop.
Can confirm it's working now. Thanks.
from slop.
Related Issues (20)
- strange behavior with --nodrag and moving started selection HOT 1
- transparency in shader HOT 8
- Using the "magnifying glass" (based on shaderexamples) to select a pixel HOT 4
- Optionally disable border drawing and highlighting of windows.
- Slop crashes randomly when selecting
- Expose rectangle start position to shaders HOT 6
- Feature Request: Add parameter to show coordinates and horizontal/vertical lines while selecting a point or region
- Feature Request: Option to output the size of the window
- Feature request: Exclude bars and window manager windows HOT 1
- Screen edge compensation causes misalignment in shader
- Feature request: Use a different window class name (WM_CLASS) for selection
- No compositor found HOT 1
- Feature request: Option to keep rectangle and refine selection
- Feature request: select window from command argument
- Feature request: get display geometry HOT 3
- Feature request: "Ruler" style croshair HOT 5
- Option to not build or install the dynamic library
- Support for high refresh rate monitors HOT 5
- Feature Request: Dimming unselected region. HOT 1
- Problem capturing KDE Plasma window decorations
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 slop.