LinuxMCE Forums

General => Developers => Topic started by: Esperanto on April 02, 2014, 03:46:31 PM

Title: hide mouse cursor on orbiter on joggler
Post by: Esperanto on April 02, 2014, 03:46:31 PM
I wondered if it is possible to hide the mouse cursor on joggler when on the orbiter. I also tried as described here: http://slashdot.org/comments.pl?sid=55567&cid=5414812

it mentions that if it does not work it is because of the program being executed. Could it be that it needs to be changed in the orbiter?
Title: Re: hide mouse cursor on orbiter on joggler
Post by: tschak909 on April 02, 2014, 05:39:37 PM
The issue comes from the X11 handling code in Orbiter. It needs to be amended. I've tried to deal with this, several times in the last 6 years, without success, to try and find the offending piece of code.

-Thom
Title: Re: hide mouse cursor on orbiter on joggler
Post by: totallymaxed on May 13, 2014, 12:30:37 PM
In Dianemo we have the capability to hide/show the mouse pointer and the cross hairs cursor in the on-screen Orbiter on an MD. See http://wiki.linuxmce.org/index.php/Dianemo_S#Show.2FHide_The_Mouse_or_Cross_Hair_Cursor for details. Basically if the file /etc/pluto/orbiter.disable.mouse exists then the Orbiter will not display the mouse pointer or the cross hairs cursor.

I'm sure the changes to the Orbiter source to support this were pushed back to you guys ages ago. Thom check with Radu on this and if you don't have the changes he can provide them to you.

All the best

Andy
Title: Re: hide mouse cursor on orbiter on joggler
Post by: Marie.O on May 13, 2014, 12:35:16 PM
Those changes do not appear to exist on LinuxMCE's Orbiter.
Title: Re: hide mouse cursor on orbiter on joggler
Post by: totallymaxed on May 13, 2014, 02:47:55 PM
Quote from: posde on May 13, 2014, 12:35:16 PM
Those changes do not appear to exist on LinuxMCE's Orbiter.

Posde check with Uplink on that. I'll mention it to him.
Title: Re: hide mouse cursor on orbiter on joggler
Post by: uplink on May 13, 2014, 05:58:41 PM
That setting hides the UI2 cursor, and as it turns out possy wants to hide the UI1 cursor.

Stumbled upon this Stack Overflow answer: http://stackoverflow.com/questions/660613/how-do-you-hide-the-mouse-pointer-under-linux-x11/17142903#17142903

It has an error, but once fixed it works. I submitted an edit to that answer. The correct XBM file contents is this:

#define blnk_ptr_width 1                                                                                                                                                             
#define blnk_ptr_height 1
#define blnk_ptr_x_hot 0
#define blnk_ptr_y_hot 0
static unsigned char blnk_ptr_bits[] = {
   0x00 };
Title: Re: hide mouse cursor on orbiter on joggler
Post by: Marie.O on May 13, 2014, 06:46:57 PM
as discussed in IRC this has not yet yielded a positive result, but we are on it.
Title: Re: hide mouse cursor on orbiter on joggler
Post by: Marie.O on May 14, 2014, 05:40:16 PM
There was no easy fix, but Uplink came around and ported his OrbiterGL change to the UI1 Orbiter, so we can now report back that our jogglers are mouse cursor free.

Thanks Andrew and special thanks to Radu!
Title: Re: hide mouse cursor on orbiter on joggler
Post by: Marie.O on May 14, 2014, 05:50:16 PM
Oh in case any of the Joggler users wants the Orbiter binary.

http://fluffybitch.org/builder-precise/Orbiter

or

http://fluffybitch.org/builder-lucid/Orbiter

wget to your joggler, chmod +x, create the file in /etc/pluto and kill the current Orbiter process, and you should be good.
Title: Re: hide mouse cursor on orbiter on joggler
Post by: phenigma on May 20, 2014, 09:47:22 PM
Yes!  Thanks Andrew and Radu!

J.