Re: thumbnail generation for nautilus via gimp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxx
 |   ,_/
 |   /    - 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@xxxxxxxxxxxx> 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

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux