re modification d'un script nautilus

Fred -Z frederic.zech at free.fr
Mer 22 Déc 10:59:50 UTC 2010


Ju a écrit :

C'est presque ça.

Voici une solution ... il est à noté que l'iamge se trouve transformée 
sans sauvegarde du format original:

#########

#!/bin/bash
#
curpath=`echo $NAUTILUS_SCRIPT_CURRENT_URI | sed 's/file\:\/\///'`
cd $curpath
#
convert $curpath/$1 -resize 1280x1024! -depth 16 $curpath/$1
#
gconftool-2 --type string --set /apps/gnome-session/options/splash_image 
"$curpath/$1"

#########

Bonne continuation

Ju
-- As a circle of light increases so does the circumference of darkness 
around it. --Albert Einstein
-- Liste de diffusion ubuntu-fr ubuntu-fr at lists.ubuntu.com Pour 
s'abonner ou se désabonner : 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr




Merci, mais en fait je voudrai la transformer au format png.

frédéric Z




Plus d'informations sur la liste de diffusion ubuntu-fr