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