Difference: MacOSXX11 (r7 vs. r6)

See:

My Setup

Start X11 at Login Add X11 to the programs that start automatically when you login. System Preferences -> Accounts -> Login Items

Make your own xinitrc to eliminate the xterm that is started by the system xinitrc...

Copy system xinitrc to your home area, fix permissions, and edit it...

cd ~
cp /etc/X11/xinit/xinitrc .xinitrc
chmod 664  .xinitrc
emacs .xinitrc

Set DISPLAY var in terminals When you use xterm, the DISPLAY variable is automatically set, but many people prefer using the terminal program.

Snippet of ~/.profile (note that BASH runs only the first found (in this order) of ~/.bash_profile, ~/.bash_login or ~/.profile ).

# set DISPLAY if not set, don't do if SSH_TTY is set
if [ -z $DISPLAY ] && [ -z $SSH_TTY ]; then
  export DISPLAY=":0.0"
fi 

-- TomRockwell - 01 Jun 2007

IAttachmentActionSizeDateWhoComment
bash-invocation.txttxtbash-invocation.txtmanage 4.6 K 01 Jun 2007 - 17:50TomRockwell Invocation section of the BASH man page

View topic | View difference side by side | History: r9 < r8 < r7 < r6 | More topic actions
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback