How to run some graphical application automatically every hour

An example if you want you schedule to pop up for every hour.

1. Install Osmo and add the task you want to its timeline.
sudo apt-get install osmo
2. Check you display number using command
xdpyinfo | grep display
… if comand prints ”name of display: :0.0” , add the next command to the crontab
crontab -e ## choose nano when asking
… add the line
0 * * * * export DISPLAY=:0 && /usr/bin/osmo

calendar

Edit 25.4.2025:

1. Tarkista, että cron on käynnistyvissä ohjelmissa
Jos ei ole niin laita cron päälle ja käynnistä kone uudestaan.

2. Muokkaa crontab tiedostoa. Esimerkki scriptistä, joka käynnistyy minuutin välein
*/1 * * * * export DISPLAY=:0.0 && /home/käyttäjä/scripti.sh
Crontabin muokkaaminen
crontab -e

3. Jos käynnistät graafisia ohjelmia, niin muista laittaa myös
export DISPLAY=:0.0 &&

4. Voit poistaa ohjelman crontabista yksinkertaisesti laittamalla
risuaidan # ohjelman eteen