Re: [Gimp-developer] Re: Gimp server startup

2005-06-06 Thread Andrei Simion
Hi Irek, Irek Sonina wrote: Andrei Simion wrote: Irek Sonina wrote: /usr/bin/gimp -c -i -s -b '(plug-in-script-fu-server 1 10008 \/tmp/gimpserverlog\)' '(gimp-quit 1)' 1/tmp/gimprunlog 2/tmp/gimperrlog Maybe try --display :1.0 -c -s, without no-interface. Thanks Irek, I'll try

Re: [Gimp-developer] Re: Gimp server startup

2005-06-05 Thread Sven Neumann
Hi, Andrei Simion [EMAIL PROTECTED] writes: Regarding the fonts, where I can find the new font names? I finally managed to get Gimp running. But, when I got a script running I got this: Illegal default font description for perl_fu_newimage2: -*-utopia-bold-r-*-*-70-*-*-*-*-*-*-* So, the

Re: [Gimp-developer] Re: Gimp server startup

2005-06-04 Thread Andrei Simion
Hi, Sven Neumann wrote: Hi, Andrei Simion [EMAIL PROTECTED] writes: Could you explain me to what extent I have to rewrite the code? Only very little has changed, there is a good chance that your script will work with no or only very little changes. You will switch from XLFD font names to

Re: [Gimp-developer] Re: Gimp server startup

2005-06-02 Thread Irek Słonina
Andrei Simion wrote: Irek Sonina wrote: /usr/bin/gimp -c -i -s -b '(plug-in-script-fu-server 1 10008 \/tmp/gimpserverlog\)' '(gimp-quit 1)' 1/tmp/gimprunlog 2/tmp/gimperrlog Maybe try --display :1.0 -c -s, without no-interface. Thanks Irek, I'll try your command. The thing is

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Irek Słonina
Andrei Simion wrote: Hi again, I managed to start X: Xvfb :1.0 -screen 0 10x10x16 So, the display is 1. Now, I start the Gimp server: gimp --display 1 --no-interface --batch \('extension-perl-server 0 0 0'\) and I get this error: Invalid option --display I tried different

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Sven Neumann
Hi, Andrei Simion [EMAIL PROTECTED] writes: The reason I haven't done that was because there was no X server instaled and I presume the user installation can be done only by starting Gimp in the graphical interface, am I wright? A patch to change that would be very much appreciated. But you

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Andrei Simion
Irek Sonina wrote: Andrei Simion wrote: Hi again, I managed to start X: Xvfb :1.0 -screen 0 10x10x16 So, the display is 1. Now, I start the Gimp server: gimp --display 1 --no-interface --batch \('extension-perl-server 0 0 0'\) and I get this error: Invalid option --display I tried

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Sven Neumann
Hi, Andrei Simion [EMAIL PROTECTED] writes: I managed to start X: Xvfb :1.0 -screen 0 10x10x16 So, the display is 1. Now, I start the Gimp server: gimp --display 1 --no-interface You cannot combine --display and --no-interface. If you don't want any user interface, then you don't need

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Andrei Simion
Sven Neumann wrote: Hi, Andrei Simion [EMAIL PROTECTED] writes: I managed to start X: Xvfb :1.0 -screen 0 10x10x16 So, the display is 1. Now, I start the Gimp server: gimp --display 1 --no-interface You cannot combine --display and --no-interface. If you don't want any user

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Sven Neumann
Hi, Andrei Simion [EMAIL PROTECTED] writes: What about setting the DISPLAY environment variable for the perl server (if it really needs a display) ? You mean a DISPLAY variable in each script? No, I mean setting DISPLAY in the environment you start GIMP and the perl-server from. What we

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Kevin Cozens
Andrei Simion wrote: I managed to start X: Xvfb :1.0 -screen 0 10x10x16 So, the display is 1. Now, I start the Gimp server: gimp --display 1 --no-interface --batch \('extension-perl-server 0 0 0'\) If the above is all you have done, you have not done what Sven told you to do. After

Re: [Gimp-developer] Re: Gimp server startup

2005-06-01 Thread Andrei Simion
Sven Neumann wrote: Hi, Andrei Simion [EMAIL PROTECTED] writes: What about setting the DISPLAY environment variable for the perl server (if it really needs a display) ? You mean a DISPLAY variable in each script? No, I mean setting DISPLAY in the environment you start GIMP and the

Re: [Gimp-developer] Re: Gimp server startup

2005-05-31 Thread Andrei Simion
Sven Neumann wrote: Hi, Andrei Simion [EMAIL PROTECTED] writes: When I start the Gimp server with this command: gimp --no-interface --batch '(extension-perl-server 0 0 0)' I got these messages: GIMP is not properly installed for the current user. User installation was skipped because

