[Buildroot] X11: How do I prevent the target screen from going black after 10 minutes?

Carlos Santos casantos at datacom.ind.br
Thu Oct 22 11:10:08 UTC 2015


----- Original Message -----
> From: "Lennart Ramberg" <ramberg.lennart at gmail.com>
> To: "Carlos Santos" <casantos at datacom.ind.br>
> Cc: "Bjørn Forsman" <bjorn.forsman at gmail.com>, "buildroot" <buildroot at busybox.net>
> Sent: Thursday, October 22, 2015 8:54:19 AM
> Subject: Re: [Buildroot] X11: How do I prevent the target screen from going black after 10 minutes?

> Thanks, however:

> # xset q
> -sh: xset: not found

Sorry, I forgot to say that you need to select the xset package, under

    -> Target packages
        -> Graphic libraries and applications (graphic/text)
            -> X.org X Window System
                -> X11R7 Applications 

> And yes, it goes black.

:-)

> Regards
> Lennart

Carlos Santos (Casantos)
DATACOM, P&D

> On Thu, Oct 22, 2015 at 12:42 PM, Carlos Santos < casantos at datacom.ind.br >
> wrote:

>> > From: "Lennart Ramberg" < ramberg.lennart at gmail.com >
>> > To: "Bjørn Forsman" < bjorn.forsman at gmail.com >
>> > Cc: "buildroot" < buildroot at busybox.net >
>> > Sent: Thursday, October 22, 2015 5:44:17 AM
>> > Subject: Re: [Buildroot] X11: How do I prevent the target screen from going
>> > black after 10 minutes?

>> > Thanks for the quick reply.
>> > However, I had no success. Screen still blanks after 10 min (unless keyb/mouse
>> > activity).
>> > I assume this is what you meant:

>> > # cat /boot/grub/grub.cfg
>> > set default="0"
>> > set timeout="3"

>> > menuentry "Buildroot" {
>> > linux /boot/bzImage root=/dev/sda1 consoleblank=0
>> > }

>> > Regards
>> > Lennart

>> Supposing that you are not running a screen saver daemon live "xscreensaver", I
>> guess the screen goes blank (black?) due to the X server itself, not the Linux
>> kernel. Try using

>> $ xset q

>> to display the screen saver timeout and

>> $ xset s off

>> to disable the screen saver.

>> > On Wed, Oct 21, 2015 at 7:02 PM, Bjørn Forsman < bjorn.forsman at gmail.com >
>> > wrote:

>> >> On 21 October 2015 at 18:59, Lennart Ramberg < ramberg.lennart at gmail.com >
>> >> wrote:
>> >> > Hello,

>> >> > Maybe not a proper Builroot question, but:
>> >> > X11: How do I prevent the target screen from going black after 10 minutes?
>> >> > There is no xorg.conf (to edit the ServerFlags section).
>> >> > I was thinking maybe an overlay with an edited xorg.conf?

>> >> Have you tried adding "consoleblank=0" to the kernel command line? (I
>> >> _think_ that should do it.)

>> >> Best regards,
>> >> Bjørn Forsman

>> > _______________________________________________
>> > buildroot mailing list
>> > buildroot at busybox.net
>> > http://lists.busybox.net/mailman/listinfo/buildroot

>> Carlos Santos (Casantos)
>> DATACOM, P&D

>> ----- Original Message -----
>> > From: "Lennart Ramberg" < ramberg.lennart at gmail.com >
>> > To: "Bjørn Forsman" < bjorn.forsman at gmail.com >
>> > Cc: "buildroot" < buildroot at busybox.net >
>> > Sent: Thursday, October 22, 2015 5:44:17 AM
>>> Subject: Re: [Buildroot] X11: How do I prevent the target screen from going
>> > black after 10 minutes?

>> > Thanks for the quick reply.
>> > However, I had no success. Screen still blanks after 10 min (unless keyb/mouse
>> > activity).
>> > I assume this is what you meant:

>> > # cat /boot/grub/grub.cfg
>> > set default="0"
>> > set timeout="3"

>> > menuentry "Buildroot" {
>> > linux /boot/bzImage root=/dev/sda1 consoleblank=0
>> > }

>> > Regards
>> > Lennart

>> > On Wed, Oct 21, 2015 at 7:02 PM, Bjørn Forsman < bjorn.forsman at gmail.com >
>> > wrote:

>> >> On 21 October 2015 at 18:59, Lennart Ramberg < ramberg.lennart at gmail.com >
>> >> wrote:
>> >> > Hello,

>> >> > Maybe not a proper Builroot question, but:
>> >> > X11: How do I prevent the target screen from going black after 10 minutes?
>> >> > There is no xorg.conf (to edit the ServerFlags section).
>> >> > I was thinking maybe an overlay with an edited xorg.conf?

>> >> Have you tried adding "consoleblank=0" to the kernel command line? (I
>> >> _think_ that should do it.)

>> >> Best regards,
>> >> Bjørn Forsman

>> > _______________________________________________
>> > buildroot mailing list
>> > buildroot at busybox.net
>> > http://lists.busybox.net/mailman/listinfo/buildroot


More information about the buildroot mailing list