Autostart

De Justine's wiki
Aller à la navigation Aller à la recherche

Avec cron

Pour lancer une application au démarrage avec cron, il suffit en théorie d'utiliser le mot clef @reboot :

@reboot /usr/bin/conky -d

Cela dit, cela ne semble pas très fiable.

Sur Gnome

Gnome passe par les fichier situés dans ~/.config/autostart. Voici par exemple conkystart.desktop:

[Desktop Entry]
Name=Conky
GenericName=background monitor
Comment=Keep a background eye on your system
Exec=conky -d
Terminal=false
Type=Application
Icon=conky
Categories=System;
StartupNotify=false
Name[en_US]=conky

Un autre exemple

[Desktop Entry]
Type=Application
Exec=conky -p4 -c /home/justine/.conkyrc &
Name=Conky
Comment=Afficher Conky sur le bureau
X-GNOME-Autostart-enabled=true

Tester cron.daily

run-parts -v /etc/cron.weekly