<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=362220&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / reveillez l'ecran avec un crontab [resolu]]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=362220</link>
		<description><![CDATA[Les sujets les plus récents dans reveillez l'ecran avec un crontab [resolu].]]></description>
		<lastBuildDate>Sun, 24 Jan 2010 23:25:56 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3234850#p3234850</link>
			<description><![CDATA[<p>Regarde du coté de xautomation c&#039;est fait pour scripter des automatisations de X</p>]]></description>
			<author><![CDATA[dummy@example.com (sputnick)]]></author>
			<pubDate>Sun, 24 Jan 2010 23:25:56 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3234850#p3234850</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3232753#p3232753</link>
			<description><![CDATA[<p>CA y est ca marche <img src="http://forum.ubuntu-fr.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /><br />Merci a tous le truce est DE NE PAS METTRE </p><div class="codebox"><pre><code>xhost + local:utilisateur</code></pre></div><p>J&#039;ai oublie de le mettre et ca marche nicquel<br />@+</p>]]></description>
			<author><![CDATA[dummy@example.com (sdblepas)]]></author>
			<pubDate>Sun, 24 Jan 2010 07:28:36 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3232753#p3232753</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3120709#p3120709</link>
			<description><![CDATA[<p>ok ca marche pas <img src="http://forum.ubuntu-fr.org/img/smilies/sad.png" width="15" height="15" alt="sad" />(((((((((((((((((((<br />et la j&#039;en ai marre<br />voila<br />ce que j&#039;ai </p><div class="codebox"><pre><code>crontabfamille@Famille:~$ crontab -l
27 18  06  12  0 DISPLAY=:0.0 /home/famille/wakeit.sh  /home/famille/Desktop/pelham

famille@Famille:~$ cat /home/famille/wakeit.sh
export DISPLAY=:0.0
xset dpms force on
xset s reset
vlc $1
famille@Famille:~$</code></pre></div><p>le programme lance vlc mais ne reveille pas l&#039;ecran donc j&#039;ai que le son!!!!!!!</p><p>je sens que je vais me faire lyncher mais je suis sous kubuntu 9.10<br />peut etre que c&#039;est important:rolleyes:<br />@+</p>]]></description>
			<author><![CDATA[dummy@example.com (sdblepas)]]></author>
			<pubDate>Sun, 06 Dec 2009 16:33:33 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3120709#p3120709</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3118569#p3118569</link>
			<description><![CDATA[<p>Il faut mettre le chemin complet vers ton executable, genre :<br />/home/machin/ScriptAExecuter.sh<br />Sauf si :<br />Tu le mets dans un des répertoires du PATH :</p><div class="codebox"><pre><code>echo $PATH</code></pre></div><p>Et encore, le fichier crontab peut définir son propre PATH. Donc, le mieux est de mettre le chemin complet vers ton fichier : /home/Famille/wakeit.sh (un truc dans le genre).</p>]]></description>
			<author><![CDATA[dummy@example.com (xamaco)]]></author>
			<pubDate>Sat, 05 Dec 2009 17:07:26 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3118569#p3118569</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3118439#p3118439</link>
			<description><![CDATA[<p>ton code a l&#039;air tres bon et je suis sur qu&#039;il marche mais j&#039;ai un probleme mon fichier est wakeit.sh<br />le truc c&#039;est que quand je fais </p><div class="codebox"><pre><code>famille@Famille:~$ wakeit.sh
wakeit.sh: command not found</code></pre></div><p>meme si avant j&#039;ai fait chmod 755 wakeit.sh<br />le seul moyen de l&#039;executer c&#039;est ./ ou ~/<br />or dans cron tab tu ne peux pas faire ./ ou&#160; ~/</p><p>je pense que mon probleme est la</p><p>comment executer ce PU/// de script snas passer par ./ ou ~/</p><p>MEr :Dci</p>]]></description>
			<author><![CDATA[dummy@example.com (sdblepas)]]></author>
			<pubDate>Sat, 05 Dec 2009 16:12:17 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3118439#p3118439</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3116664#p3116664</link>
			<description><![CDATA[<p>Je ne comprends pas ton fichier cron : Je peux me tromper, mais pour moi, tu lances le film avec une entrée et tu en utilises une autre pour réveiller l&#039;écran à un autre moment qui n&#039;a rien à voir avec le moment du film...</p><p>J&#039;ai testé avec cron et j&#039;en ai ch.. avant que ça marche <img src="http://forum.ubuntu-fr.org/img/smilies/lol.png" width="15" height="15" alt="lol" /> (j&#039;avais pas mis le : xhost + local:root).</p><p>En fait j&#039;ai mis la plupart des choses dans un script. Le cron appelle le script avec le chemin vers le film à jouer en argument.</p><p>L&#039;entrée cron :</p><div class="codebox"><pre><code>3 * * * * DISPLAY=:0.0 /home/zazou/bin/playvideo.sh /media/cdrom/Splinter.avi</code></pre></div><p>Le script playvideo.sh</p><div class="codebox"><pre><code>export DISPLAY=:0.0
xset dpms force on
xset s reset
vlc $1</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (xamaco)]]></author>
			<pubDate>Fri, 04 Dec 2009 19:11:27 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3116664#p3116664</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3115577#p3115577</link>
			<description><![CDATA[<p>MArche pas non plus <img src="http://forum.ubuntu-fr.org/img/smilies/sad.png" width="15" height="15" alt="sad" />(((((((((((</p><p>si ca marche chez toi tu peux me mettre le crontab et ce que tu fais exactement<br />Merci <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (sdblepas)]]></author>
			<pubDate>Fri, 04 Dec 2009 09:34:02 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3115577#p3115577</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3115060#p3115060</link>
			<description><![CDATA[<p>Il y a 2 choses :<br />- L&#039;écran noir. L&#039;écran est toujours actif, mais il est noir.<br />- L&#039;écran se met en veille</p><p>D&#039;après ce que j&#039;ai pu tester sur mon PC, le xset dpms force on sort l&#039;écran de son état de veille, mais ne le fait pas revenir de l&#039;écran noir (je vois ça à la petite lumière de mon moniteur qui est bleue lorsqu&#039;il est actif et orange quand il est en veille).</p><p>Après recherche, après xset dpms force on, si l&#039;on fait xset s reset, l&#039;écran quitte son mode noir et tout remarche.</p><p>Voici le script que j&#039;ai utilisé pour tester :</p><div class="codebox"><pre><code>xset dpms force suspend
sleep 8
xset dpms force on
xset s reset</code></pre></div><p>J&#039;espère que ça marchera chez toi aussi</p>]]></description>
			<author><![CDATA[dummy@example.com (xamaco)]]></author>
			<pubDate>Thu, 03 Dec 2009 21:49:48 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3115060#p3115060</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3114321#p3114321</link>
			<description><![CDATA[<p>je me permet un petit up de ton sujet si jamais quelqu&#039;un a une solution:rolleyes:</p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Thu, 03 Dec 2009 16:32:51 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3114321#p3114321</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3113448#p3113448</link>
			<description><![CDATA[<p>laisse tomber mois non plus <img src="http://forum.ubuntu-fr.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[dummy@example.com (sdblepas)]]></author>
			<pubDate>Thu, 03 Dec 2009 05:41:46 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3113448#p3113448</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3113443#p3113443</link>
			<description><![CDATA[<p><img src="http://forum.ubuntu-fr.org/img/smilies/roll.png" width="15" height="15" alt="roll" /> je ne comprends pas pourquoi ça ne fonctionne pas</p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Thu, 03 Dec 2009 05:23:42 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3113443#p3113443</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3112348#p3112348</link>
			<description><![CDATA[<p>le retourd<br />bon voila le cron tab</p><div class="codebox"><pre><code>famille@Famille:~$ crontab -l
30 19  27  11  5 DISPLAY=:0.0 vlc  /home/famille/Desktop/ami.avi
00 16  27  11  5 DISPLAY=:0.0 vlc  /home/famille/Desktop/Walt.Disney.49.LE.ROI.LION.2.avi
45 13  27  11  6 DISPLAY=:0.0 vlc  /home/famille/Desktop/vendredi.m3u
03 19  02  12  3 /home/famille/wake.sh on
famille@Famille:~$</code></pre></div><p>voila wake.sh</p><div class="codebox"><pre><code>#!/bin/bash
export DISPLAY=:0.0

if [ $# -eq 0 ]; then
  echo usage: $(basename $0) &quot;on|off|status&quot;
  exit 1
fi

if [ $1 = &quot;off&quot; ]; then
  echo -en &quot;Turning monitor off...&quot;
  xset dpms force off
  echo -en &quot;done.\nCheck:&quot;
  xset -q|grep &quot;Monitor is&quot;
elif [ $1 = &quot;on&quot; ]; then
  echo -en &quot;Turning monitor on...&quot;
  xset dpms force on
  echo -en &quot;done.\nCheck:&quot;
  xset -q|grep &quot;Monitor is&quot;
elif [ $1 = &quot;status&quot; ]; then
  xset -q|sed -ne &#039;s/^[ ]*Monitor is //p&#039;
else
  echo usage: $(basename $0) &quot;on|off|status&quot;
fi</code></pre></div><p>ca me reveil l&#039;ecran mais ca ne m&#039;affiche pas mon desktop (l&#039;ecran est active mais reste noir)<br />et voila le retourd de xhost</p><div class="codebox"><pre><code>famille@Famille:~$ xhost
access control enabled, only authorized clients can connect
LOCAL:
SI:localuser:famille
famille@Famille:~$</code></pre></div><p>A vot bon coeur <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (sdblepas)]]></author>
			<pubDate>Wed, 02 Dec 2009 17:06:22 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3112348#p3112348</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3111083#p3111083</link>
			<description><![CDATA[<p>excellent c&#039;a a l&#039;air parfais je teste ce soir<br />@+</p>]]></description>
			<author><![CDATA[dummy@example.com (sdblepas)]]></author>
			<pubDate>Wed, 02 Dec 2009 05:42:18 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3111083#p3111083</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3110213#p3110213</link>
			<description><![CDATA[<p>Au pire je te propose ça </p><p><a href="http://systembash.com/content/how-to-turn-off-your-monitor-via-command-line-in-ubuntu/comment-page-1/">http://systembash.com/content/how-to-tu … nt-page-1/</a></p><p>essaie avec ça si tu arrive pas , je te donne une réponse dés que je peut <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>il faudrai essayer de passer par un script peut-etre que <img src="http://forum.ubuntu-fr.org/img/smilies/roll.png" width="15" height="15" alt="roll" /></p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Tue, 01 Dec 2009 19:38:59 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3110213#p3110213</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  reveillez l'ecran avec un crontab [resolu]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3110200#p3110200</link>
			<description><![CDATA[<p>envoie le resultat de xhost seulement depuis la console</p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Tue, 01 Dec 2009 19:33:49 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3110200#p3110200</guid>
		</item>
	</channel>
</rss>
