« Autostart » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
|||
Ligne 23 : | Ligne 23 : | ||
StartupNotify=false | StartupNotify=false | ||
Name[en_US]=conky | Name[en_US]=conky | ||
</nowiki> | |||
Un autre exemple | |||
<nowiki> | |||
[Desktop Entry] | |||
Type=Application | |||
Exec=conky -p4 -c /home/justine/.conkyrc & | |||
Name=Conky | |||
Comment=Afficher Conky sur le bureau | |||
X-GNOME-Autostart-enabled=true | |||
</nowiki> | </nowiki> | ||
Version du 7 février 2021 à 02:09
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