I’m itching to use this but it malfunctions when I run hints in the Terminal: https://github.com/AlfredoSequeida/hints

It yields:

(hints:10812): dbind-WARNING **: 17:25:16.703: AT-SPI: Unable to open bus connection: Failed to connect to socket /run/user/1000/at-spi2-1RE4O3/socket: No such file or directory
Traceback (most recent call last):
File "/home/redacted/.local/bin/hints", line 10, in <module>
    sys.exit(main())
            ^^^^^^
File "/home/redacted/.local/share/uv/tools/hints/lib/python3.12/site-packages/hints/hints.py", line 375, in main
    hint_mode(config, window_system)
File "/home/redacted/.local/share/uv/tools/hints/lib/python3.12/site-packages/hints/hints.py", line 229, in hint_mode
    mouse_action["x"] + mouse_x_offset,
    ~~~~~~~~~~~~^^^^^
KeyError: 'x'

Does anyone have any idea of what to do here? Thanks in advance!

    • Mountainaire@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Hmm, thanks, though… I have no idea of how to make heads or tails of this. I see nothing to install. Would you know how to go about not missing it? lol you’re definitely smarter than this newbie!

        • Mountainaire@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          16 hours ago

          Huh, I apparently already had this installed amid my tinkering. Thanks, but it didn’t seem to help… I had to keep clicking or alt+tabbing to the window where I wanted the hints to appear right after typing hints in the console. Then the hints displayed in a zigzag fashion with no rhyme nor reason with respective to the buttons’ location. FWIW, my display is at 200%, which may be what’s causing the mouse to overshoot the coordinates, but even the hint locations are off.

          I also wasn’t expecting to have to pull up the Terminal to type “hints” and quickly Alt+Tab to the target window to generate the hints… though I suppose a keyboard shortcut could bind the script to a function key or something…