From d7c69d9e8906fed1d031fd9b1cd149e6896d34c8 Mon Sep 17 00:00:00 2001 From: Daniele Debernardi Date: Tue, 19 Nov 2019 00:15:17 +0100 Subject: [PATCH] nokia-n900: fix xfce4 background (!748) [ci:skip-build]: already built successfully in CI --- device/device-nokia-n900/APKBUILD | 9 ++++++++- .../device-nokia-n900-xfce4.post-install | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 device/device-nokia-n900/device-nokia-n900-xfce4.post-install diff --git a/device/device-nokia-n900/APKBUILD b/device/device-nokia-n900/APKBUILD index 5c9616602..c84dab016 100644 --- a/device/device-nokia-n900/APKBUILD +++ b/device/device-nokia-n900/APKBUILD @@ -1,7 +1,7 @@ # Reference: pkgname=device-nokia-n900 pkgver=5 -pkgrel=0 +pkgrel=1 pkgdesc="Nokia N900" url="https://postmarketos.org" arch="armv7" @@ -13,6 +13,7 @@ subpackages=" $pkgname-weston $pkgname-x11 $pkgname-i3wm + $pkgname-xfce4 $pkgname-nonfree-firmware:nonfree_firmware " source=" @@ -132,6 +133,12 @@ i3wm() { "$subpkgdir"/etc/sudoers.d/10-noroot-suspend } +xfce4() { + install_if="$pkgname postmarketos-ui-xfce4" + install="$subpkgname.post-install" + mkdir "$subpkgdir" +} + nonfree_firmware() { pkgdesc="Wifi firmware" depends="linux-firmware-ti-connectivity" diff --git a/device/device-nokia-n900/device-nokia-n900-xfce4.post-install b/device/device-nokia-n900/device-nokia-n900-xfce4.post-install new file mode 100644 index 000000000..ad34346ff --- /dev/null +++ b/device/device-nokia-n900/device-nokia-n900-xfce4.post-install @@ -0,0 +1,4 @@ +#!/bin/sh + +sed -i 's/monitor0/monitorLVDS-1/' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml +