1/ Création du script pour tuer le processus d'écran de veille.
Créer :
killScreensaver.sh
Ajouter :
#!/bin/sh
kill -9 `pgrep screensaver`
Action :
chmod +x killScreensaver.sh
2/ Création du répertoire des scripts de démarrage.
[util01@local ~]$ mkdir ~/.config/autostart
[util01@local ~]$ cd .config/autostart/
[util01@local ~/.config/autostart]$
3/ Création du script XFCE d'auto-démarrage.
Créer :
Disable_screensaver.desktop
Ajouter :
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Disable screensaver
Comment=
Exec=sh -c "/home/util01/killScreensaver.sh"
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false