You are not logged in.

#1 2023-06-16 20:35:13

farima4
Member
Registered: 2023-06-16
Posts: 2

Is it possible to force the cursor to be visible?

Like the title says I want to force the cursor to be visible even when an app tries to hide it. The solution can be on both xorg or wayland as I use both anyways and I only need it for one specific purpose.

Basically the exact issue I'm having is when I try to play a game (specifically Drakensang Online) using wine or proton, the in-game custom cursor stays in place instead of following the actual cursor (which becomes hidden so I can't really see what I'm doing).

The problem seems simple but I couldn't find much info on it myself. And if it isn't possible maybe some workarounds can help. Either way thanks in advance!

Offline

#2 2023-06-17 07:23:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,696

Re: Is it possible to force the cursor to be visible?

https://bugs.winehq.org/show_bug.cgi?id=47386

It'd depend a lot on what wine is doing there to hide the cursor (set a blank pixmap cursor, use xfixes to hide it) but as a general workaround you could eg.

https://aur.archlinux.org/packages/find-cursor

find-cursor -f -r0 -s8 -l8 -w500 -c dodgerblue

Offline

#3 2023-06-17 11:28:38

farima4
Member
Registered: 2023-06-16
Posts: 2

Re: Is it possible to force the cursor to be visible?

seth wrote:

https://bugs.winehq.org/show_bug.cgi?id=47386

It'd depend a lot on what wine is doing there to hide the cursor (set a blank pixmap cursor, use xfixes to hide it) but as a general workaround you could eg.

https://aur.archlinux.org/packages/find-cursor

find-cursor -f -r0 -s8 -l8 -w500 -c dodgerblue

I tried it out and it is promising, just have to tweak it a bit to my liking. Thanks a lot!

UPDATE: I made the cursor a bit bigger. Then I made a bash script run the find-cursor command as well as the game and now it works perfectly. Thanks again I guess!

Last edited by farima4 (2023-06-17 12:22:09)

Offline

#4 2023-06-17 12:38:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,696

Re: Is it possible to force the cursor to be visible?

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB