Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5244

Troubleshooting • Re: How to move the mouse pointer automatically?

$
0
0
Which model Pi are you using?

If by "TODAY'S Raspberry Pi OS" you mean RPiOS Bookworm and your Pi has at least 2GB RAM it won't be using X it'll be using Wayland so xdotool won't work.

You can switch to X via the advanced option menu of sudo raspi-config. Your .desktop fiel will still work.

On cron:

No idea why it won't even echo test > logfile. Are you checking in the right place for the logfile? With a relative path it will be in the user's home directory. For root that's /root.

Starting Desktop applications from cron is particularly tricky. @reboot jobs run before the desktop has started and all jobs must be told which desktop to connect to. It;s a liitle easier when using a systemd service as those can be made to run only after the desktop has started.

[shameless self promotion]
Some suggested reading:[/shameless self promotion]

Statistics: Posted by thagrol — Tue Sep 03, 2024 8:12 pm



Viewing all articles
Browse latest Browse all 5244

Trending Articles