Re: Launching a Unix or X11 Application from the Desktop or Dock
Re: Launching a Unix or X11 Application from the Desktop or Dock
- Subject: Re: Launching a Unix or X11 Application from the Desktop or Dock
- From: Doug Carter <email@hidden>
- Date: Wed, 21 Oct 2009 06:20:45 -0700
On Wed, Oct 21, 2009 at 05:58:06AM -0700, Ernest N. Prabhakar, Ph.D. wrote:
> What is the proper way to create a desktop launcher to open a X11 app or
> run a UNIX command in Snow Leopard?
>
> There's many ways, but the simplest (if ugliest) is to create a shell
> script with the ".command" file extension, and set it to chmod +x.
> If you want to prettify it, stick it in an Automator workflow and save it
> as an app.
> Hope that helps,
> -- Ernie P.
I use a very simple python package called py2app as an X11 app launcher:
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
It will create a native MacOS app that can be run just like any other Mac
application. (from the dock, desktop, etc) One of the most common uses
(for me) is launching xterms on remote machines. I have an "Xterms"
folder in my dock. I click to expand the folder, then click one of the
named server icon and it pops up an xterm from the remote server.
Don't let the py2app webpage overwhelm you. This package has *lots*
of options, but you only need a basic app to launch an X11 app. After
installing the package, I found the tutorial section very helpful. I
had my first app running in less than 30 minutes.
Hope this helps,
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden