summaryrefslogtreecommitdiff
path: root/tweaks/desktop
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-03-03 11:01:37 +0100
committerJonas Smedegaard <dr@jones.dk>2014-03-03 11:01:37 +0100
commit8946c6ad43d5a36cf08d94e7f202c5d910a69211 (patch)
tree5a2a343e95b69f9dc20c9c32827affce0c75a8bc /tweaks/desktop
parent7dc24d5c4a76c444972f66e844d7faa7132dda22 (diff)
Separate tweaks from skeleton file. Fix syntax of tweak functions (code inside {} must end with ; ).
Diffstat (limited to 'tweaks/desktop')
-rw-r--r--tweaks/desktop14
1 files changed, 14 insertions, 0 deletions
diff --git a/tweaks/desktop b/tweaks/desktop
new file mode 100644
index 0000000..877eb13
--- /dev/null
+++ b/tweaks/desktop
@@ -0,0 +1,14 @@
+## power management
+# sleep when lid is closed, and modernize logic of radio on/off button
+_setvar /target/etc/default/acpi-support LID_SLEEP true
+_setvar /target/etc/default/acpi-support WIRELESS_BLUETOOTH_SYNC true
+
+## Xfce
+cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
+# silence confusing panel question at initial login
+_clone ../../panel/default.xml xfce4-panel.xml
+# replace appfinder with mail-reader in default panel
+sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml
+# disable storing session at logout by default
+_backup xfce4-session.xml
+sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml