[oe] Fwd: [openembedded][wayland][weston]: How to configure screen resolution
Mohamed Dawod
mhm.dawod at gmail.com
Tue Sep 11 09:02:52 UTC 2018
---------- Forwarded message ---------
From: Mohamed Dawod <mhm.dawod at gmail.com>
Date: Mon, Sep 10, 2018 at 1:15 PM
Subject: Re: [oe] [openembedded][wayland][weston]: How to configure screen
resolution
To: <leon.anavi at konsulko.com>
I typed the following weston.ini and weston-init.bbappend file but no thing
change !!!!
--------------------------------------------------------------------------------------------------------------------------------
This is my weston.ini file :
===================
[core]
idle-time=0
[shell]
locking=false
[screensaver]
path=""
[output]
name=HDMI1
transform=0
mode=1920x1080
--------------------------------------------------------------------------------------------------------------------------------
and this is my weston-init.bbappend file :
===============================
DESCRIPTION = "Installation of weston.ini config file"
LICENSE = "CLOSED"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://weston.ini"
do_install_append() {
WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
# WESTON_INI_CONFIG=/root/.conf
# WESTON_INI_CONFIG=/.config
# WESTON_INI_CONFIG=/run/user/root/weston
install -d ${D}${WESTON_INI_CONFIG}
install -m 0644 ${WORKDIR}/weston.ini ${D}${WESTON_INI_CONFIG}
}
PACKAGES += "${PN}-ini"
FILES_${PN}-ini = "${sysconfdir}/xdg"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank you for your help,
On Mon, Sep 10, 2018 at 10:30 AM Leon Anavi <leon.anavi at konsulko.com> wrote:
> Hi Mohamed,
>
>
> On 9.09.2018 14:10, Mohamed Dawod wrote:
> > Hello,
> >
> > I want to know how to change the screen resolution using weston.ini file
> ?
>
> You can set the resolution size width and height in pixels with property
> mode in the output section of weston.ini. For example:
>
> [output]
> mode=1680x1050
>
> Please have a look at weston documentation for details.
>
>
> > How to generate this file and use it for my image?
>
> You can update or provide your version of weston.ini through a bbappend
> file.
>
> Best regards,
> Leon
>
> >
> > Thanks,
> >
>
> --
> Leon Anavi
> Software Engineer
> konsulko.com
>
>
>
--
Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
--
Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
More information about the Openembedded-devel
mailing list