Browse Source

Wallpaper

arllinux 1 year ago
parent
commit
637fb0ee5d
2 changed files with 138 additions and 0 deletions
  1. 27 0
      scripts/backbround_nutyx.sh
  2. 111 0
      wallpaper/perso.xml

+ 27 - 0
scripts/backbround_nutyx.sh

@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# background_nutyx.sh
+# 
+# Jean-Pierre Antinoux - Janvier 2018
+
+CWD=$(pwd)
+WALXML="/usr/share/mate-background-properties"
+WALDIR="/usr/share/backgrounds/mate"
+
+# Vérification de la syntaxe de l'utilisateur principal
+if [ $USER != "root" ]
+   then
+    echo "Pour exécuter ce script il faut être l'utilisateur root !"
+   else
+    # Ranger les fonds d'écran à leur place
+    mkdir $WALDIR/perso
+    cd $WALDIR/perso
+    wget http://sloteur.free.fr/arllinux/fonds_arllinux.tar.gz
+    tar xvzf fonds_arllinux.tar.gz
+    rm fonds_arllinux.tar.gz
+    chmod 0644 $WALDIR/perso/*.jpg
+    chown root:root $WALDIR/perso/*.jpg
+    cp $CWD/../wallpaper/perso.xml $WALXML/perso.xml
+fi
+
+exit 0

+ 111 - 0
wallpaper/perso.xml

@@ -0,0 +1,111 @@
+<?xml version="1.0 encoding=UTF-8"?>
+<!DOCTYPE wallpapers SYSTEM "mate-wp-list.dtd">
+<wallpapers>
+
+<wallpaper deleted="false">
+    <name>Cascade</name>
+    <filename>/usr/share/backgrounds/mate/perso/900x600-is13.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>gnu-linux</name>
+    <filename>/usr/share/backgrounds/mate/perso/gnu_linux_1920x1080.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Tornade</name>
+    <filename>/usr/share/backgrounds/mate/perso/1024x768-storm-cloud.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Thenam</name>
+    <filename>/usr/share/backgrounds/mate/perso/1280x800-thenameoftherose.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Piliers</name>
+    <filename>/usr/share/backgrounds/mate/perso/1600x1200-Rhyl.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Coucher de soleil</name>
+    <filename>/usr/share/backgrounds/mate/perso/1600x1200-sunrise.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Montagne</name>
+    <filename>/usr/share/backgrounds/mate/perso/1920x1080-almostfall.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Chungara</name>
+    <filename>/usr/share/backgrounds/mate/perso/1920x1080-Chungara.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Cheval</name>
+    <filename>/usr/share/backgrounds/mate/perso/1920x1080-horse.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Lac</name>
+    <filename>/usr/share/backgrounds/mate/perso/1920x1080-lac.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Oies</name>
+    <filename>/usr/share/backgrounds/mate/perso/1920x1080-oies.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Italie</name>
+    <filename>/usr/share/backgrounds/mate/perso/1920x1200-italy.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Lanternes</name>
+    <filename>/usr/share/backgrounds/mate/perso/1920x1440-lanternes.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Douaniers</name>
+    <filename>/usr/share/backgrounds/mate/perso/940x705-maison-des-douaniers-de-meneham.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+<wallpaper deleted="false">
+    <name>Arles-linux</name>
+    <filename>/usr/share/backgrounds/mate/perso/arles_linux_200.jpg</filename>
+    <options>zoom</options>
+    <artist>inconnu</artist>
+</wallpaper>
+
+</wallpaper>
+