| faiob | bonsoir tout le monde | 22:57 |
|---|---|---|
| Ankman | bonsoir | 22:57 |
| faiob | je cherche la commande pour lancer xterme et utiliser ca fermeture automatique avec sleep | 22:58 |
| faiob | mais ca marche pas une idée? | 22:58 |
| Ankman | shutdown -h 60 | 23:00 |
| Ankman | shutdown en 60 minutes | 23:00 |
| Ankman | ou "sleep 1h;shutdown now" | 23:01 |
| faiob | hmm | 23:01 |
| Ankman | pour tester sans shuwdown... | 23:03 |
| faiob | ca marche pas | 23:03 |
| Ankman | shutdown -k -h 1 | 23:03 |
| Ankman | shutdown en 1 minute | 23:03 |
| faiob | voici a quoi ressemble mes trois ligne : | 23:03 |
| faiob | enfin mes 4 | 23:04 |
| faiob | #!/bin/bash | 23:04 |
| faiob | xterm -e "echo | killall cairo-dock; $SHELL" ; | 23:04 |
| faiob | sleep 1h;shutdown now; | 23:04 |
| faiob | cairo-dock -o ; | 23:04 |
| Ankman | shutdown fermes tout applications | 23:04 |
| Ankman | seulement shutdown... | 23:04 |
| Ankman | tout apres shutdown est ignorée | 23:05 |
| faiob | ce que je comprend pas c'est que avec ce script xterm ce ferme bien automatiquement : | 23:05 |
| faiob | #!/bin/bash | 23:05 |
| faiob | xterm -e echo "Vidage du cache de la mémoire RAM" | 23:05 |
| faiob | sudo echo "1" > /proc/sys/vm/drop_caches | 23:06 |
| faiob | sleep 5 | 23:06 |
| faiob | sudo echo "0" > /proc/sys/vm/drop_caches | 23:06 |
| faiob | echo "Vidage du cache terminé ;-)" | 23:06 |
| Ankman | ah | 23:06 |
| faiob | je voudrais fair la même chose "fermeture automatique de xterm" | 23:07 |
| faiob | mais je trouve pas sur le google | 23:07 |
| faiob | merci quand même Ankman | 23:08 |
| faiob | :-D | 23:08 |
| Ankman | killall xterm | 23:08 |
| Ankman | mais rien est enregistrée. all data lost | 23:09 |
| faiob | c'est pareille ca marche pas | 23:10 |
| faiob | ce qui est normal | 23:10 |
| faiob | car lancer killall xterm dans xterm | 23:11 |
| faiob | il va chercher le sous-processus | 23:11 |
| faiob | lancer | 23:11 |
| faiob | alors qu'il y en a pas | 23:11 |
| faiob | normalement la commande sleep 1 (devrais marchait) | 23:12 |
| faiob | mais ca marche pas | 23:12 |
| faiob | je comprend pas | 23:12 |
| faiob | lool | 23:12 |
| Ankman | hmm | 23:13 |
| Ankman | xterm? gnome-terminal? | 23:13 |
| faiob | xterm | 23:13 |
| faiob | gnome-terminal fonctionne parfaitement bien | 23:14 |
| faiob | c'est juste xterm qui coince | 23:14 |
| Ankman | "killall xterm" doit terminer tout | 23:14 |
| faiob | je peux le fermer mais que manuelement | 23:14 |
| faiob | alors que je voudrais qu'il ce ferme automatiquement | 23:15 |
| faiob | 8-) | 23:16 |
| faiob | car je le trouve bien pratique ce petit terminal | 23:16 |
| faiob | pour éssayer les scriptes fait maison avant de les installer en dure | 23:17 |
| faiob | * enfin non je peut le fermer avec gnome-terminal | 23:17 |
| faiob | ou avec monitor système en tuant le processus de xterm | 23:18 |
| faiob | mais c'est pas ce que je cherche a fair , c'est qu'il ce ferme automatiquement | 23:19 |
| faiob | a je pence avoir trouver la solution | 23:20 |
| faiob | ! | 23:20 |
| Ankman | hmm | 23:22 |
| Ankman | screen session... | 23:22 |
| faiob | je pence plus a retirer sudo au /bin/sleep | 23:27 |
| faiob | a mon compte | 23:27 |
| faiob | tout simplement | 23:27 |
| Ankman | ok | 23:36 |
| faiob | je promais pas que ca va marcher | 23:38 |
| faiob | faut que je teste | 23:39 |
| faiob | a part ca comment vas-tu Ankman ? | 23:41 |
| faiob | j'ai trouvé! :-D | 23:53 |
| faiob | c'est bien ce que je disais c'était un problème de permission | 23:53 |
| faiob | donc mon script fonctionne a merveille | 23:53 |
| faiob | hip pip pip ? | 23:54 |
| faiob | lol | 23:54 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!