Summary: FVWM: Changing desktop color.

From: Mike A. Harris <mharris_at_sympatico.ca>
Date: Sat, 07 Dec 1996 09:23:53 -0500

Mike A. Harris wrote:
>
> burning away my online time. I am looking for some method of on-screen
> notification be it an icon, or a thing in the Taskbar, or in
> FvwmButtons, or whatnot. I figured that the easiest, and most visible
> way, would be to change the color of the root window in my ip-up
> script,
> and then when I do a 'ppp-off' my ip-down script can take care of
> setting things back to normal.

To Everyone:
Thanks very much for the plethora of replys that I received concerning
some sort of on-screen notification of being connected to my ISP while
in X. The onscreen color change seemed to be the easiest, and I think
the most useful and visible. I chose the 'xsetroot' method and it works
absolutely fantastic!

Here is what I ended up with:
[Bottom line of /etc/ppp/ip-up
xsetroot -solid orange -d :0

[Bottom line of /etc/ppp/ip-down
xsetroot -solid navyblue -d :0

Now the only problem is that if I quit X while logged on to my provider,
and then start it up again (more accurately: when Netscape 3.01 CRASHES
MY ENTIRE X SESSION and I have to restart it) the window is back to it's
default blue color.

Two problems:
   1) I've changed the default color of the root window in .xinitrc with
      'xsetroot -solid navyblue' however when X starts up the screen
goes navy blue, and then 4 seconds later when fvwm starts, the
screen reverts to the original (unknown) color. I would like
to
      permanently change the root window's default color in .fvwmrc95
if possible(or wherever it is stored). Can anyone help?

   2) What can I put in .xinitrc to test wether or not I'm online and
if I am then set the window to orange, otherwise set it to
navyblue?
      My scripting abilities are not yet to the point where I can
figure out stuff like this easily.

Any help would be greatly appreciated.

Mike A. Harris - mharris_at_sympatico.ca, mharris_at_blackwidow.saultc.on.ca
The Ultimate: Linux 2.0.26, DOSemu, 4DOS 5.50c, DJGPP 2.01, Borland C
3.1


--
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 Sun Dec 08 1996 - 17:01:10 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST