Terminal Question...
hello, i'm somewhat new to UNIX and although i know a decent amount, i still have alot to learn. What i wan't to do is be able to run NEDIT from the terminal however it needs X11 running for it to work. So far i have it set up so that as long as X11 is already running, i can just type 'nedit' into the terminal and it will launch. Now i'm trying to set up my ~/.bash_profile so it will launch X11 when i start the terminal. How do i do this? i dont even know how to launch an application from the terminal. the whole ./program thing didnt seem to work. i also noticed, that the X11.app opens like a folder in the terminal which was wierd. can anybody please help me out here? thx
Comments
Originally posted by CNUco2007
...is there a way to start X11 w/out it popping up its terminal and stuff? like, start it up hidden? I need the service running, but dont want all that stuff popping up. thx for your help
You need to write you own .xinitrc file then, where you will only start the window manager. For example, a .xinitrc file in your home directory with this alone line of text as content
twm
will start the twm window manager and it will take you there (I suppose you know how to get back to the normal OS X environment). If you start X11 by clicking the X11 icon on the dock, you can avoid getting there by clicking somewhere else to bring another application in the foreground (Finder for example), while X11 is still starting.
*edit* well i set it up in my Login Apps and set it as Hidden however when X11 starts, it always brings up its own terminal. is there a way i can set up X11 to not show its terminal when its started? thx again for your help.