Open a terminal and then open the xinitrc file in your preferred editor, using sudo. E.g.:
$ cd /etc/X11/xinit
$ sudo vi xinitrc
You'll need to enter your password. Once the file is open look for the lines which read:
# start some nice programs
xterm &
Put a hash mark/pound sign in front of the second line above to comment it out. I've installed mrxvt using MacPorts, so to start it with a black background and green text, I entered the following line:
/opt/local/bin/mrxvt -bg black -fg green &
Then, save and quit. If you're using vi like me, you'll need to use save the file using the exclamation point to override the read-only setting on the file, e.g:
:qw!Now my preferred terminal emulator program starts when I fire up X11 on my MacBook Pro.
No comments:
Post a Comment