Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!swrinde!emory!mephisto!prism!rhoward From: rhoward@msd.gatech.edu (Robert L. Howard) Newsgroups: comp.windows.x Subject: xrdb question (used in .xintrc file) Summary: Resources aren't passed at startup Message-ID: <10930@hydra.gatech.EDU> Date: 29 Jun 90 16:48:45 GMT Sender: news@prism.gatech.EDU Organization: Georgia Institute of Technology Lines: 71 I can't seem to get my resources passed to things that are started up in mt .xinitrc file. Here's the scenario: I run 'xinit' Everything starts up but xbiff doesn't get the geometry resource from xrdb. If I immediately start an xbiff from the command line, it works! 'appres xbiff' also reports what I expect. Can anyone help? Am I doing something fundamentally wrong? Here is my .xinitrc (much edited) ... -------------------------------------------------------------- #!/bin/sh # # ~/.xinitrc X clients for xinit to crank up. # userresources=$HOME/.Xresources # merge in defaults if [ -f $userresources ]; then xrdb -merge $userresources fi # Added in hopes of making it work (no luck) sleep 2 # From the defaults xterm -geometry 80x12+10+10 -title Console -C & xterm -geometry 80x50+515+10 & olwm -3 -f & # Added in hopes of making it work (no luck) sleep 2 # start some nice programs xbiff -geometry -10+256 & # finally, start the program that you shouldn't kill floatbg ____________________________________________________________ Here is .Xresources (again, edited) ... ----------------------------------------------------------- ! xbiff ! This doesn't work xbiff*geometry: 76 ! These do.... xbiff*background: LemonChiffon xbiff*onceOnly: off ----------------------------------------------------------- SparcStation 1 SunOS 4.1 X11r4 (PL 12) Using olwm Thanks for any advice, Robert -- | Robert L. Howard | Georgia Tech Research Institute | | rhoward@msd.gatech.edu | STL / MSD | | (404) 528-7165 | Atlanta, Georgia 30332 | | UUCP: ...!{allegra,amd,hplabs,ut-ngp}!gatech!msd!rhoward |