Browse Source

Stretch background image

tags/nilmbuntu-5
Jim Paris 5 years ago
parent
commit
7402ca0073
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      customize-inner.sh

+ 5
- 2
customize-inner.sh View File

@@ -120,8 +120,11 @@ cp /usr/share/applications/exo-web-browser.desktop $DESKTOP || true
chmod +x $DESKTOP/*

# Custom background image (which was already copied in by customize.sh)
XML=/etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml
sed -i -s -e 's/xubuntu-wallpaper.png/nilmbuntu.png/g' $XML/xfce4-desktop.xml
XML=/etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
BG=/usr/share/xfce4/backdrops/nilmbuntu.png
apt-get -y install xmlstarlet
xmlstarlet ed -L -u "//property[@name='image-path']/@value" -v "$BG" $XML
xmlstarlet ed -L -u "//property[@name='image-style']/@value" -v "3" $XML

# Configure Firefox with our default homepage
HOMEPAGE="http://www.wattsworth.net/"


Loading…
Cancel
Save