home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21438 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ufo!kaleb
  3. From: kaleb@jpl-devvax.jpl.nasa.gov (Kaleb Keithley)
  4. Subject: Re: When Can I Change the Defaults of X?
  5. Message-ID: <1993Jan21.221319.3034@jpl-devvax.jpl.nasa.gov>
  6. Organization: Jet Propulsion Laboratory (NASA)
  7. References: <C17zLE.7yz@acsu.buffalo.edu> <81170@hydra.gatech.EDU>
  8. Date: Thu, 21 Jan 1993 22:13:19 GMT
  9. Lines: 29
  10.  
  11. In article gt0449a@prism.gatech.EDU (Rob Coleman) writes:
  12. >>When I'm running X windows, can I basically change things in the file
  13. >>.Xdefaults or change the defaults directly (font etc.) and have these 
  14. >>changes applied to the current session without exiting X and re-entering 
  15. >>it?
  16. >
  17. >Any changes that you make in the .Xdefaults file won't take effect until
  18. >you a) restart X or b) type "xrdb .Xdefaults" to effectively read in the
  19. >new defaults.  I believe that you can do xrdb from any xterm session and
  20. >it will take effect.
  21.  
  22. Restarting X is pretty drastic, and certainly not necessary.  Simply
  23. reloading the server resident resource database, i.e. 'xrdb .Xdefaults' 
  24. won't do the trick either, because just doing that won't trigger the
  25. application to reread the resources from the server.
  26.  
  27. All that's generally necessary is to terminate and restart the application
  28. who's resources you've changed.
  29.  
  30. What nobody has mentioned so far is editres, which will allow you to set
  31. resources in the running client application dynamically.  editres is a
  32. featured addition to R5.  Motif and OpenLook based applications can easily
  33. be editres aware, and someone even posted an announcement for an R4 port 
  34. of editres recently.
  35.  
  36. -- 
  37.  
  38. Kaleb Keithley                               kaleb@jpl-devvax.jpl.nasa.gov
  39.  
  40.