diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-11-18 14:47:02 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-12-22 15:53:37 +0100 |
commit | 562f1dd36c61eb25dc1c4aa9062f3845074ab15a (patch) | |
tree | 9371e29d8a7bac6f5f11ef755d141e87adc0f266 /recipes-lxde | |
parent | 3cf47c85e24314f8705ffbe6fbd432c18ada0301 (diff) |
lxde-common: apalis-tk1: let panel span all monitors
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-lxde')
-rw-r--r-- | recipes-lxde/lxde-common/lxde-common/0002-panel.in-change-displayed-on-hdmi-monitor-configurat.patch | 25 | ||||
-rw-r--r-- | recipes-lxde/lxde-common/lxde-common_%.bbappend | 6 |
2 files changed, 31 insertions, 0 deletions
diff --git a/recipes-lxde/lxde-common/lxde-common/0002-panel.in-change-displayed-on-hdmi-monitor-configurat.patch b/recipes-lxde/lxde-common/lxde-common/0002-panel.in-change-displayed-on-hdmi-monitor-configurat.patch new file mode 100644 index 0000000..91b0b3a --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common/0002-panel.in-change-displayed-on-hdmi-monitor-configurat.patch @@ -0,0 +1,25 @@ +From 54ee792d11fae38a222d16970f14dabdcd01fe0f Mon Sep 17 00:00:00 2001 +From: Max Krummenacher <max.krummenacher@toradex.com> +Date: Sat, 18 Nov 2017 14:37:54 +0100 +Subject: [PATCH 2/2] panel.in: change displayed on hdmi monitor configuration + +Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> +--- + lxpanel/panel.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lxpanel/panel.in b/lxpanel/panel.in +index 8d51814..336e148 100644 +--- a/lxpanel/panel.in ++++ b/lxpanel/panel.in +@@ -19,6 +19,7 @@ Global { + fontcolor=#ffffff + background=1 + backgroundfile=@prefix@/share/lxpanel/images/background.png ++ monitor=1 + } + + Plugin { +-- +2.13.6 + diff --git a/recipes-lxde/lxde-common/lxde-common_%.bbappend b/recipes-lxde/lxde-common/lxde-common_%.bbappend index b0eb1c3..3ee2c8c 100644 --- a/recipes-lxde/lxde-common/lxde-common_%.bbappend +++ b/recipes-lxde/lxde-common/lxde-common_%.bbappend @@ -17,6 +17,7 @@ SRC_URI += " \ file://defaults.list \ file://0001-panel.in-add-to-panel-configuration.patch \ " +SRC_URI_append_apalis-tk1 = "file://0002-panel.in-change-displayed-on-hdmi-monitor-configurat.patch" # for apalis-imx6/colibri-imx6, we decide on the target during postinst SRC_URI-MX6QDL = " \ @@ -49,6 +50,11 @@ do_install_append () { install -m 0644 ${WORKDIR}/defaults.list ${D}/${datadir}/applications/ } +do_install_append_apalis-tk1 () { + install -m 0644 ${D}/etc/xdg/lxpanel/LXDE/panels/panel ${D}/etc/xdg/lxpanel/LXDE/panels/panel2 + sed -i 's/monitor=1/monitor=0/' ${D}/etc/xdg/lxpanel/LXDE/panels/panel2 +} + pkg_postinst_${PN}_vf () { # can't do this offline if [ "x$D" != "x" ]; then |