summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-graphics/wayland/Readme.weston-ini-conf
blob: bbd5a80c41ba605c313c18db6b18f2374b293788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
##Generate a weston.ini file:

To modify any of the default sections (core, shell, ivi-shell), add a
do_configure() function to your bbappend:

'''
do_configure() {
    echo repaint-window=34 >> ${WORKDIR}/core.cfg

    echo transition-duration=300 >> ${WORKDIR}/ivishell.cfg
    echo cursor-theme=default >> ${WORKDIR}/ivishell.cfg
}
'''
or:
'''
do_configure() {
    sed -i -e 's/drm-backend/fbdev-backend/' ${WORKDIR}/core.cfg
}
'''

To change the display from the default assumption of an HDMI-1-A connected
screen that needs to be rotated 270 degrees:

'''
SRC_URI_remove = "file://hdmi-a-1-270.cfg"
SRC_URI += "file://hdmi-a-1-90.cfg"
'''

To add new sections just list them in SRC_URI:
'''
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://dsi.cfg"
'''