[Gimp-developer] thumbnail generation for nautilus via gimp
Eckhard M. Jäger
bart at neeneenee.de
Wed Dec 5 11:59:21 PST 2007
Hello,
i found the problem why the script doesn't showed up, it needs the file
permission "Exexcute".
Do not know why, i have written exporters for Blender and plugins for
gEdit both in Python but
they didn't need the permission "Exexcute".
Ok, i'm new to Python Gimp plugins.
-
|\/\/\/|
| |
| (O)(O) Bart.
C _) bart at neeneenee.de
| ,_/
| / - Ich bin nicht berechtigt Aushilfslehrer zu feuern -
/ \
http://www.neeneenee.de
Am Mittwoch, den 05.12.2007, 10:14 +1100 schrieb Owen:
> On Tue, 04 Dec 2007 21:24:56 +0100
> "Eckhard M." Jäger <bart at neeneenee.de> wrote:
>
> > Hello,
> >
> > i started writing the internal Gimp script for looping over the images.
> > My code is so far the simple:
> >
> > # -*- coding: utf-8 -*-
> >
> > from gimpfu import *
> > import os
> > import os.path
> >
> > def python_thumbnailer(this_image, this_path):
> > a = this_path
> >
> > register(
> > "python-fu-thumbnailer",
> > "Generating thumbnails",
> > "Generating thumbnails for Nautilus via Gimp",
> > "Eckhard M. Jaeger",
> > "Eckhard M. Jaeger",
> > "2007",
> > "<Toolbox>/Xtns/Nautilus Thumbnailer...",
> > "",
> > [
> > (PF_STRING, "this_path", "Directory Path", ""),
> > ],
> > [],
> > python_thumbnailer)
> >
> > main()
> >
> > this script is copied into ~/.gimp-2.4/plug-ins but didn't appear
> > anywhere :(
> > I can't find the bug, please can somebody help me. Thanx.
>
>
>
> I don't know, but did you get any error messages when you started the Gimp from the command line?
>
> If it uses python, do you need to call python #!/usr/bin/python?
>
> Does it have the right permissions?
>
> When I add those corrections, I get the menu item
>
>
>
>
>
> Owen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20071205/7f4fb938/attachment.html
More information about the Gimp-developer
mailing list