2

enter image description here

I would like to use a Raspberry Pi with a display as a kiosk. I do not want to see the menu bar of the GUI. Thanks to 'xdotool and uncultter' I also hid the mouse cursor. However, at boot, the mouse position is at the left, which causes the menu bar to show, which I do not want.

How can I move the mouse at boot so that the menu bar does not show (or otherwise hide the menu bar)?

Aurora0001
  • 6,308
  • 3
  • 23
  • 38
  • Am I the only one who does not understand this question? – Fabian Apr 03 '18 at 21:46
  • Is there any reason you are using the DE at all? If it is just in the way, you'd be better off running your kiosk app standalone on top of the Xorg server: https://raspberrypi.stackexchange.com/a/57565/5538 -> Then there will be no menu bar to hide. – goldilocks Jun 05 '18 at 13:49

2 Answers2

0

Install the given package:

sudo apt-get install x11-xserver-utils unclutter 

And modify this file:

sudo nano /etc/lightdm/lightdm.conf

Add this in the above file:

xserver-command=X -nocursor

Alternatively, you can remove all items form the task bar:

task bar > right click > remove 

Good Luck Thanks

Brick
  • 1,377
  • 2
  • 13
  • 19
0

Add the package sudo apt update && sudo apt install xautomation then set up a script to move the mouse curser. Hiding it should really be enough but if you really want to move it carry on.

xte 'mousemove 0 0' -x:0 should do it, assuming your xdisplay is 0.

Andy Anderson
  • 638
  • 1
  • 4
  • 11