Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor not hiding #15

Closed
slindgren opened this issue Mar 15, 2016 · 16 comments
Closed

Cursor not hiding #15

slindgren opened this issue Mar 15, 2016 · 16 comments
Labels

Comments

@slindgren
Copy link
Contributor

I've noticed that the Cursor doesn't seem to be hiding itself after loading web page.

@guysoft
Copy link
Owner

guysoft commented Mar 15, 2016

I am not sure how to fix that, nor do I have the research time. A pull request would help.

@slindgren
Copy link
Contributor Author

It would be enough if the cursor would move away, or just move a bit sometimes. Then the Chromium + css should know how to hide it.. I think..

@guysoft
Copy link
Owner

guysoft commented Apr 3, 2016

There was a pull request fixing this issue. Is this fixed in the nightly?

@slindgren
Copy link
Contributor Author

I have not downloaded the new nightly, but I'll get it tomorrow and check if everything is working!

@slindgren
Copy link
Contributor Author

now it requires login and the chromium isn't starting.. :/

@guysoft
Copy link
Owner

guysoft commented May 27, 2016

I just tested, it still does not work, try latest nightly

@guysoft guysoft added the bug label Jun 2, 2016
@guysoft guysoft changed the title Nightly build 2016-03-14_2016-02-26-fullpageos-jessie-lite-0.6.0 Cursor not hiding Cursor not hiding Jun 2, 2016
@tailorvj
Copy link
Collaborator

tailorvj commented Jun 2, 2016

@guysoft I found this solution on AskUbuntu:
Try 'unclutter'
the purpose of this program is to hide the pointer after the mouse has not moved for a while. Using it, you can make the pointer appear only when the user touches the screen, and disappear right after it. (maybe this was not exactly what you were aiming for. But it is much easier than your alternative =P)
To use, install it
sudo apt-get install unclutter
then run it
unclutter -idle 0.01 -root
the number is a number of seconds before the pointer disappears (in this case, 1/100 seconds)

@guysoft guysoft mentioned this issue Jun 4, 2016
@pricecomstock
Copy link

pricecomstock commented Jun 4, 2016

If you're getting "Could not open display" from unclutter, try the following.
DISPLAY=:0.0 ; export DISPLAY
unclutter -idle 0.01 -root

Hopefully that saves you a trip to this thread.

@andreicek
Copy link

If you want this done automatically on boot (or to be precise when X becomes available) you can add this to /etc/X11/xinit/xinitrc

So your file might look like this:

#!/bin/sh

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
. /etc/X11/Xsession
unclutter -idle 0.01 -root

@guysoft
Copy link
Owner

guysoft commented Jun 16, 2016

Likely this has been fixed by #34 , if not then we are going to add in 0.7.0 unclutter

@guysoft
Copy link
Owner

guysoft commented Sep 26, 2017

We didn't add unclutter and this seems to be working.

@guysoft guysoft closed this as completed Sep 26, 2017
@G3z
Copy link

G3z commented Feb 16, 2018

simply edited lightdm config in
/etc/lightdm/lightdm.conf

changing line
#xserver-command=X
to
xserver-command=X -nocursor

@guysoft
Copy link
Owner

guysoft commented Feb 16, 2018

Cool to know, but that would hide the cursor all together

@slindgren
Copy link
Contributor Author

slindgren commented Feb 16, 2018 via email

@G3z
Copy link

G3z commented Feb 16, 2018

@guysoft yes but touch still works fine, it depends on what is the desired effect.

@maxcel2
Copy link

maxcel2 commented Dec 3, 2022

I know that this is an old thread, but I'm still having a problem getting rid of the cursor in FullPageOS. G3z's solution of editing the lightdm.conf file doesn't do anything.
Installing unclutter and running it from the command line brings up the cursor while the screen is touched, which then disappears quickly, as intended. However, if it is added to xinitrc, the cursor hangs around for about a second.
I really want to get rid of the cursor altogether because the tip of the arrow is offset from the point of stylus contact and I have been unsuccessful so far in calibrating the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants