aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2018-01-11 11:15:17 -0600
committerAníbal Limón <anibal.limon@linaro.org>2018-01-11 12:16:53 -0600
commit1e243797ffc16599166df160d9900de7af252639 (patch)
tree15114522236bf1cb73f24124c07adb00262fec71
parent0a6c1c434f53dd3b725ceea0faa75717a209f4c4 (diff)
downloadfai-1e243797ffc16599166df160d9900de7af252639.tar.gz
scripts/LINARO: 23-customize-lxqt.chroot copy configs to /etc
The new LxQT version (0.12) drops the lxqt-common pacakge [1], that package was used to install the configurations into /etc/xdg. The config files was spread across lxqt- packages but them only installs into /usr/share. [1] https://lxqt.org/release/2017/10/21/lxqt-0120/ Change-Id: I124c08555218efd232bdc15727d028fe8d9836ee Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rwxr-xr-xscripts/LINARO/23-customize-lxqt.chroot9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/LINARO/23-customize-lxqt.chroot b/scripts/LINARO/23-customize-lxqt.chroot
index 0a5d557..d9c4073 100755
--- a/scripts/LINARO/23-customize-lxqt.chroot
+++ b/scripts/LINARO/23-customize-lxqt.chroot
@@ -2,7 +2,14 @@
set -e
# Customize lxqt defaults
-if [ -e $target/etc/xdg/lxqt/lxqt.conf ]; then
+if [ -e $target/usr/share/lxqt/lxqt.conf ]; then
+ # Copy files from /usr/share to /etc/xdg
+ mkdir -p $target/etc/xdg/lxqt
+ cp $target/usr/share/lxqt/lxqt.conf $target/etc/xdg/lxqt
+ cp $target/usr/share/lxqt/session.conf $target/etc/xdg/lxqt
+ mkdir -p $target/etc/xdg/pcmanfm-qt/lxqt/
+ cp $target/usr/share/pcmanfm-qt/lxqt/settings.conf $target/etc/xdg/pcmanfm-qt/lxqt
+
sed -i "s|^theme=.*|theme=kde-plasma|" $target/etc/xdg/lxqt/lxqt.conf
sed -i "s|^icon_theme=.*|icon_theme=breeze|" $target/etc/xdg/lxqt/lxqt.conf
sed -i "s|^style=.*|style=Breeze|" $target/etc/xdg/lxqt/lxqt.conf