Monitor turns green after 60 seconds on tty6

3 Antworten [Letzter Beitrag]
Maxime Devos
Offline
Beigetreten: 01/15/2017

When reading mails on the console, on tty6, my laptop monitor turns
green after about 60 seconds. This is a bit too short (reading a mail
takes some time) and does not happen on my graphical desktop environment
(awesome + xfce4-power-manager + applications).

I want not to have to turn the monitor on again every N seconds. 300
seconds is ok for me.

Searching for ‘GNU/Linux monitor turns green’ or ‘GNU/Linux monitor
turns off’ gave no useful hits.

Where can I increase this delay, or where is the documentation about
the setting file or equivalent controlling this?

ADFENO
Offline
Beigetreten: 12/31/2012

What is the email reader that you're using?

Trisquel is composed of many parts, perhaps we need steps to reproduce
(that is: tell us how to come to such problem). :)
--
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que
está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
/software/ livre. Favor entrar em contato em caso de dúvida.
- "People said I should accept the world. Bullshit! I don't accept the
world."
--- Richard Stallman

Maxime Devos
Offline
Beigetreten: 01/15/2017

> What is the email reader that you're using?
I am using mutt 1.5.21.

> Trisquel is composed of many parts, perhaps we need steps to reproduce
> (that is: tell us how to come to such problem). :)

Firstly, I have found the solution myself, by having found the
configuration file where the delay can be increased.

To find the file, I've done `grep -r --files-with-matches -F 60 /etc`,
since the delay is 60 seconds.

This way I've found a configuration called
`/etc/laptop-mode/conf.d/terminal-blanking.conf` (of the package
laptop-mode-tools I've installed which is supposed to save power on
laptops) with the following line in it:

`BATT_TERMINAL_BLANK_MINUTES=1`

Increasing 1 to 10, and then doing `service laptop-mode reload` as root,
my monitor doesn't turn green so early (looking at the configuration
file, this is called 'blanking').

Secondly, in case someone else is having this problem or will be having
it, this is how I think it can be reproduced:

1. `apt-get install laptop-mode-tools` as root
2. Remove the charger from your laptop.
3. Don't increase the delay in
`/etc/laptop-mode/conf.d/terminal-blanking.conf`.
3. Open a virtual console, e.g. tty6.
4. Press no key for 60 seconds (one minute).

Thirdly, thanks for responding and trying to help me solve the problem!

SuperTramp83

I am a translator!

Offline
Beigetreten: 10/31/2014

nice grep there!