Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: pq5190362 on January 08, 2017, 03: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.
-
it's possible to start X without a cursor, see:
https://www.x.org/wiki/AdvancedTopicsFAQ/#index1h2 (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
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. :)
-
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:
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?
-
Maybe I didn't make clear, I said:
However, when I tried tips for "Earlier versions", and create a file named nocursor.conf
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.
-
IIRC unclutter is the app used for that.
-
IIRC unclutter is the app used for that.
Even with:
unclutter -idle 0
the cursor is still showing up occasionally when the cursor is moving.
-
Maybe I didn't make clear, I said:
However, when I tried tips for "Earlier versions", and create a file named nocursor.conf
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.
-
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 ?
-
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.
-
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?
-
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.
-
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