>>>>> Mike A Harris writes:
M> Two problems:
M> 1) I've changed the default color of the root window in .xinitrc with
M> 'xsetroot -solid navyblue' however when X starts up the screen
M> goes navy blue, and then 4 seconds later when fvwm starts, the
M> screen reverts to the original (unknown) color. I would like
M> to
M> permanently change the root window's default color in .fvwmrc95
M> if possible(or wherever it is stored). Can anyone help?
look at the InitFunction in .fvwm2rc
there's an entry there, which changes the root window again.
M> 2) What can I put in .xinitrc to test wether or not I'm online and
M> if I am then set the window to orange, otherwise set it to
M> navyblue?
M> My scripting abilities are not yet to the point where I can
M> figure out stuff like this easily.
M> Any help would be greatly appreciated.
maybe a ping to your server host
which should return an error if you're offline (no connection)
Just check the exit status of the command.
albrecht
--
Another Holiday Inn, another temporary home,
and an interviewer threatening me with a microphone,
'Talk to me, won't you tell me your stories.'
So I talked about conscience and I talked about pain,
and he looked out of the window and it started to rain,
and I thought maybe I've already gone crazy.
So I reached for the bottle and he reached for the door,
and I picked up the sleeping pills crushed on the floor.
Inviting me to casual obscenity. -- Marillion
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Dec 09 1996 - 11:53:35 GMT