Luca Sardelli wrote:
[]
My question is: what about all the lines in the original .xinitrc file
created by the Apple-X11 installer?

You can just forget all of this, with the possible exception of 2 lines, see the end of this message.

----- lines in Apple-X11 .xinitrc file ------

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap

The file ~/.Xresources may contain your personal configuration for applications running under X11, like the following for the configuration of xfig:

Fig.browser: open %f

It is equivalent to (and overrides the contents of) the files contained in /etc/X11/app-defaults and /sw/etc/app-defaults. Many people use this to configure the default behavior of their xterm and [x]emacs, for example.

In the file ~/.Xmodmap you can have your own modification of the X keymap.

sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

These two file do not exist, in general, so anything relating to them is superfluous. If they existed, they would do the same on the system level as your personal ones in your home directory.

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

Instead of all this stuff, put
  xrdb -merge ~/.Xresources
there if you have this file, and
  xmodmap ~/.Xmodmap
if you have this one. If you don't have either, don't put anything.

--
Martin




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to