Does anyone know how to get Hints working on Mint Cinnamon?

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!

20 points · 4 comments · view on lemmy.world

4 Comments

lordnikon@lemmy.world · 9 pts · 120d (3 replies)

You're missing the at-spi2-core package https://github.com/GNOME/at-spi2-core

Mountainaire@lemmy.world · 1 pts · 119d (2 replies)

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!

lordnikon@lemmy.world · 2 pts · 119d (1 reply)

You just need to install the package from mints repos

sudo apt install at-spi2-core

Mountainaire@lemmy.world · 1 pts · 118d

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