Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »patrick1204« (27. September 2007, 02:06)
|
|
Quellcode |
1 |
/usr/bin/gnome-volume-manager-gthumb |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#!/bin/sh
MOUNT_POINT=$(hal-get-property --udi "$1" --key volume.mount_point)
if test -z "$MOUNT_POINT"; then
gthumb --import-photos
else
ROOT=${MOUNT_POINT}
if test -d "$ROOT/dcim"; then
ROOT="${ROOT}/dcim/"
# if there is only one dir in the dcim directory, enter it
if test $(/bin/ls -1 "${ROOT}" | wc -l) -eq 1; then
ROOT="${ROOT}/$(ls -1 "${ROOT}" | head -n 1)"
fi
fi
exec /usr/bin/gthumb "${ROOT}"
fi
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
Usage: f-spot [options] Options: -b -basedir:PARAM path to the photo database folder -? -help Show this help list -help2 Show an additional help list -i -import:PARAM import from the given uri -p -photodir:PARAM default import folder -shutdown shutdown a running f-spot instance -slideshow display a slideshow -usage Show usage syntax and exit -V -version Display version and licensing information -v -view view file(s) or directory(ies) |
Burning Board, entwickelt von WoltLab GmbH.
UbuntuFreunde von Easyy-S und basslord seit 06.12.06
Ubuntufreunde.de runs on ubuntu 10.04





