LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [SOLUTION] Slackware 13: GQview: enabling "Edit ... in the Gimp" (https://www.linuxquestions.org/questions/slackware-14/%5Bsolution%5D-slackware-13-gqview-enabling-edit-in-the-gimp-756542/)

catkin 09-20-2009 06:42 AM

[SOLUTION] Slackware 13: GQview: enabling "Edit ... in the Gimp"
 
Hello :)

I don't know if this is the best solution but it works for me.

In "GQview Tools"->Edit->Preferences->Editors change the command from "gimp-remote -n %f" to "/usr/bin/gimp-2.6 -n %f".

It may be more robust, in the case of upgrading Gimp, to use /usr/bin/gimp rather than /usr/bin/gimp-2.6 (/usr/bin/gimp is a symlink to /usr/bin/gimp-2.6) but I am happy to take on the extra task when Gimp is upgraded for the benefit of making the action more direct.

Similarly, it may be more robust to use gimp-2.6 rather than /usr/bin/gimp-2.6 in case it is is ever moved from /usr/bin, but again I am happy to fix when needs must for the benefit of making the action more direct.

Any thoughts about why GQview is configured to use gimp-remote rather than gimp?

Best

Charles

hoodooman 09-20-2009 01:06 PM

I dont know why it uses gimp-remote.You only need to change it from gimp-remote -n%f to gimp.This will open whatever version of gimp is installed.

lumak 09-20-2009 01:20 PM

Uhhh.. well it depends on if you like to have a bazillion toolbox and ancillary windows open when you edit multiple pictures. gimp-remote will edit all the images under the same running instance of gimp. running gimp each time will run a different instance for every file. That could become confusing.


Additionally, you can manage windows further if your WM supports tabbing and grouping windows. I have it set up so all the image windows are automatically tabbed together.

catkin 09-20-2009 02:06 PM

Quote:

Originally Posted by lumak (Post 3690776)
Uhhh.. well it depends on if you like to have a bazillion toolbox and ancillary windows open when you edit multiple pictures. gimp-remote will edit all the images under the same running instance of gimp. running gimp each time will run a different instance for every file. That could become confusing.


Additionally, you can manage windows further if your WM supports tabbing and grouping windows. I have it set up so all the image windows are automatically tabbed together.

Thanks for the info. Doesn't Gimp automatically do that if you don't give the -n option? From the Gimp man page
Code:

      -n, --new-instance
              Do not attempt to reuse an already running GIMP instance. Always start a new one.


saulgoode 09-21-2009 02:17 AM

Quote:

Originally Posted by catkin (Post 3690835)
Thanks for the info. Doesn't Gimp automatically do that if you don't give the -n option?

Correct. GIMP version 2.6 no longer uses 'gimp-remote'; instead, GIMP uses D-BUS to signal running instances of GIMP that a new file is to be opened.

If GIMP is to be run on systems which don't provide D-BUS (or you otherwise wish to use 'gimp-remote'), it should be recompiled using the "--enable-gimp-remote" compiler option.

lumak 09-21-2009 10:10 AM

That's what I get for quickly playing with the commands but not double checking the option flags :P and if it's new functionality in 2.6 to not require gimp-remote, then there is a transition phase. If they intended it to not open another instance up then gimp-remote is the safer option for most people. Good distros include special options like '--enable-gimp-remote' for a while after that feature is depreciated.... Either way, the use of the '-n' option for gimp-remote breaks their set up anyway. With using both gimp-remote and -n we can't fully understand what the original intent was :P


All times are GMT -5. The time now is 05:32 AM.