How to hide the mouse cursor????
Hi.
O.K., i´m a Slack lover and i allways will be, and that´s it. I´m running slack 10.1. I had a long quest, making Quake II ID Software v.3.20 official binaries work like they should, and i had sucess, and they really rock, in my opinion, mutch better then any 3rd party engines, for me no comparations.... But now i have one last thing that i need to solve, that is driving me crazy.... I cant get rid of the mouse cursor over my Quake II windows, and it does have nothing to doo with Quake II. My questions is simple, is there any command, or any whay to hide the mouse cursor when i run a xwindows aplication, or even a command, or a whay to just hide the mouse cursor. Of course, i only need to hide the cursor and not to disable it because i will need it for the game. Thakz in advance guys, and plz help me make another win in my slak box....;) Thake care all: The SIN Raven |
nope
|
You could make your own cursor which is invisible... I know that would just be a pain in the ass and more hastle to have to change the cursor every time you play (which usually involves restarting X), but it doesn't seem you have much choice!
|
If you mean the mouse pointer, there must be a way to hide it, because that is what mplayer does.
It disappears if it's not moved. I don't know how that is done. |
It is a program function from Xlib
XDefineCursor(display, window, None); --> set the 3rd argument to this Xlib function to None will disable the cursor |
Hi guys.
Thanks for the replys. I also im almoast shure that there is a command or a whay to do it, but like you guys, im not seing witch.... Maybe someone more experient that me will gives us the tip... Meanwhile im thinking on ussing the invisible cursor. How should i create the invisible cursor? I´m really loast here....:confused: Is there any site or link where i could get this invisible cursor? Or even can you guys send me one already made? Thanks. The SIN Raven |
Hi SIN Raven!
It is a quite old post, but hard to find the solution. I do not know Slackware so much, but have you found the command Code:
unclutter Quote:
|
Year 2008, on mandriva 2008 and was looking for exacltly that !
unclutter, found it for Mandriva 2008 does exacly that. on rpm.pbone.net You can specify multiple options like how long in idle before hiding it. |
Found this ftp://ftp.at.debian.org/grml/src/grm..._8.orig.tar.gz
It compiles OK on my system and seems to work on a Konsole window. I ran this on a test box I have as I am usually a bit careful about running code of unknown origin. |
yeah unclutter is what you are looking for. I have been using it for a long time on my laptop (Slackware 12 with a custom fluxbox setup). I just have it run during my X startup scripts. It does interfere with some programs that grab the mouse (such as game emulators), so you might have to kill it occasionally for special cases.
|
All times are GMT -5. The time now is 02:19 AM. |