Re: Xdefaults VS Xresources

1999-01-16 Thread Branden Robinson
On Sun, Jan 17, 1999 at 12:20:40AM +1100, Shao Zhang wrote:
>   Could you clarify the differences between these two files??

Two different names for the same thing.

>   I just found out that I don't have .Xresources file in my home
> directory... is this a problem?? 

Either mv $HOME/.Xdefaults $HOME/.Xresources

or

edit /etc/X11/Xsession and change the value of userresources

or

write a .xinitrc that does all the work of /etc/X11/Xsession, customized to
use whatever dotfiles you like.

The manpages for startx, xinit, and Xsession in the forthcoming slink
release will be much more clear about this stuff.

-- 
G. Branden Robinson  |A committee is a life form with six or
Debian GNU/Linux |more legs and no brain.
[EMAIL PROTECTED]   |-- Robert Heinlein
cartoon.ecn.purdue.edu/~branden/ |


pgpHgccE4oq83.pgp
Description: PGP signature


Re: .Xdefaults vs. .Xresources

1997-09-02 Thread Manoj Srivastava
Hi,

Look at /etc/X11/Xsession. It looks at $HOME/.xsession
 (startup file) and $HOME/.Xresources (user defined resources). 

The latter is merged, using xrdb -merge, the former is
 executed at start up (as long as the line allow-user-xsession is
 present in /etc/X11/config).

manoj
-- 
 "No matter where you go, there you are..." Buckaroo Banzai
Manoj Srivastava   mailto:[EMAIL PROTECTED]>
Mobile, Alabama USAhttp://www.datasync.com/%7Esrivasta/>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: .Xdefaults vs. .Xresources

1997-09-02 Thread Heikki Vatiainen
My .Xresources is a symlink to .Xdefaults and I've had no problems either.

I just checked /usr/lib/X11/xinit/xinitrc script and it thinks .Xresources 
is the right file. Here's a small snippet from the file. The 
$userresources variable is defined as 'usrresources=$HOME/.Xresources' in 
the beginning of the file.


  if grep -q ^allow-user-resources /etc/X11/config
  then
if [ -f $usrresources ]
then
  xrdb -merge $usrresources
fi
  fi

// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: .Xdefaults vs. .Xresources

1997-09-02 Thread Rob Browning
Christopher Ray Martin <[EMAIL PROTECTED]> writes:

> I am a little confused as to the difference between these two files. It
> seems that they are basically the same, or at least they contain the same
> type of information. 
> 
> Which is preferrable to use? Can I use one, and then "source" it from the
> other file (for programs which may use the other one)?

Well, it may not be strictly correct, but my .Xdefaults is a symlink
to .Xresources.  Works for me.

-- 
Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .