Re: X11AppBundler?
Re: X11AppBundler?
- Subject: Re: X11AppBundler?
- From: robert delius royar <email@hidden>
- Date: Thu, 3 Feb 2005 12:10:33 -0500 (EST)
- Organization: An Apple OS X end user
- Priority: NEW
Thu, 3 Feb 2005 (17:19 +0100 UTC) Michael A. Lowry wrote:
I wonder if there is a ... program for packaging X11 applications.
*X11AppBundler*, perchance?
You can create bundled applications that place an Icon in the Dock using
Platypus. I have a small snippet of C code that I added to Pine which
allows me to bundle a desktop application which when double clicked will
check for X11 running and so forth. The App is also in the Dock
permanently, so clicking it from there launches Pine after launching X11 if
necessary. I have a similar drag-n-drop desktop icon for XEmacs which uses
GNUclient/GNUserver to drop files in XEmacs for editing.
The C code is in Pine just to grab focus. Most of the heavy lifting is in a
smal sh script.
The only problem is that Platypus doesn't have a way to notify the running
application when its dock icon has been selected AFTER it is launched. The
source to Platypus is available, and OSX Gimp uses a modified version for
its app bundle approach. Someone who understood X and ObjC could probably
add the notification code needed to make the running app move forward and
grab focus. There are a number of X docks that can pull up an OSX docked
window with one click (see fspanel for example). What I have cobbled
together works fine for me, but it could be much better. I also put
together a Platypus/sh/zenity combo that lets me drag-n-drop files to be
displayed by antiword, rtfreader, less, Word, or TextEdit. There is a lot
you can do with the Platypus wrapper, if you are mainly interested in
meeting your own needs.
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky
Making meaning one message at a time.
For excellence, the presence of others is always required.
-Hannah Arendt
11:57 up 8 days, 6:29, 1 user, load averages: 0.00 0.00 0.03
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden