Add custom templates and other configuration#

At runtime#

To add your own desktop-config templates or desktop-config launcher configuration,

you can place them into /apps/desktop-config/<filename>.ini

e.g.

$ cat /apps/desktop-config/mytemplate.ini
[shell]
panel-color=0xFFFFFF00

would turn the taskbar color to yellow.

So can use this template now by adding @mytemplate to your desktop-config launcher configuration.

Out of a Yocto build#

From a Yocto create a bbappend to desktop-config recipe

$ mkdir -p recipes-graphics/desktop-config/files/template
$ touch recipes-graphics/desktop-config/desktop-config_%.bbappend

and now fill the file desktop-config_%.bbappend with the following content

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

DC_TEMPLATES:append = " mytemplate"

now place the new mytemplate.ini into recipes-graphics/desktop-config/files/template.