home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19429 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.5 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!doc.ic.ac.uk!not-for-mail
  2. From: pd@doc.ic.ac.uk (Philip Daniels)
  3. Newsgroups: comp.windows.x
  4. Subject: About Xresources
  5. Date: 21 Nov 1992 16:36:27 -0000
  6. Organization: Department of Computing, Imperial College, University of London, UK.
  7. Lines: 28
  8. Distribution: world
  9. Message-ID: <1eloibINNg63@oak42.doc.ic.ac.uk>
  10. NNTP-Posting-Host: oak42.doc.ic.ac.uk
  11.  
  12.   In the 'Xspeedups' article posted recently, there is a section which reads:
  13.  
  14.  ; Joe English (joe@trystero.art.com) :
  15.  ;   Keep your .Xresources and .Xdefaults file small.  Same effect as
  16.  ;   [reducing the number of fonts].  
  17.  ;
  18.  ; In your .Xdefaults (.Xresources) file, try just putting the minimum
  19.  ; amount of resources that you want to have available to all your
  20.  ; applications.  For example:  *reverseVideo: true
  21.  ;
  22.  ; Then, separate your resources into individual client-specific
  23.  ; resource files.  For Example: I store mine in $HOME/lib/app-defaults.
  24.  ; In my .login file I set the environment variable XUSERFILESEARCHPATH:
  25.  ;         setenv XUSERFILESEARCHPATH $HOME/lib/app-defaults/%N
  26.  ;  So, when I launch an xterm, it loads it's resources from
  27.  ;  ...app-defaults/XTerm.  Xdvi finds them in .../app-defaults/XDvi,
  28.  ;  and so on and so forth.
  29.  
  30.   Running X11R5, tcsh 6.00.01, I couldn't get this to work. (Bug in this
  31. version of tcsh perhaps?)  However:
  32.  
  33. XUSERFILESEARCHPATH=/homes/pd/lib/app-defaults/%N
  34. export XUSERFILESEARCHPATH
  35.  
  36. in my .xsession works perfectly.
  37.  
  38.  - Phil.
  39.  
  40.