You are not logged in.

#1 2021-10-05 05:40:29

lfitzgerald
Member
Registered: 2021-07-16
Posts: 38

Move mouse to the corner when idle

I use i3 and rarely touch the mouse, in fact the mouse is in a very invonvenient location so I try to avoid it when I can. Unfortunately I often have mouse pointer sitting in the middle of the screen and annoying me.

I installed unclutter and that does a nice job of hiding it. However it only visually hides the pointer. The mouse is still pointing at the center of the screen, so it can trigger mouse over effects on some web pages for instance.

I would prefer it if instead of hiding the cursor, it was moved to the edge of the screen. How can I do this? Does unclutter have an option I've missed? Does xbanish support it? Is there some other program that does?

Offline

#2 2021-10-05 06:44:32

seth
Member
Registered: 2012-09-03
Posts: 25,140

Re: Move mouse to the corner when idle

You could bind xautolock to "xdotool mousemove" or "xinput disable" it (but for the latter need a non-mouse shortcut/action to re-enable it)

Online

#3 2021-10-12 01:39:33

lfitzgerald
Member
Registered: 2021-07-16
Posts: 38

Re: Move mouse to the corner when idle

Thanks for the suggestion seth and sorry for the late reply. "xdotool mousemove" sounds about right, I'll give it a try and leave a reply here for future readers.

seth wrote:

"xinput disable" it (but for the latter need a non-mouse shortcut/action to re-enable it)

Makes sense smile In my case I would presumably press my "launch terminal" hotkey and do "xinput enable" or smth. Sounds like this would inactivate my mouse completely, rather than just moving it out of the way, no?

Offline

#4 2021-10-12 06:33:21

seth
Member
Registered: 2012-09-03
Posts: 25,140

Re: Move mouse to the corner when idle

Sounds like this would inactivate my mouse completely, rather than just moving it out of the way, no?

Yes. It's like the touchpad toggle on many notebooks.

Online

Board footer

Powered by FluxBB