« Autostart » : différence entre les versions
Aller à la navigation
Aller à la recherche
Ligne 26 : | Ligne 26 : | ||
Un autre exemple | Un autre exemple | ||
<nowiki> | <nowiki> | ||
[Desktop Entry] | [Desktop Entry] | ||
Type=Application | Type=Application |
Version du 20 février 2021 à 21:37
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