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


Click here to return to the 'if you have fink' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
if you have fink
Authored by: slacker on Aug 16, '03 09:53:00PM

I ran into some problems with my laptop when X11 wasn't loaded where the script was running before X11 was up. Stuck in a "delay #sec" command and it started working. This version of the script uses fink. Replace emacs with your favorite command. All X applications take a -display argument.

--- cut here

tell application "Finder"
launch application "X11"
end tell

delay 1

set results to do shell script "(cd ~; source /sw/bin/init.csh; emacs -display :0.0) > /dev/null 2>&1 &"

--- cut here



[ Reply to This | # ]