Fwd: Packaging nedit as Mac app

Greg Edwards <[email protected]> Sun, 25 Jul 2010 17:51:52 +1000
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
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 <[email protected]>
Date: Sat, Feb 20, 2010 at 8:36 PM
Subject: Re: Packaging nedit as Mac app
To: General NEdit discussion list <[email protected]>
Cc: [email protected]


Le Sat, 20 Feb 2010 08:48:01 +1100 vous écriviez:

> 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...

--
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss