GithubHelp home page GithubHelp logo

Comments (11)

naelstrof avatar naelstrof commented on July 28, 2024

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.

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

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

from maim.

Earnestly avatar Earnestly commented on July 28, 2024

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

from maim.

Earnestly avatar Earnestly commented on July 28, 2024

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

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

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

from maim.

Earnestly avatar Earnestly commented on July 28, 2024

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).

from maim.

KeepBotting avatar KeepBotting commented on July 28, 2024

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!

from maim.

kas avatar kas commented on July 28, 2024

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

from maim.

KeepBotting avatar KeepBotting commented on July 28, 2024

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

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

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!

from maim.

Earnestly avatar Earnestly commented on July 28, 2024

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).

from maim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.