LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-20-2009, 06:42 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,546
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
[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
 
Old 09-20-2009, 01:06 PM   #2
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
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.
 
Old 09-20-2009, 01:20 PM   #3
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
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.

Last edited by lumak; 09-20-2009 at 01:23 PM.
 
Old 09-20-2009, 02:06 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,546
Blog Entries: 28

Original Poster
Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by lumak View Post
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.
 
Old 09-21-2009, 02:17 AM   #5
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 232

Rep: Reputation: 99
Quote:
Originally Posted by catkin View Post
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.

Last edited by saulgoode; 09-21-2009 at 02:21 AM.
 
Old 09-21-2009, 10:10 AM   #6
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
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
 
  


Reply

Tags
edit, gimp, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shouldn't "Slackware64" Become just "Slackware" and 32-bit Become "Slackware32"? foodown Slackware 6 06-23-2009 01:24 PM
Fedora 7 booting stops at "Enabling local filesystem quotas" cztsy Linux - Newbie 3 02-01-2008 06:12 AM
Edit "read-only" /etc/fstab from "System Recovery#" (without boot cd?) charlweed Linux - General 1 12-31-2006 05:57 PM
Proposed solution for "status" (aka "problem solved") indicator demerson3 LQ Suggestions & Feedback 12 04-08-2006 02:15 PM
Is solution for control "NaN" and "Inf" in C/C++ gmitra Programming 2 09-19-2002 08:57 AM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration