diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-07-30 23:46:14 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-07-30 23:46:14 +0200 |
commit | c1dc844a8f09b52bb4c22960115a1640f255a213 (patch) | |
tree | c36855d0d890515b1c6b01b0c73237269d149e93 /profiles/wheezy/classes/Desktop/xfce | |
parent | bf22f5b0a420a961d032a0529079b8ca092788b7 (diff) |
Major rewrite: Use reclass.
Diffstat (limited to 'profiles/wheezy/classes/Desktop/xfce')
-rw-r--r-- | profiles/wheezy/classes/Desktop/xfce/index.yml | 37 | ||||
-rw-r--r-- | profiles/wheezy/classes/Desktop/xfce/power.yml | 10 |
2 files changed, 47 insertions, 0 deletions
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,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' \ + 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 |