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,357
  • 3
  • 25
  • 39

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,375
  • 2
  • 14
  • 20
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
  • 649
  • 1
  • 4
  • 11