 |
 |
Really simple on, X11
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jul 2002
Location: Norway
Status:
Offline
|
|
Anybody know how to not make 'X11' show the terminal at start up ?? No problem for me, but the users at my school might wonder what it is when I've installed Open Office with Coool to them.
|
|
Mac Pro 2 x 2.8 GHz Quad-Core, Nvidia GeForce 8800GT
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Sep 2000
Location: France
Status:
Offline
|
|
in the .xinitrc file in your home directory, delete the line containing xterm.
You can add other commands at the end of this file, and they will be launched every time you fire up X11.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2003
Location: The City Of Diamonds
Status:
Offline
|
|
Originally posted by Axel:
in the .xinitrc file in your home directory, delete the line containing xterm.
You can add other commands at the end of this file, and they will be launched every time you fire up X11.
Well that file isn't located in my home dir. But I used the "locate" command to search for it and I found it in /private/etc/X11/xinit/
EDIT: you need to sudo to edit this.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Midwest
Status:
Offline
|
|
The unix way to handle this is to copy /private/etc/xinit/xinitrc to your home directory as .xinitrc. The dot makes it invisible to the finder as well as load when X11 is started. That leaves the original file untouched and you can edit the ~/.xinitrc as a user rather than as root. The command is
cp /private/etc/xinit/xinitrc ~/.xinitrc
That new file has your privileges so sudo is not needed to edit. X11 will look for startup files in your home directory before looking in /private/etc. If they are found, the search is stopped. The same applies to login/.login and logout/.logout
Craig
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2003
Location: The City Of Diamonds
Status:
Offline
|
|
Originally posted by suthercd:
The unix way to handle this is to copy /private/etc/xinit/xinitrc to your home directory as .xinitrc. The dot makes it invisible to the finder as well as load when X11 is started. That leaves the original file untouched and you can edit the ~/.xinitrc as a user rather than as root. The command is
cp /private/etc/xinit/xinitrc ~/.xinitrc
That new file has your privileges so sudo is not needed to edit. X11 will look for startup files in your home directory before looking in /private/etc. If they are found, the search is stopped. The same applies to login/.login and logout/.logout
Craig
Ok, cool. I restored the original file and made a copy in my home dir. 
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Status:
Offline
|
|
You can add an .xinitrc in your home
directory but if you wan't to set it globaly then you would have to modify the
one in /private/etc/xinit/
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jul 2002
Location: Norway
Status:
Offline
|
|
Just wanted to say thx. Nothing more. Works great !!
|
|
Mac Pro 2 x 2.8 GHz Quad-Core, Nvidia GeForce 8800GT
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|