Re: [Gimp-developer] Re: Gimp server startup

2005-05-31 Thread Michael Schumacher
Andrei Simion wrote: Sorry about that. There is an explanation for this. This mailing list is set up that when someone sends an email on it, it has the to header field to the original sender and a cc to the list. Replying to this message would send one email to the email address in the to

Re: [Gimp-developer] Re: Gimp server startup

2005-05-31 Thread Andrei Simion
Hi again, I managed to start X: Xvfb :1.0 -screen 0 10x10x16 So, the display is 1. Now, I start the Gimp server: gimp --display 1 --no-interface --batch \('extension-perl-server 0 0 0'\) and I get this error: Invalid option --display I tried different --display options: :1, :1.0, 1.0. The

Re: [Gimp-developer] Re: Gimp server startup

2005-05-30 Thread Andrei Simion
Seth Burgess wrote: How exactly are you running it? If you're not supplying the parameters to it, it will try to start the dialog, which will require Gtk which requires an X server. I'm running it using the folowing: gimp --no-interface --batch '(extension-perl-server 0 0 0)' Andrei On

Re: [Gimp-developer] Re: Gimp server startup

2005-05-30 Thread Andrei Simion
Carol Spears wrote: On Fri, May 27, 2005 at 10:07:59AM -0400, Andrei Simion wrote: Another question would be whether the old Perl scripts (written for 1.x versions of Gimp) run on 2.2. no they dont. So I have to use other APIs like the new Gimp module. Could you explain me to what

Re: [Gimp-developer] Re: Gimp server startup

2005-05-30 Thread Andrei Simion
Carol Spears wrote: On Fri, May 27, 2005 at 12:10:35PM -0400, Andrei Simion wrote: Carol Spears wrote: On Fri, May 27, 2005 at 10:07:59AM -0400, Andrei Simion wrote: Another question would be whether the old Perl scripts (written for 1.x versions of Gimp) run on 2.2. no they dont.

Re: [Gimp-developer] Re: Gimp server startup

2005-05-30 Thread Carol Spears
On Mon, May 30, 2005 at 10:58:06AM -0400, Andrei Simion wrote: Carol Spears wrote: On Fri, May 27, 2005 at 10:07:59AM -0400, Andrei Simion wrote: Another question would be whether the old Perl scripts (written for 1.x versions of Gimp) run on 2.2. no they dont. So I have to use

Re: [Gimp-developer] Re: Gimp server startup

2005-05-30 Thread Sven Neumann
Hi, Andrei Simion [EMAIL PROTECTED] writes: Could you explain me to what extent I have to rewrite the code? Only very little has changed, there is a good chance that your script will work with no or only very little changes. You will switch from XLFD font names to the easier fontconfig names

Re: [Gimp-developer] Re: Gimp server startup

2005-05-30 Thread Carol Spears
On Mon, May 30, 2005 at 11:04:27AM -0400, Andrei Simion wrote: Carol Spears wrote: i suggest getting the cvs source and reading the existing scripts. i was working on minor updating to some of those scripts (which is sad because there are so many who profited from this who are trained and

Re: [Gimp-developer] Re: Gimp server startup

2005-05-30 Thread Sven Neumann
Hi, Andrei Simion [EMAIL PROTECTED] writes: And where is the cvs source? http://gimp.org/source/#gimp_from_cvs http://developer.gimp.org/cvs.html Sven ___ Gimp-developer mailing list Gimp-developer@lists.xcf.berkeley.edu

Re: [Gimp-developer] Re: Gimp server startup

2005-05-27 Thread Carol Spears
On Fri, May 27, 2005 at 10:07:59AM -0400, Andrei Simion wrote: Another question would be whether the old Perl scripts (written for 1.x versions of Gimp) run on 2.2. no they dont. carol ___ Gimp-developer mailing list

Re: [Gimp-developer] Re: Gimp server startup

2005-05-27 Thread Andrei Simion
Seth Burgess wrote: How exactly are you running it? If you're not supplying the parameters to it, it will try to start the dialog, which will require Gtk which requires an X server. I started the gimp server using this: gimp --no-interface --batch '(extension-perl-server 0 0 0)' The

Re: [Gimp-developer] Re: Gimp server startup

2005-05-27 Thread Sven Neumann
Hi, Andrei Simion [EMAIL PROTECTED] writes: I managed to start the Gimp server. I read that one of its new features is that you don't need the X to run it. But, when I run an old Perl script I got this warning: 1117202349: accepted unix connection Gtk-WARNING **: cannot open display: at