WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Starting X without cursor not working on Tiny Core Linux  (Read 14482 times)

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Starting X without cursor not working on Tiny Core Linux
« on: January 08, 2017, 06:56:27 AM »
Hi,

it's possible to start X without a cursor, see:

https://www.x.org/wiki/AdvancedTopicsFAQ/#index1h2

This is working just fine on Ubuntu. But on Tiny Core Linux it doesn't seem to work. Tried all the combinations listed over there, but it doesn't work:

http://www.noah.org/wiki/cursor_disable_in_X11

Also tried it with Xorg-7.7.tcz, but it doesn't work.

Anyone here who can tell why it's not working?

PS:

Not working = Cursor is still there.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 758
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #1 on: January 08, 2017, 07:57:56 AM »
it's possible to start X without a cursor, see:
https://www.x.org/wiki/AdvancedTopicsFAQ/#index1h2
From the link you provide
Our Xserver version: 1.18.4
I first tried with Xorg -nocursor but failed.
However, when I tried tips for "Earlier versions", and create a file named nocursor.conf
Code: [Select]
sudo mkdir -p /usr/local/etc/X11/xorg.conf.d
sudo vi /usr/local/etc/X11/xorg.conf.d/nocursor.conf
# in vi
Option "AllowMouseOpenFail"
#:wq
tce-load -i Xorg-7.7
startx
I don't see the cursor, guess it works.  :)
« Last Edit: January 08, 2017, 08:30:39 AM by polikuo »

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #2 on: January 08, 2017, 09:07:13 AM »
Our Xserver version: 1.18.4
I first tried with Xorg -nocursor but failed.

But when doing it on Ubuntu 16.04, which also has xorg-server 1.18.4, it works with:

Code: [Select]
startx -- -nocursor
as outlined on:

http://www.noah.org/wiki/cursor_disable_in_X11

So, why does it work on Ubuntu but fail on Tiny Core Linux?

Offline polikuo

  • Hero Member
  • *****
  • Posts: 758
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #3 on: January 08, 2017, 09:20:49 AM »
Maybe I didn't make clear, I said:

However, when I tried tips for "Earlier versions", and create a file named nocursor.conf
Code: [Select]
sudo mkdir -p /usr/local/etc/X11/xorg.conf.d
sudo vi /usr/local/etc/X11/xorg.conf.d/nocursor.conf
# in vi
Option "AllowMouseOpenFail"
#:wq
tce-load -i Xorg-7.7
startx
I don't see the cursor, guess it works.  :)

It might just works with this configuration.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #4 on: January 08, 2017, 01:35:02 PM »
IIRC unclutter is the app used for that.
The only barriers that can stop you are the ones you create yourself.

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #5 on: January 08, 2017, 05:05:44 PM »
IIRC unclutter is the app used for that.

Even with:

Code: [Select]
unclutter -idle 0
the cursor is still showing up occasionally when the cursor is moving.

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #6 on: January 08, 2017, 05:33:32 PM »
Maybe I didn't make clear, I said:

However, when I tried tips for "Earlier versions", and create a file named nocursor.conf
Code: [Select]
sudo mkdir -p /usr/local/etc/X11/xorg.conf.d
sudo vi /usr/local/etc/X11/xorg.conf.d/nocursor.conf
# in vi
Option "AllowMouseOpenFail"
#:wq
tce-load -i Xorg-7.7
startx
I don't see the cursor, guess it works.  :)

It might just works with this configuration.

Doesn't work here. When doing this, startx actually fails.

Since you invoke -allowMouseOpenFail, I guess you're trying it without having a mouse connected?

I want it to work with a pointer connected, the cursor should just be invisible.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 758
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #7 on: January 08, 2017, 07:55:09 PM »
Since you invoke -allowMouseOpenFail, I guess you're trying it without having a mouse connected?
Nope, I tested it on virtualbox, that's why I said it might works.  :P
Why not trying the "empty cursor" thing ?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #8 on: January 09, 2017, 05:14:37 AM »
the cursor is still showing up occasionally when the cursor is moving.

I'm curious, what's the use case for hiding the cursor but still wanting to move it? Ad platforms and picture frames don't usually have that.
The only barriers that can stop you are the ones you create yourself.

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #9 on: January 09, 2017, 03:14:07 PM »
I'm curious, what's the use case for hiding the cursor but still wanting to move it?

Use case: Touchscreen.

With a touchscreen, the cursor is still there all the time and it also moves around when moving the finger over the touchscreen.

Obviously, you don't want to see the cursor when using a touchscreen though.

On Ubuntu, this is done even more elegantly than just hiding the cursor permanently. On Ubuntu (on Unity desktop), you can even have a touchscreen and a mouse connected simultaneously and when moving the mouse, the cursor appears and when touching the touchscreen, the cursor disappears, and it reappears again when using the mouse (and so on), so the cursor is being dynamically hidden or shown depending on what kind of input device is currently in use.

That being said: Any idea how this could also be achieved in Tiny Core Linux?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #10 on: January 10, 2017, 04:45:01 AM »
I assume Unity the WM keeps track, and sets the mouse theme accordingly. As apps can set any cursor they like, it may also need to override those requests, similarly to unclutter. In short, there is no ready-to-install package for what you want, you may need to code a custom solution.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Starting X without cursor not working on Tiny Core Linux
« Reply #11 on: January 31, 2021, 01:21:57 AM »
Hi curaga
... In short, there is no ready-to-install package for what you want, you may need to code a custom solution.
There is now:
http://forum.tinycorelinux.net/index.php/topic,24753.0.html