Code Monkey home page Code Monkey logo

Comments (12)

amosbird avatar amosbird commented on June 14, 2024 1

Now it's all systems go. I will wait until the issue recurs and then post the x11 log. Thanks for helping 😄 .

from unclutter-xfixes.

Airblader avatar Airblader commented on June 14, 2024

I'm experiencing cursor blinking slowly after running unclutter.

You mean it appears and disappears all the time? Even while you keep moving the mouse? What about if you don't move it?

How can I debug this?

You can run it under xtrace and get that logfile.

unclutter --timeout 1.5

Note that the timeout argument is an integer, so this should either be 1 or 2.

from unclutter-xfixes.

amosbird avatar amosbird commented on June 14, 2024

No, it blinks only when I don't move it, and this issue isn't always reproducible.

I tried xtrace unclutter --timeout 2. Nothing came out.

from unclutter-xfixes.

Airblader avatar Airblader commented on June 14, 2024

I tried xtrace unclutter --timeout 2. Nothing came out.

Note that on Arch it's called x11trace. It does print (a lot of) stuff for me, so I suspect you were using the wrong tool.

Even without it, my guess would be that what you are looking for is the "jitter" option in the original unclutter which ignores pointer movements that are "too small". Let's verify this, though. (This is not yet implemented in unclutter-xfixes)

from unclutter-xfixes.

amosbird avatar amosbird commented on June 14, 2024

Ok. I will start using the original unclutter with "jitter" option enabled for a day or two to see if this issue goes away.

And for the x11trace, I couldn't find it even in AUR.

from unclutter-xfixes.

Airblader avatar Airblader commented on June 14, 2024

I'd appreciate if we could instead get the log file so we can see whether that's the issue. It'd help in deciding how to proceed here.

from unclutter-xfixes.

amosbird avatar amosbird commented on June 14, 2024

Yeah, that would be the right thing to do if I can get the X trace stuff working :-). I've updated my last comment.

from unclutter-xfixes.

Airblader avatar Airblader commented on June 14, 2024

@amosbird In the AUR it's xtrace-git, but the binary provided by it is called x11trace.

from unclutter-xfixes.

Airblader avatar Airblader commented on June 14, 2024

@amosbird Once you have that, you can also try out the pull request I've opened and launch unclutter --timeout 2 --jitter 25 (or some other value).

from unclutter-xfixes.

amosbird avatar amosbird commented on June 14, 2024

Here is the problem x11trace log

000:<:00ed:  8: XFIXES-Request(138,30): ShowCursor window=0x000000f9
000:<:00ee:  8: XFIXES-Request(138,29): HideCursor window=0x000000f9
000:>:00ee: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0x4f,0x40,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xca,0x28,0x5c,0x4f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00ef:  8: XFIXES-Request(138,30): ShowCursor window=0x000000f9
000:<:00f0:  8: XFIXES-Request(138,29): HideCursor window=0x000000f9
000:>:00f0: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0x0d,0x4c,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x7d,0x1c,0x1c,0xb0,0x00,0x00,0x00,0x00,0x82,0xe3,0xe3,0x4f,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00f1:  8: XFIXES-Request(138,30): ShowCursor window=0x000000f9
000:>:00f1: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0xda,0x4c,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x80,0xe0,0x54,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:>:00f1: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0xf4,0x4e,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9a,0xe4,0x83,0x56,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00f2:  8: XFIXES-Request(138,29): HideCursor window=0x000000f9
000:>:00f2: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0x0d,0x55,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xa0,0xfd,0xf0,0xad,0x00,0x00,0x00,0x00,0x5f,0x02,0x0f,0x52,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00f3:  8: XFIXES-Request(138,30): ShowCursor window=0x000000f9
000:<:00f4:  8: XFIXES-Request(138,29): HideCursor window=0x000000f9
000:>:00f4: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0x90,0x5d,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x82,0xe3,0xe3,0x4f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00f5:  8: XFIXES-Request(138,30): ShowCursor window=0x000000f9
000:<:00f6:  8: XFIXES-Request(138,29): HideCursor window=0x000000f9
000:>:00f6: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0x84,0x61,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xca,0x28,0x5c,0x4f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00f7:  8: XFIXES-Request(138,30): ShowCursor window=0x000000f9
000:<:00f8:  8: XFIXES-Request(138,29): HideCursor window=0x000000f9
000:>:00f8: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0x5e,0x6f,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x7d,0x1c,0x1c,0xb0,0x00,0x00,0x00,0x00,0x82,0xe3,0xe3,0x4f,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00f9:  8: XFIXES-Request(138,30): ShowCursor window=0x000000f9
000:>:00f9: Event Generic(35) XInputExtension(131) RawMotion(17) extension=0x83 length=10 evtype=0x0011 data=0x02,0x00,0x8a,0x70,0xe0,0x0b,0x00,0x00,0x00,0x00,0x0d,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x21,0xe3,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
000:<:00fa:  8: XFIXES-Request(138,29): HideCursor window=0x000000f9

I'm starting to test the jitter patch.

from unclutter-xfixes.

Airblader avatar Airblader commented on June 14, 2024

Yeah, that looks like jitter. Let's see if the new option helps.

from unclutter-xfixes.

amosbird avatar amosbird commented on June 14, 2024

@Airblader I'd say it works so far so good. Thanks!

from unclutter-xfixes.

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.