-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: hide on key press #73
Comments
Do you mean on any keyboard input, or to configure some specific key that hides the cursor? |
I would also be interested in such a feature. Personally, I think it should be any keyboard input as the assumption is that if the user is typing, they likely don't need the mouse. Although a manual toggle would be a nice feature as well, it could technically be done with a simple shell script and a keybinding. |
For hiding it on any keyboard input, have you looked into using xbanish instead? Maybe that would suffice for you? |
I've been using it for a while, but unfortunately it lacks the ability to keep the cursor hidden while scrolling. There's a PR for it but it seems to not be going anywhere. EDIT |
Well, looks like it was merged! The git version also has a timeout feature like unclutter @bryangeplant, you may just want to switch to it instead. |
Glad to see pinging moved it along. I'll wait for more feedback on whether this is still needed in unclutter. |
Oh nice! Sorry for the delay, was traveling. Thanks, I'll hop on to it! |
Yes I meant all |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This seems like a great idea to me. I wonder if xbanish would be interested in merging, or at least sharing code. I'm sure I'm not the only user who would prefer not to need two such specific utilities with overlapping functionality. 🤔 Personally, I would want the hide effect to trigger on all keys except a blacklist of modifiers, like shift and control. Ideally, I suppose the utility would allow for both black and white lists. |
xbanish is written with Xlib, uncluttered-xfixes with XCB. They’re not incompatible per se but my guess is neither project would want to mix these. |
Got it. If I have time at some point, maybe I'll take a look around and see if I can help to translate that. My programming skills are pretty basic though and I'm not sure when I'd actually get to it. We'll see. 🙂 |
It seems like uncluttered-xfixes does use Xlib and not XCB. It doesn't really matter though, since you're using XInput2. I've never used this library before but I just submitted a P.R. that seems to work. Please do confirm for yourself. 👍 |
🙈 Sorry, it’s been a few years since I wrote this and I didn’t check. I’m about to leave for vacation but I’ll try to take a look at it before then. Thanks! |
Hey, love this package! Was wondering if it'd be easy to implement a flag that hides on keyboard press.
The text was updated successfully, but these errors were encountered: