Author Topic: hide mouse cursor on orbiter on joggler  (Read 9406 times)

Esperanto

  • Guru
  • ****
  • Posts: 281
    • View Profile
hide mouse cursor on orbiter on joggler
« 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?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: hide mouse cursor on orbiter on joggler
« Reply #1 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

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: hide mouse cursor on orbiter on joggler
« Reply #2 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
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: hide mouse cursor on orbiter on joggler
« Reply #3 on: May 13, 2014, 12:35:16 pm »
Those changes do not appear to exist on LinuxMCE's Orbiter.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: hide mouse cursor on orbiter on joggler
« Reply #4 on: May 13, 2014, 02:47:55 pm »
Those changes do not appear to exist on LinuxMCE's Orbiter.

Posde check with Uplink on that. I'll mention it to him.
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

uplink

  • Administrator
  • Guru
  • *****
  • Posts: 192
  • Linux and LinuxMCE witchdoctor
    • View Profile
Re: hide mouse cursor on orbiter on joggler
« Reply #5 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:

Code: [Select]
#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 };

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: hide mouse cursor on orbiter on joggler
« Reply #6 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.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: hide mouse cursor on orbiter on joggler
« Reply #7 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!

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: hide mouse cursor on orbiter on joggler
« Reply #8 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.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: hide mouse cursor on orbiter on joggler
« Reply #9 on: May 20, 2014, 09:47:22 pm »
Yes!  Thanks Andrew and Radu!

J.