fichier .xml comme
wallpaper dans kde 4.15
Environnements Graphiques / KDE Plasma

loutch Membre non connecté
-
- Voir le profil du membre loutch
- Inscrit le : 07/07/2010
- Groupes :
j'ai trouver un script en .xml qui affiche une image à une heure donnée comment intégrer ce fichier .xml comme diaporama dans kde.
Si j'allume Mageia entre 10h et 11h le script démarre avec l'image 10 puis à 11h il me met l'image 11 etc.
Je ne parle pas du diaporama qui change de wall a intervalle régulier mais qui ne tiens pas compte de l'heure qu'il est .
Merci d'avance et
@+
Linuxmint 24.02 Xia - Mageia 9 xfce et plasma sur ssd sur HP Pavilion g7
Xubuntu 18.04 LTS et 24.04 en xfce sur ASUS Rog STRIX
Xubuntu 18.04 LTS et 24.04 en xfce sur ASUS Rog STRIX
nmrk.n :
On peut le voir ce script ?
c’est vrai, c’est toujours enrichissant.

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
Effectivement script et xml ne vont pas bien ensemble.
Pour moi, un script est quelque chose qui est lancé par un interpréteur ( par exemple bash, python, perl...)
Un fichier xml est un conteneur de données ( wikipedia indique un "langage de balisage") qui a vocation a être explorer ( par un parser en l' occurence ).
Il faut donc rajouter le lecteur de fichier xml qui va se charger de lire le fichier xml et changer le fond d' écran à l' heure spécifiée dans le fichier .xml.

loutch Membre non connecté
-
- Voir le profil du membre loutch
- Inscrit le : 07/07/2010
- Groupes :
voila l'original le mien a juste des autres chemins pour les images
Code TEXT :
<!-- Intruction: - Download and unzip Mojave dynamic background here: https://files.rb.gd/mojave_dynamic.zip - Fix the path to the background images - Use gnome-tweaks tool to select this XML as wallpaper --> <background> <starttime> <year>2014</year> <month>01</month> <day>11</day> <hour>0</hour> <minute>00</minute> <second>00</second> </starttime> <!-- 00:00 --> <static> <duration>10795.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_15.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_15.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_16.jpeg</to> </transition> <!-- 03:00 --> <static> <duration>10795.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_16.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_16.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_1.jpeg</to> </transition> <!-- 05:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_1.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_1.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_2.jpeg</to> </transition> <!-- 06:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_2.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_2.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_3.jpeg</to> </transition> <!-- 07:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_3.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_3.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_4.jpeg</to> </transition> <!-- 08:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_4.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_4.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_5.jpeg</to> </transition> <!-- 09:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_5.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_5.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_6.jpeg</to> </transition> <!-- 10:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_6.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_6.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_7.jpeg</to> </transition> <!-- 11:00 --> <static> <duration>7195.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_7.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_7.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_8.jpeg</to> </transition> <!-- 13:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_8.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_8.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_9.jpeg</to> </transition> <!-- 14:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_9.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_9.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_10.jpeg</to> </transition> <!-- 15:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_10.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_10.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_11.jpeg</to> </transition> <!-- 16:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_11.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_11.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_12.jpeg</to> </transition> <!-- 17:00 --> <static> <duration>3595.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_12.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_12.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_13.jpeg</to> </transition> <!-- 18:00 --> <static> <duration>7195.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_13.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_13.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_14.jpeg</to> </transition> <!-- 20:00 --> <static> <duration>10795.0</duration> <file>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_14.jpeg</file> </static> <transition type="overlay"> <duration>5.0</duration> <from>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_14.jpeg</from> <to>/home/thanh/Pictures/wallpapers/mojave-background/mojave_dynamic_15.jpeg</to> </transition> </background>
@+
Linuxmint 24.02 Xia - Mageia 9 xfce et plasma sur ssd sur HP Pavilion g7
Xubuntu 18.04 LTS et 24.04 en xfce sur ASUS Rog STRIX
Xubuntu 18.04 LTS et 24.04 en xfce sur ASUS Rog STRIX

nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
Le fichier xml est fait pour un environnement gnome, donc je ne suis pas sur que l' on puisse l' adapter à Plasma.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie