|Mar 21, 2005, 11:36 PM||#1|
Launching X11, xterm with command
Does anyone know a way to launch Apple's X11, and then tell the xterm that shows up to run a command? I have the equivalent working for Terminal.app (via NSTask), but I really need to be able to do the same thing for X11. I'm not opposed to kludgy solutions, but so far I've come up with nothing.
I bring order to chaos. You are in chaos Windows, you are the contradiction, a bug wishing to be an OS.
Visit Softyards Software
NEW DEFINITION OF GEEK
Like politics, free speech, computers, entertainment, and more? Join us at Wordforge.net
Last edited by GeeYouEye; Mar 21, 2005 at 11:39 PM.
|Mar 22, 2005, 01:29 AM||#2|
No need for a kludge. Launch a terminal and run these commands:
$ cp /etc/X11/xinit/xinitrc .xinitrc
$ chmod +x .xinitrc
Now edit .xinitrc, and find this section:
|Mar 23, 2005, 03:55 PM||#3|
Thanks, but I guess I wasn't being clear. I meant how to programmaticly do that in Cocoa, but no worries, I've got it working now.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Launch X11 GUI app via Applescipt/Xcode?||noire anqa||Mac Programming||4||Apr 27, 2011 06:10 PM|
|Was instructed to write sudo command, returned with command not found||xtreamest822||OS X||10||Feb 10, 2011 10:27 AM|
|Problem with X11 and asian characters||zugvogel||Mac Basics and Help||1||Nov 29, 2010 08:44 AM|
|I need an easier way to launch x11 applications.||Kalixa||Mac Applications and Mac App Store||13||Jul 28, 2007 02:10 PM|
|X11 Problems with GIMP||pknz||Mac Applications and Mac App Store||1||Jan 3, 2006 09:28 PM|
All times are GMT -5. The time now is 01:35 PM.