Skip to content
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

Make --hidecursor the default or give it a short option. #52

Open
Earnestly opened this issue Jul 11, 2015 · 11 comments
Open

Make --hidecursor the default or give it a short option. #52

Earnestly opened this issue Jul 11, 2015 · 11 comments

Comments

@Earnestly
Copy link

This is a suggestion to bring maim more in inline with scrot. At least
personally and all the people I've spoken to, the default of showing the mouse
pointer only seems to only get in the way of the content (troubleshooting). It
would be nice if either --hidecursor was made the default operation or a more
convenient shortopt was provided.

A workaround for now is to use aliases or wrapper scripts.

@naelstrof
Copy link
Owner

I have to agree with you since even I use --hidecursor in my scripts haha. I put it in the cursor by default due to a special circumstance where I wanted to point out a certain word in a text image with the mouse in a screenshot. I realize the best way for this is to have maim have a delay so that people can move the cursor where they want it, but that's dumb.

You're right, maim should default to hide the cursor. I've already implemented the change on the experimental branch. It'll get merged as soon as I figure out how to get the Arch maintainers to not strip all the functionality from community/devil. Or when I just write my own image lib for experimental slop.

You should be able to use the experimental branch for now though.

@naelstrof
Copy link
Owner

OK it's fully implemented with e18b061 and ab83360. Feel free to close this issue if you feel like they're adequate.

@Earnestly
Copy link
Author

Wonderful, thanks for the quick reponse and even fix o/

@Earnestly
Copy link
Author

This seems to have been reverted where -u is now necessary to explicitly hide the mouse pointer. Is this intentional?

@Earnestly Earnestly reopened this Jun 5, 2017
@naelstrof
Copy link
Owner

Whoops, I accidentally reverted this during my refactor.
I'll fix it in a bit.

@Earnestly
Copy link
Author

I forget, was this changed? I suppose a lot of the screenshots I've been taking was dragging from the right to the left, top to bottom, and so my pointer didn't show up much to notice.

I did one in reverse and it still shows up, but I can't remember if this was fixed and regressed or wasn't fixed. Hmm, it still seems to be showing up when building from master (f0c5de9).

@KeepBotting
Copy link

KeepBotting commented Feb 15, 2018

Hey there! I got here from Google, while I was searching for a way to hide the mouse cursor. It gets in the way when creating screenshots out of very small selections, especially when dragging left to right, top to bottom.

Adding --hidecursor was enough to make the mouse cursor disappear, and solved my issue! Thank you!

@kas
Copy link

kas commented Oct 23, 2018

The mouse cursor is still showing up as of v5.4.68 (version in the Ubuntu repository).

@KeepBotting
Copy link

KeepBotting commented Oct 23, 2018

@kas Cannot reproduce using maim 5.5.2, the cursor is hidden as expected when using --hidecursor

@naelstrof
Copy link
Owner

Ah jeez, I hate changing stuff like this because people are already probably used to how it works as is, there's no convention saying what's "normal" really.

@KeepBotting I believe they want maim to ignore the cursor by default, not just that the flag is doing what is intended.

I feel real bad that I spaced this (again!), it's something that doesn't bother me at all since maim is kind of meant to be used in other utility scripts.

When I get to it, I'll do what I did last time and add a --showCursor option that overrides the --hideCursor. That way you can alias it to your hearts content, and if you needed to show the cursor you can just specify the flag that shows the cursor. Emulating scrot's functionality perfectly.

However it'll be a while, I'm currently transitioning jobs and doing school still. Again sorry for dropping the ball on this one!

@Earnestly
Copy link
Author

Earnestly commented Jan 28, 2019

Any news on this? I really don't think showing the cursor should be the default personally, but if it's going to be the case I'll have to make wrappers (aliases are not enough because maim is not always run from a shell).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants