aboutsummaryrefslogtreecommitdiff
path: root/recipes-xfce
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-xfce')
-rw-r--r--recipes-xfce/thunar-volman/thunar-volman_%.bbappend1
-rw-r--r--recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb32
-rw-r--r--recipes-xfce/xfce-pointers/files/pointers.xml13
-rw-r--r--recipes-xfce/xfce4-settings/xfce4-settings_%.bbappend3
4 files changed, 49 insertions, 0 deletions
diff --git a/recipes-xfce/thunar-volman/thunar-volman_%.bbappend b/recipes-xfce/thunar-volman/thunar-volman_%.bbappend
new file mode 100644
index 0000000..a846799
--- /dev/null
+++ b/recipes-xfce/thunar-volman/thunar-volman_%.bbappend
@@ -0,0 +1 @@
+RDEPENDS_${PN} = ""
diff --git a/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb b/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb
new file mode 100644
index 0000000..c22d949
--- /dev/null
+++ b/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb
@@ -0,0 +1,32 @@
+SUMMARY = "DE10-Nano XFCE Pointers config"
+DESCRIPTION = "Disable ADXL accelerometer as mouse input"
+AUTHOR = "Dalon Westergreen <dwesterg@gmail.com>"
+SECTION = "DE10-Nano"
+
+PR = "r0"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PV = "1.0${PR}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+SRC_URI = "file://pointers.xml \
+ "
+
+do_install() {
+ install -d ${D}${sysconfdir}/skel/
+ install -d ${D}${sysconfdir}/skel/.config/xfce4
+ install -d ${D}${sysconfdir}/skel/.config/xfce4/xfconf
+ install -d ${D}${sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml
+ install -m 0644 ${WORKDIR}/pointers.xml ${D}${sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
+
+ install -d ${D}/home/root/.config/xfce4/xfconf/xfce-perchannel-xml
+ install -m 0644 ${WORKDIR}/pointers.xml ${D}/home/root/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
+}
+
+FILES_${PN} = "\
+ ${sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml \
+ /home/root/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml \
+ "
diff --git a/recipes-xfce/xfce-pointers/files/pointers.xml b/recipes-xfce/xfce-pointers/files/pointers.xml
new file mode 100644
index 0000000..10e9ae2
--- /dev/null
+++ b/recipes-xfce/xfce-pointers/files/pointers.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<channel name="pointers" version="1.0">
+ <property name="ADXL34x_accelerometer" type="empty">
+ <property name="Properties" type="empty">
+ <property name="Device_Enabled" type="int" value="0"/>
+ </property>
+ <property name="RightHanded" type="bool" value="true"/>
+ <property name="ReverseScrolling" type="bool" value="false"/>
+ <property name="Threshold" type="int" value="4"/>
+ <property name="Acceleration" type="double" value="2.000000"/>
+ </property>
+</channel>
diff --git a/recipes-xfce/xfce4-settings/xfce4-settings_%.bbappend b/recipes-xfce/xfce4-settings/xfce4-settings_%.bbappend
new file mode 100644
index 0000000..c1fba00
--- /dev/null
+++ b/recipes-xfce/xfce4-settings/xfce4-settings_%.bbappend
@@ -0,0 +1,3 @@
+PACKAGECONFIG_remove = "sound-setter"
+RRECOMMENDS_${PN}_remove = "libcanberra-alsa"
+RRECOMMENDS_${PN}_remove = "libcanberra-pulse"