Opened 6 months ago

Closed 6 months ago

#68707 closed defect (invalid)

gimp2: Cannot open display

Reported by: bongserrano Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gimp2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The gimp2-launcher port installed at /Applications/MacPorts/GIMP.app. Double-clicking that in the Finder would not launch GIMP and does not give me an error message. I tried running /opt/local/bin/gimp in the Terminal and got the following error message:

No application knows how to open URL file:///opt/local/bin/gimp-2.10 (Error Domain=NSOSStatusErrorDomain Code=-10814 "kLSApplicationNotFoundErr: E.g. no application claims the file" UserInfo={_LSLine=1608, _LSFunction=runEvaluator}).

What do I need to do to fix this issue and launch GIMP from here?

Thanks in advance for your assistance!

Change History (6)

comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to mascguy
Port: gimp2 added
Status: newassigned
Summary: GIMP will not launch when double-clicking app in Findergimp2: No application knows how to open URL file:///opt/local/bin/gimp-2.10
Type: requestdefect

That's weird...

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

You literally just typed /opt/local/bin/gimp into the Terminal, pressed Return, and that's the error you got?

comment:3 Changed 6 months ago by bongserrano

I typed

/opt/local/bin/gimp

into the Terminal and get

Cannot open display:

I type

open /opt/local/bin/gimp

and get the error I cited above.

comment:4 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: gimp2: No application knows how to open URL file:///opt/local/bin/gimp-2.10gimp2: Cannot open display

Ok, /opt/local/bin/gimp is the correct command to start gimp. Do not type open /opt/local/bin/gimp.

Cannot open display typically means you have not installed an X11 server. One way to install one is sudo port install xorg-server and follow the instructions in the notes that will be displayed. You'll at least have to log out and log back in afterward.

comment:5 Changed 6 months ago by bongserrano

It worked! Thanks Ryan

Opening a new ticket with a new issue

comment:6 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.