Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#401 Le 28/11/2012, à 12:28

Compte anonymisé

Re : Live Voyager 12.10

Didier-T@ bravo Didier c'est exactement ce que je recherchais. Pouvoir aller directement dans les photos qu'on puisse choisir en un clic selon le bureau. C'est simple et ludique et on a une visibilité de suite de ce qu'on veut.. Merci à ljere@ metalux@ et  klong@ et les testeurs aussi...Génial, ensemble on y est tous arrivés. J'ai une équipe de choc maintenant. A la prochaine vidéo je rajouterais votre contribution bien sûr...

Pour le prochain voyager je compte regrouper tous les applets dynamic à droite et rajouter un autohide pour les 3 panels d'un coup....Ainsi cela devient encore plus dynamic

1354098147.jpg

wink

Dernière modification par Compte anonymisé (Le 28/11/2012, à 12:41)

#402 Le 28/11/2012, à 12:33

klong

Re : Live Voyager 12.10

Didier-T, ton approche est différente des autres, mais elle fonctionne parfaitement. Par contre, il faut lancer le script.
La solution de Ijere se lance avec un clic droit sur une image. Un mix des deux peut-être?
Ça nous fait un choix supplémentaire. Merci

Dernière modification par klong (Le 28/11/2012, à 12:34)


Desktop : CM Gigabyte GA-Z68P-DS Processeur Intel Core i5-2400 
>Voyager22  - Voyager Debian GS 10

Hors ligne

#403 Le 28/11/2012, à 12:37

Compte anonymisé

Re : Live Voyager 12.10

klong@ c'est vrai on a deux approches. Mais pour voyager je pense toujours débutant ou ceux qui n'y connaissent rien. En ayant toujours la commande au clic droit des walls applets, c'est plus clair mais c'est vrai aussi, que cliquer sur le wall et choisir son bureau est bien aussi mais il faut le savoir. Enfin les deux sont bien. Chacun aura le choix comme d'habitude...

Dernière modification par Compte anonymisé (Le 28/11/2012, à 12:38)

#404 Le 28/11/2012, à 12:39

Didier-T

Re : Live Voyager 12.10

En même temps, un script mixant las deux est réalisable, mais risque du coup d'être bien plus lourd

Hors ligne

#405 Le 28/11/2012, à 12:42

Compte anonymisé

Re : Live Voyager 12.10

Didier-T@ c'est ce que je pense aussi.

#406 Le 28/11/2012, à 12:46

klong

Re : Live Voyager 12.10

Rodofr, j'adore la couleur du nouveau fond ainsi que les nouvelles idées qui rendent l'ensemble plus fluide et dynamique.
Pour ma part je continuerai à utiliser les icônes-lettres pour une question d'harmonie, mais je comprend que tu ne les utilises plus car c'est effectivement un peu plus compliquer à mettre dans le panel. Dommage que AWN soit arrêté car ça fonctionnait bien avec Voyager. Mais ce n'est que le début de la prochaine aventure et beaucoup d'idées vont encore venir. Je te fais confiance pour cela.


Desktop : CM Gigabyte GA-Z68P-DS Processeur Intel Core i5-2400 
>Voyager22  - Voyager Debian GS 10

Hors ligne

#407 Le 28/11/2012, à 12:47

Didier-T

Re : Live Voyager 12.10

Bon en attendant la naissance de l’hybride, voici un script modifié spécialement pour ceux qui comme ljere aime bien mètre les mains dans le cambouis.

Donc ce script ne modifie que la première ligne de définition de fond d'écran trouvé, et ne touche pas aux autres qui pourrait suivre.

#!/bin/sh
# License GPL
# Live Voyager rodofr@
# Script of rodofr, ljere & etc... :)
# Modifié par Didier-T le 28 Nov 2012
# script d'action personnalisé pour l'activer copier le contenu de ce script dans un fichier  Fond_voyager → Fermer
# clic droit sur le fichier → Propriété → onglet Permissions cocher la case Autoriser ce fichier à être exécuter comme un programme → Fermer
# ouvrir Thunar → menu éditer → configurer les actions personnalisées → ajouter une action personnalisée,
# une nouvelle fenêtre va alors s'ouvrir 
# onglet Base 1 Nom: Fond pour Voyager 2 Description: Sélectionner une image comme fond d'écran 3 Commande: (le chemin ou vous avez placé le script)
# onglet Conditions d'apparition: 1 Motif de fichier: *    2 fichiers image doit être coché tout seul
ANS=$(zenity --title='Voyager Wall'  --list  --text "Select list" --radiolist --height=320 --width=300 --column "Select" --column "Menu" FALSE "Bureau 1" FALSE "Bureau 2" FALSE "Bureau 3" FALSE "Bureau 4" FALSE "Ranger" FALSE "Terminal" FALSE "Moc" FALSE "Moc serveur" FALSE "Freetux TV" FALSE "Pidgin")
ret=$?
if [ $ret -eq 1 ]; then
  exit 1
else
  if [ "$ANS" = "Bureau 1" ]; then
    wmctrl -s0 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall1
  fi
  if [ "$ANS" = "Bureau 2" ]; then
    wmctrl -s1 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall2
  fi
  if [ "$ANS" = "Bureau 3" ]; then
    wmctrl -s2 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall3
  fi
  if [ "$ANS" = "Bureau 4" ]; then
    wmctrl -s3 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall4
  fi
  if [ "$ANS" = "Ranger" ]; then
    wmctrl -s2 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall5
  fi
  if [ "$ANS" = "Terminal" ]; then
    wmctrl -s2 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall6
  fi
  if [ "$ANS" = "Moc" ]; then
    wmctrl -s0 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall7
  fi
  if [ "$ANS" = "Moc serveur" ]; then
    wmctrl -s0 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall8
  fi
  if [ "$ANS" = "Freetux TV" ]; then
    wmctrl -s3 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall9
  fi
  if [ "$ANS" = "Pidgin" ]; then
    wmctrl -s1 &
    xfdesktop-settings
    fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall10
  fi
fi
  
# Fin du script :
exit 0 

Dernière modification par Didier-T (Le 28/11/2012, à 12:48)

Hors ligne

#408 Le 28/11/2012, à 14:07

jdt37b

Re : Live Voyager 12.10

Re-bonjour ljere,

Merci pour la manip, je l'ai faite entièrement, mais le plantage est exactement le même avec precise à la place de quantal.

A mon avis, c'est un problème de noyau.  Avec Lucid et un noyau 2.... Stellarium et GoogleEarth marchaient impeccable. Puis avec Précise et les premiers noyaux 3... ça plantait, ensuite tout est revenu ok avec le noyau de la version 12.04.1.

Avis d'un non-expert : le noyau de Quantal n'a pas repris les corrections des noyaux de Precise pour les chipsets Intel, j'espère une avancée future pour pouvoir passe à Quantal  !


Acer Aspire XC330 - AMD A9-9420 - 8Go - HDD 1To - AMD Radeon R5 - Xubuntu 20.04 LTS (Focal) - 64 bits
Asus VivoBook X515JA - Intel Core i3-1005G1 - 8Go - SSD 0,5To - Intel driver i915 - Xubuntu 20.04 LTS (Focal) - 64 bits

Hors ligne

#409 Le 28/11/2012, à 14:20

Didier-T

Re : Live Voyager 12.10

Aller un petit hybride, maintenant (enfin si sa fonctionne)

Il faut regarder pour l'intégration au clic droit.

#!/bin/sh
# License GPL
# Live Voyager rodofr@
# Script of rodofr, ljere & etc... :)
# Modifié par Didier-T le 28 Nov 2012
# script d'action personnalisé pour l'activer copier le contenu de ce script dans un fichier  Fond_voyager → Fermer
# clic droit sur le fichier → Propriété → onglet Permissions cocher la case Autoriser ce fichier à être exécuter comme un programme → Fermer
# ouvrir Thunar → menu éditer → configurer les actions personnalisées → ajouter une action personnalisée,
# une nouvelle fenêtre va alors s'ouvrir 
# onglet Base 1 Nom: Fond pour Voyager 2 Description: Sélectionner une image comme fond d'écran 3 Commande: (le chemin ou vous avez placé le script)
# onglet Conditions d'apparition: 1 Motif de fichier: *    2 fichiers image doit être coché tout seul
ANS=$(zenity --title='Voyager Wall'  --list  --text "Select list" --radiolist --height=320 --width=300 --column "Select" --column "Menu" FALSE "Bureau 1" FALSE "Bureau 2" FALSE "Bureau 3" FALSE "Bureau 4" FALSE "Ranger" FALSE "Terminal" FALSE "Moc" FALSE "Moc serveur" FALSE "Freetux TV" FALSE "Pidgin")
ret=$?
if [ $ret -eq 1 ]; then
  exit 1
