windows colors after upgrade

Michal Szymanski msz at astrouw.edu.pl
Fri May 3 08:35:55 CEST 2002


On Thu, May 02, 2002 at 05:28:19PM +0200, Olivier Fourdan wrote:
> 
> The problem comes from the "speed" of the different computers.
> 
> Your office PC is probably faster than than your home PC, so the xfce
> panel is faster to start and apply colors before the session manager
> restore all apps.

Yes, this is true that my office machine is faster (dual 1.4GHz Athlon vs.
500MHz Pentium III) but I can't catch the point in the above explanation.
I'd say that it is the session manager who restores colors of all old
apps and the panel may want to apply some default colors. Right?

On the other hand, I can't find any information about the color saved
in xfwm-session:

[CLIENT] 120000e
  [CLIENT_LEADER] 18874382
  [RES_NAME] xterm
  [RES_CLASS] XTerm
  [WM_NAME] Terminal
  [WM_COMMAND] 3 "xterm" "-title" "Terminal"
  [GEOMETRY] 14 238 739 424 0 0
  [FOCUSDESK] -1
  [DESK] 0
  [FLAGS] 0

I've just checked it: if I change the color in app-defaults/XTerm,
it changes in all restored windows, so indeed, the session manager
has no information on the colors of the saved session windows.

> There is a parameter you need to increase in your $HOME/.xfce/xfwmrc (if
> you don't have xfwmrc in $HOME/.xfce/, simply copy the one from
> /etc/X11/xfce/xfwmrc to $HOME/.xfce/xfwmrc)
> 
> On your home PC, ie the one that doesn't show proper colors on restored
> apps, increase the value "WaitSession". The default is 2 seconds, but on
> slower machines, a value of 5 seconds is probably better suited.

Well, in accordance with what I have guessed above, changing WaitSession
on my home PC did not change anything. It was 5 originally, I tried both
bigger (7) and smaller (2) values, no change.

So, the mistery remains hidden :)


> Cheers,
> Olivier.
> 
> On Thu, 2002-05-02 at 17:11, Joe Klemmer wrote:
> > 
> > > Now I've just upgraded my office PC (3.8.14c->3.8.16) and, to my
> > > surprise, windows stayed in the previously-assigned colors, although
> > > here I also have "Apply colors to all applications" box checked. This
> > > holds both for "session-remembered" windows (no explicit color settings
> > > in xfwm-session!) and newly opened 'xfterm' windows.

-- 
  Michal Szymanski (msz at astrouw.edu.pl)
  Warsaw University Observatory, Warszawa, POLAND



More information about the Xfce mailing list