Re: terminal and x11
Re: terminal and x11
- Subject: Re: terminal and x11
- From: email@hidden
- Date: Sun, 23 Feb 2003 22:37:49 GMT
>>> What would be better would be a way to do what you describe by
>>> clicking on an icon for the X application in question. OroborOSX
>>> provides for this by using script files with an extension of
>>> '.x11app'. When you click on the icon for the file (or an alias
>>> to it) then OroborOSX starts up if it isn't already loaded,
>>> and after that the commands in the script are executed. I think
>>> Apple's X server
>>> badly needs something like this.
>> This would also be cool. I support this idea too! :)
> I use the following applescript, saved as an "Application":
>
> tell application "X11"
> activate
> end tell
>
> do shell script "export DISPLAY=:0 ; /usr/X11R6/bin/xterm -geometry
> 80x32+18+32 -fa Monaco -fs 10 -bc -hold -ls -rightbar -rw -sb -sl 1000
> > /dev/console 2>&1 &"
Yeah, using applescript is a pretty good solution. The above isn't quite as fast
as the equivalent in an OroborOSX .x11app script though, and you do get your
applescript icon briefly bouncing into the dock. Granted those issues aren't
major ones, but I think it would be nicer to have a file extension associated
with X11.app for it to run script files, after all Terminal.app has its .command
files so why shouldn't X11.app have an equivalent?
J. Mckeown.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.