else
  if [ "$ANS" = "Bureau 1" ]; then
    wmctrl -s0 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall1
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall1
    fi
  fi
  if [ "$ANS" = "Bureau 2" ]; then
    wmctrl -s1 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall2
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall2
    fi
  fi
  if [ "$ANS" = "Bureau 3" ]; then
    wmctrl -s2 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall3
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall3
    fi
  fi
  if [ "$ANS" = "Bureau 4" ]; then
    wmctrl -s3 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall4
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall4
    fi
  fi
  if [ "$ANS" = "Ranger" ]; then
    wmctrl -s2 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall5
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall5
    fi
  fi
  if [ "$ANS" = "Terminal" ]; then
    wmctrl -s2 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall6
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall6
    fi
  fi
  if [ "$ANS" = "Moc" ]; then
    wmctrl -s0 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall7
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall7
    fi
  fi
  if [ "$ANS" = "Moc serveur" ]; then
    wmctrl -s0 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall8
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall8
    fi
  fi
  if [ "$ANS" = "Freetux TV" ]; then
    wmctrl -s3 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall9
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall9
    fi
  fi
  if [ "$ANS" = "Pidgin" ]; then
    wmctrl -s1 &
    if [ -z "$1" ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall10
    else
      sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$1\"/" ~/.scripts/Wall/wall10
    fi
  fi
  if [ -z "$1" ]; then
    xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" -s "$1"
    xfdesktop --reload &
  fi
fi
  
# Fin du script :
exit 0 

Je le laisse mais il ne fonctionne pas 100%, voir message 414 pour un script fonctionnel

Dernière modification par Didier-T (Le 28/11/2012, à 15:04)

Hors ligne

#410 Le 28/11/2012, à 14:35

ljere

Re : Live Voyager 12.10

@jdt37b pas d'autre idée si ça vient du noyau on ne peut pas faire grand chose
@Didier-T bien joué, le second script en effet fonctionne chez moi alors que le premier non,
le problème en effet c'est de devoir passer par (rajouter) un lanceur pour les débutants, enfin c'est du costaud on voit la maîtrise wink
@rodofr pour ton script clé-usb je bloc des le lancements
ligne 20: remsu : commande introuvable

edit je viens de tester le mix l’intégration du clic droit ne fonctionne pas

Dernière modification par ljere (Le 28/11/2012, à 14:46)


ancien PC Toshiba satellite_c670d-11 / Linux Mint 21 Vanessa
Nouveau PC ASUS TUF GAMING A17 GPU RTX 4070 CPU AMD Ryzen 9 7940HS w/ Radeon 780M Graphics / Linux Mint 21.2 Victoria / Kernel: 6.4.8-1-liquorix / Desktop: Cinnamon

Hors ligne

#411 Le 28/11/2012, à 14:45

kurapika29

Re : Live Voyager 12.10

Doit manquer un espace ljere ça doit être

rem su

Disponible sur IRC, sur le serveur irc.freenode.net salon ##ubuntu-voyager (et aussi sur plein d'autre serveur/salon)
Venez si vous avec besoin d'aide ou pour causer ;) suffit d'avoir Xchat ou un autre client IRC
Où sinon en cliquant sur se lien http://kiwiirc.com/client/irc.freenode. … tu-voyager

Hors ligne

#412 Le 28/11/2012, à 14:51

ljere

Re : Live Voyager 12.10

j'y avais pensé mais non dans ce cas la il dit que c'est rem qui n'est pas une commande valide


ancien PC Toshiba satellite_c670d-11 / Linux Mint 21 Vanessa
Nouveau PC ASUS TUF GAMING A17 GPU RTX 4070 CPU AMD Ryzen 9 7940HS w/ Radeon 780M Graphics / Linux Mint 21.2 Victoria / Kernel: 6.4.8-1-liquorix / Desktop: Cinnamon

Hors ligne

#413 Le 28/11/2012, à 15:00

Compte anonymisé

Re : Live Voyager 12.10

ljere a écrit :

j'y avais pensé mais non dans ce cas la il dit que c'est rem qui n'est pas une commande valide

Merci de te pencher sur cette clé...
pour la clé j'ai nommé le script usb.sh
terminal dans le dossier
gksudo ./usb.sh

le script est ici

Didier-T@ merci je vais testé

Dernière modification par Compte anonymisé (Le 28/11/2012, à 15:01)

#414 Le 28/11/2012, à 15:01

Didier-T

Re : Live Voyager 12.10

sa vas devenir le bazars dans les script part ici.

Bon celui-ci est testé et fonctionne
Pour l'intégration au clic droit, j'ai validé image et répertoire.

#!/bin/sh
# License GPL
# Live Voyager rodofr@
# Script of rodofr, ljere & etc... :)
# Modifié par Didier-T le 28 Nov 2012
# script d'action personnalisé pour l'activer copier le contenu de ce script dans un fichier  Fond_voyager → Fermer
# clic droit sur le fichier → Propriété → onglet Permissions cocher la case Autoriser ce fichier à être exécuter comme un programme → Fermer
# ouvrir Thunar → menu éditer → configurer les actions personnalisées → ajouter une action personnalisée,
# une nouvelle fenêtre va alors s'ouvrir 
# onglet Base 1 Nom: Fond pour Voyager 2 Description: Sélectionner une image comme fond d'écran 3 Commande: (le chemin ou vous avez placé le script)
# onglet Conditions d'apparition: 1 Motif de fichier: *    2 fichiers image doit être coché tout seul
ANS=$(zenity --title='Voyager Wall'  --list  --text "Select list" --radiolist --height=320 --width=300 --column "Select" --column "Menu" FALSE "Bureau 1" FALSE "Bureau 2" FALSE "Bureau 3" FALSE "Bureau 4" FALSE "Ranger" FALSE "Terminal" FALSE "Moc" FALSE "Moc serveur" FALSE "Freetux TV" FALSE "Pidgin")
ret=$?
if [ $ret -eq 1 ]; then
  exit 1
else
  if ! [ -d $1 ]; then
    xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" -s "$1"
    xfdesktop --reload &
    fond=$(echo "$1" | sed 's/\//\\\//g')
  fi
  if [ "$ANS" = "Bureau 1" ]; then
    wmctrl -s0 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall1
  fi
  if [ "$ANS" = "Bureau 2" ]; then
    wmctrl -s1 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall2
  fi
  if [ "$ANS" = "Bureau 3" ]; then
    wmctrl -s2 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall3
  fi
  if [ "$ANS" = "Bureau 4" ]; then
    wmctrl -s3 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall4
  fi
  if [ "$ANS" = "Ranger" ]; then
    wmctrl -s2 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall5
  fi
  if [ "$ANS" = "Terminal" ]; then
    wmctrl -s2 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall6
  fi
  if [ "$ANS" = "Moc" ]; then
    wmctrl -s0 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall7
  fi
  if [ "$ANS" = "Moc serveur" ]; then
    wmctrl -s0 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall8
  fi
  if [ "$ANS" = "Freetux TV" ]; then
    wmctrl -s3 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall9
  fi
  if [ "$ANS" = "Pidgin" ]; then
    wmctrl -s1 &
    if [ -d $1 ]; then
      xfdesktop-settings
      fond=$(xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitor0/image-path" | sed 's/\//\\\//g')
    fi
    sed -i "0,/^xfconf.*$/ s//xfconf-query -c xfce4-desktop -p \"\/backdrop\/screen0\/monitor0\/image-path\" -s \"$fond\"/" ~/.scripts/Wall/wall10
  fi
fi
  
# Fin du script :
exit 0  

edit : script modifié

Dernière modification par Didier-T (Le 28/11/2012, à 15:23)

Hors ligne

#415 Le 28/11/2012, à 15:07

Compte anonymisé

Re : Live Voyager 12.10

Didier-T@ oui il marche par contre il marche qu'en sélectionnant l'image et il ne fait plus office de zone wall à sélectionner si je comprend bien.

#416 Le 28/11/2012, à 15:09

Didier-T

Re : Live Voyager 12.10

rodofr a écrit :

Didier-T@ oui il marche par contre il marche qu'en sélectionnant l'image et il ne fait plus office de zone wall à sélectionner si je comprend bien.

Houps... boulette... bon je me repenche dessus

Hors ligne

#417 Le 28/11/2012, à 15:14

kurapika29

Re : Live Voyager 12.10

@ljere big_smile

kura@laptop:~$ rem
Le programme 'rem' n'est pas encore installé. Vous pouvez l'installer en tapant :
sudo apt-get install remind
kura@laptop:~$ 

c'est cadeau cool


Disponible sur IRC, sur le serveur irc.freenode.net salon ##ubuntu-voyager (et aussi sur plein d'autre serveur/salon)
Venez si vous avec besoin d'aide ou pour causer ;) suffit d'avoir Xchat ou un autre client IRC
Où sinon en cliquant sur se lien http://kiwiirc.com/client/irc.freenode. … tu-voyager

Hors ligne

#418 Le 28/11/2012, à 15:15

ljere

Re : Live Voyager 12.10

je vous propose de se réunir sur irc ##ubuntu-voyager


ancien PC Toshiba satellite_c670d-11 / Linux Mint 21 Vanessa
Nouveau PC ASUS TUF GAMING A17 GPU RTX 4070 CPU AMD Ryzen 9 7940HS w/ Radeon 780M Graphics / Linux Mint 21.2 Victoria / Kernel: 6.4.8-1-liquorix / Desktop: Cinnamon

Hors ligne

#419 Le 28/11/2012, à 15:16

Didier-T

Re : Live Voyager 12.10

ljere a écrit :

je vous propose de se réunir sur irc ##ubuntu-voyager

sa risque de paraître étrange, mais je ne sais pas me servir de irc

Hors ligne

#420 Le 28/11/2012, à 15:18

klong

Re : Live Voyager 12.10

On a pas beaucoup de temps de repos pour tout tester.
Didier-T le script fonctionne  au clic droit sur une image et il fonctionne comme avant si on le lance.


Desktop : CM Gigabyte GA-Z68P-DS Processeur Intel Core i5-2400 
>Voyager22  - Voyager Debian GS 10

Hors ligne

#421 Le 28/11/2012, à 15:18

kurapika29

Re : Live Voyager 12.10

quel serveur ljere ?


Disponible sur IRC, sur le serveur irc.freenode.net salon ##ubuntu-voyager (et aussi sur plein d'autre serveur/salon)
Venez si vous avec besoin d'aide ou pour causer ;) suffit d'avoir Xchat ou un autre client IRC
Où sinon en cliquant sur se lien http://kiwiirc.com/client/irc.freenode. … tu-voyager

Hors ligne

#422 Le 28/11/2012, à 15:19

Didier-T

Re : Live Voyager 12.10

klong a écrit :

On a pas beaucoup de temps de repos pour tout tester.
Didier-T le script fonctionne  au clic droit sur une image et il fonctionne comme avant si on le lance.

oui, mais pas si tu le lance depuis le clic droit, car il interprète le nom du répertoire comme si c’était un fichier image, donc gros bazars.

Hors ligne

#423 Le 28/11/2012, à 15:25

ljere

Re : Live Voyager 12.10

rien de compliquer Didier-T
serveur: irc.ubuntu.com
et le chan: ##ubuntu-voyager


ancien PC Toshiba satellite_c670d-11 / Linux Mint 21 Vanessa
Nouveau PC ASUS TUF GAMING A17 GPU RTX 4070 CPU AMD Ryzen 9 7940HS w/ Radeon 780M Graphics / Linux Mint 21.2 Victoria / Kernel: 6.4.8-1-liquorix / Desktop: Cinnamon

Hors ligne

#424 Le 28/11/2012, à 15:25

Didier-T

Re : Live Voyager 12.10

script changement fond d'écran modifié, message 414

Hors ligne

#425 Le 28/11/2012, à 15:38

Compte anonymisé

Re : Live Voyager 12.10

Didier-T
dans menu internet, prendre xchat irc
choisir un pseudo
sélectionner ubuntu server et connecter
puis cliquer frinode à gauche et rentrer
#ubuntu-voyager