↧
Answer by Ale for How to run a cron job that relies on .Xauthority?
Assuming your user is logged in with an X session, and is the first session, it will get the display number 0, otherwise try to find out the display number the user is running. Try to put this in the...
View ArticleHow to run a cron job that relies on .Xauthority?
I want to take a screenshot every five minutes with 'scrot'. To do this over a SSH connection, I can either run ssh -X user@server while true; do scrot -z; sleep 300; done OR (after manually check of...
View Article