[yocto] Turn off X screen blanking

Khem Raj raj.khem at gmail.com
Sun Oct 25 07:57:26 PDT 2015


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
>



More information about the yocto mailing list