Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Caspa

macrumors member
Original poster
Apr 11, 2003
51
0
Sydney
Just a quick question...
Havn't tried because I havnt got my OSX system yet, but can u launch X11 apps directly from the dock? eg instead of going into term - starting x - and then opening the program can you just click an icon and it will start?

Thanks
 
You can, you just have to write a Scripteedoo in AppleScript, going sommit like: (presuming you have stuff done with fink and Apple X11)

tell application "X11"
activate
end tell
do shell script "export DISPLAY=:0 && source /sw/bin/init.sh && abiword"

where the abiword can be replaced with the command name of your choice. Now, can someone answer me why the bloody hell X is so... unstable? It tends to crash a LOT.
 
Originally posted by orangefoodie
You can, you just have to write a Scripteedoo in AppleScript, going sommit like: (presuming you have stuff done with fink and Apple X11)

tell application "X11"
activate
end tell
do shell script "export DISPLAY=:0 && source /sw/bin/init.sh && abiword"

where the abiword can be replaced with the command name of your choice. Now, can someone answer me why the bloody hell X is so... unstable? It tends to crash a LOT.

Thanks for that, i'll have to give it a try.
Then I presume you can put the script onto the dock and change the icon etc etc?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.