Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


open-x11 | 13 comments | Create New Account
Click here to return to the 'open-x11' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
open-x11
Authored by: wgscott on Mar 09, '04 05:03:49PM

It also apparently starts as a subprocess, so if your X11 application needs environment variables set in order to work, this won't do it, and you are back to the above type shell script.



[ Reply to This | # ]
open-x11
Authored by: m5comp on Mar 13, '04 12:17:18PM
To my surprise, none of the above methods will work with gvim (the X11 version, not the Carbon port). The only method I found that will work is to create a .command file containing the following shell script:

#! /bin/sh
open -a X11
sleep 5
/usr/local/bin/gvim
Then, of course, you'd make the .command file executable and paste whatever custom icon you'd like. I did several .command files for pan, sol, gimp, etc., and in those the line "open-x11 /full/path/to/app" sufficed.

[ Reply to This | # ]