[yocto] Turn off X screen blanking

Robert D Kocisko rkocisko at gmail.com
Mon Oct 26 09:09:16 PDT 2015


Thank you Khem.  I was thinking that modifying the X command line to do
this would somehow be more 'low-level' and more 'official' than using
xset.  Does anyone know if there is a difference?

I also realized that it would probably work to .bbappend the SRC_FILES
variable with another patch file that tweaks the command line.  I haven't
tried it yet though.

On Sun, Oct 25, 2015 at 10:57 AM, Khem Raj <raj.khem at gmail.com> wrote:

> On Fri, Oct 23, 2015 at 10:43 AM, Robert D Kocisko <rkocisko at gmail.com>
> wrote:
> > I am trying to disable screen blanking in X by default.  This bug talks
> > about doing the same thing but it is not currently completed:
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=7278
> >
> > I am using "dizzy" for compatibility with the meta-amd layer.  I found
> the
> > xserver-common recipe in meta-oe and I suppose I could add another patch
> > like 0015-xserver-common-disable-TCP-connections.patch, but I'd rather
> do it
> > using a .bbappend file in another layer.  My question is how I might go
> > about doing that using a bbappend file?
>
> add something like
>
> /usr/bin/xset -dpms s off s noblank s 0 0 s noexpose
>
> to rc.local or systemd service file whatever you are using.
> ensure that X server has initialised fully before running this and ofcource
> add xset to your image.
>
> >
> > Thanks,
> > Bob Kocisko
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151026/1539ca4b/attachment.html>


More information about the yocto mailing list