From c1dc844a8f09b52bb4c22960115a1640f255a213 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 30 Jul 2014 23:46:14 +0200 Subject: Major rewrite: Use reclass. --- profiles/wheezy/classes/Desktop/xfce/index.yml | 37 ++++++++++++++++++++++++++ profiles/wheezy/classes/Desktop/xfce/power.yml | 10 +++++++ 2 files changed, 47 insertions(+) create mode 100644 profiles/wheezy/classes/Desktop/xfce/index.yml create mode 100644 profiles/wheezy/classes/Desktop/xfce/power.yml (limited to 'profiles/wheezy/classes/Desktop/xfce') diff --git a/profiles/wheezy/classes/Desktop/xfce/index.yml b/profiles/wheezy/classes/Desktop/xfce/index.yml new file mode 100644 index 0000000..9453e26 --- /dev/null +++ b/profiles/wheezy/classes/Desktop/xfce/index.yml @@ -0,0 +1,37 @@ +#TODO: Stop listing gvfs when DebianParl 1.0.5 is obsolete +#TODO: figure out why xfce4-session.xml backup tweak need sed indented +classes: + - x11.xdg.icons + - x11.lightdm.gtk + - Desktop + - Desktop.tools +parameters: + doc: + desktop: + pkg: + - include the lightweight Xfce desktop + tweak: + - silence confusing panel question at initial login + - replace appfinder with mail-reader in default panel + - disable storing session at logout by default + pkg: + - gvfs + - xfce4-session + pkg-auto: + - gvfs + pkg-avoid: + - xfce4-volumed + tweak: + - > + cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml + - > + _clone ../../panel/default.xml xfce4-panel.xml + - > + sed -i -r \ + -e 's,xfce4-appfinder,exo-mail-reader,' \ + xfce4-panel.xml + - > + _backup xfce4-session.xml;\ + sed -i -r \ + -e 's,(]*>),\1\n ,' \ + xfce4-session.xml diff --git a/profiles/wheezy/classes/Desktop/xfce/power.yml b/profiles/wheezy/classes/Desktop/xfce/power.yml new file mode 100644 index 0000000..12aea5b --- /dev/null +++ b/profiles/wheezy/classes/Desktop/xfce/power.yml @@ -0,0 +1,10 @@ +classes: + - Desktop.xfce +parameters: + doc: + desktop: + pkg: + - include Xfce power management tools + pkg: + - xfce4-power-manager + - xfce4-power-manager-plugins -- cgit v1.2.3