Discussion:
Packaging nedit as Mac app
Greg Edwards
2010-02-19 21:48:01 UTC
Permalink
Team,

Has anyone packaged up nedit on Mac as a Mac "app" ?
So it appears in Applications, or more mportantly appears as a choice in the
"Open With .." menu.
Or you could drag and drop a text file on a Nedt icon ?

I guess you can esaily do this with a script around nedit and some
AppleScript work.

Tks
--
Greg Edwards
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Greg Edwards
2010-07-25 07:51:52 UTC
Permalink
Dear All,

Just a wrapup on my question of several months ago, re packaging nedit as a
Mac app (see below).

Emmanuel Florac pointed me at the Nedit "droplet" on the FTP site, which I
tried but didn't work. So I contatced the author Nate Gray, who sussed that
I had confused things by explicitly setting my DISPLAY to :0.0. I did this
back at Tiger (Mac OS X 10.4) when it seemed necessary to get Mac X11 and
Nedit working properly. But in Leopard and Snow Leopard (OS X 10.5/6) things
have changed a lot and the Mac launcher app will automatically launch X11
when needed. The display id becomes DISPLAY=/tmp/launch-TMnvfL/org.x:0 or
similar.

After letting the Mac start X11 automatically all was well. The Nedit
Droplet can be placed on the Desktop or in the Dock and you can drag a file
onto it and Nedit opens it. Still haven't got Nedit as a choice in the Open
With ... menu in the Finder, but I'm pretty happy.

(This is also the proper solution to an issue I had getting Gimp to open
properly in X11 on Mac).

Cheers,
Greg E

---------- Forwarded message ----------
From: Emmanuel Florac <eflorac-***@public.gmane.org>
Date: Sat, Feb 20, 2010 at 8:36 PM
Subject: Re: Packaging nedit as Mac app
Post by Greg Edwards
Has anyone packaged up nedit on Mac as a Mac "app" ?
So it appears in Applications, or more mportantly appears as a choice
in the "Open With .." menu.
Or you could drag and drop a text file on a Nedt icon ?
There is a Mac launcher on the ftp, however AFAIK it doesn't seem to
work on Leopard/Snow Leopard...

Loading...