View previous topic :: View next topic |
Author |
Message |
Marsu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_flexo.gif)
Joined: 18 Jun 2003 Posts: 329 Location: Lyon
|
Posted: Wed Sep 17, 2003 3:13 pm Post subject: [kernel] empecher mise en veille (résolu) |
|
|
Comment je peux faire pour empecher la mise en veille de l'écran et de l'ordi, que cela soit dans la console ou dans X ?? _________________ qui ne tente rien n'a rien
Last edited by Marsu on Fri Sep 19, 2003 3:45 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperTomate Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 Jun 2002 Posts: 392 Location: France
|
Posted: Wed Sep 17, 2003 3:47 pm Post subject: |
|
|
Pour la console, je sais pas.
Pour X :
- Soit, c'est géré directement par le window manager (ex : KDE)
- Soit, tu tapes :
Pense aussi à virer l'option DPMS dans le fichier de config de XFree. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Marsu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_flexo.gif)
Joined: 18 Jun 2003 Posts: 329 Location: Lyon
|
Posted: Wed Sep 17, 2003 4:05 pm Post subject: |
|
|
merci (ct en prévision du futur), et comment je fais pour les consoles, lorsque X n'est pas lancé ?? _________________ qui ne tente rien n'a rien |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ghoti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/15463172846237c094abba7.jpg)
Joined: 30 Dec 2002 Posts: 3636 Location: Belgium
|
Posted: Wed Sep 17, 2003 6:52 pm Post subject: |
|
|
Marsu wrote: | merci (ct en prévision du futur), et comment je fais pour les consoles, lorsque X n'est pas lancé ?? |
setterm -blank 0
Tu remplace 0 par une valeur en minutes jusque 60 pour indiquer un délai. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Marsu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_flexo.gif)
Joined: 18 Jun 2003 Posts: 329 Location: Lyon
|
Posted: Thu Sep 18, 2003 3:47 pm Post subject: |
|
|
donc si je mets 0, ça ne se mettra jamais en veille ?? (bah, on verra bien, mais je crois avoir trouvé quelles options dans le kernel gelaient le système (1 ou 2 dans APM))
merci ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ qui ne tente rien n'a rien |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperTomate Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 Jun 2002 Posts: 392 Location: France
|
Posted: Thu Sep 18, 2003 10:49 pm Post subject: |
|
|
Marsu wrote: | donc si je mets 0, ça ne se mettra jamais en veille ?? |
Exact... man setterm :
Quote: | -blank [0-60] (virtual consoles only)
Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked (using APM if available). Without an argument, defaults to 0 (disable console blanking). |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ghoti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/15463172846237c094abba7.jpg)
Joined: 30 Dec 2002 Posts: 3636 Location: Belgium
|
Posted: Fri Sep 19, 2003 2:52 pm Post subject: |
|
|
SuperTomate wrote: | man setterm |
Ouf ! Tu me tires une épine du pied : j'osais pas l'écrire ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Marsu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_flexo.gif)
Joined: 18 Jun 2003 Posts: 329 Location: Lyon
|
Posted: Fri Sep 19, 2003 3:46 pm Post subject: |
|
|
merci, de me répondre aussi gentiment, il est vrai que je devrais penser à utiliser le man _________________ qui ne tente rien n'a rien |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|