 |
 |
Apple's X11 XTerm help
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2000
Location: Bronx, NY 10471
Status:
Offline
|
|
Hey all. I am trying to figure out how to make my Xterm look like my terminal. In the respect that i want the bash shell, and i want xterm to run fortune when it loads up
I have successfully gotten the bash shell working. when i do echo $SHELL i get /bin/bash. But it still won't run fortune, like terminal.app does. I have the code to run fortune in .profile. Also, is there anyway i can make it transparant and change the colors like on terminal. Thanks for your help
Mel
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
Stuff in .profile is only run for a login shell (stuff in .bashrc is always run). An xterm that you open is not necessarily a login shell, that depends on the flags set when launching it. In essence, add -ls to make the xterm have a login shell.
You set the color in pretty much the same way. Add "-bg black -fg white" to make the text white and the background black, for instance. you cannot make xterms transparent.
Note: if you add the following to your .profile:
DISPLAY=:0
export DISPLAY
and start a new standard terminal window, it will work like the one started by X11 and you will be able to launch X11 programs from it, provided X11 is running.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2000
Location: Bronx, NY 10471
Status:
Offline
|
|
Wow, thank you for those great tips! I will definitely now use terminal as my x11 program launcher. is there anyway i can launch x11 without it appearing in the dock / menu, like as a service.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
Originally posted by melman101:
Wow, thank you for those great tips! I will definitely now use terminal as my x11 program launcher. is there anyway i can launch x11 without it appearing in the dock / menu, like as a service.
Yep, you can do just that. Check this out.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2000
Location: Bronx, NY 10471
Status:
Offline
|
|
Thanks very much. Got it to work! It's awesome. Now I just run X11 programs, as if they were part of the native terminal! Awesome.
Mel
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|