I got that script in Nautilus-scripts in gnome. Is there way to change it to service menu? I need to resize images easily.
Code:
#!/bin/bash title="Pienennä kuvan kokoa" scale="Kutista kokoon <pituus>x<korkeus>" case $LANG in sv* ) title="Skala bild" scale="Storlek att skala till <längd>x<höjd>";; esac imgsize=`gdialog --title "$title" --inputbox "$scale" 200 100 2>&1` while [ $# -gt 0 ]; do picture=$1 /usr/bin/convert -scale $imgsize "$picture" "$imgsize-$picture" shift done
Comment