Re: Sawfish/Gnome/Xinerama dropping windows



--- Scott Anderson <ee_in_co yahoo com> wrote:

> 
> --- era eriksson <era+gmane iki fi> wrote:
> > Could it be that Sawfish is simply mapping the windows to weird coordinates so
> > that they are not on the current viewport?  In that case, you could probably
> > move them with a bit of sawfish-client hacking.
> > 
> > Let's say the missing window is the Gnome Panel:
> > 
> > vnix$ sawfish-client
> > sawfish 1.3, Copyright (C) 1999-2000 John Harper
> > sawfish comes with ABSOLUTELY NO WARRANTY; for details see the file COPYING
> > 
> > Enter `,help' to list commands.
> > user> ;; try to find a regex which matches exactly only the missing window
> > user> (get-window-by-name-re "gnome panel")
> > user> ;; nothing
> > user> (get-window-by-name-re "panel")
> > user> ;; still nothing
> > user> (get-window-by-name-re "Panel")
> > #<window 1200031>
> > 
> > user> ;; gotcha!  let's store a handle to this one
> > user> (setq panel (get-window-by-name-re "Panel"))
> > #<window 1200031>
> > 
> > user> (window-position panel)
> > (0 . 0)
> > user> ;; we speculate you'd see something really weird here
> > 
> > user> ,describe move-window-to
> > Native Function: move-window-to
> > 
> > move-window-to WINDOW X Y
> > 
> > Move the top-left corner of window object WINDOW to (X, Y).
> > 
> > user> (move-window-to panel 0 0)
> > user> ^D
> > vnix$
> > 
> > Does this help at all?
> > 
> 
> I'll certainly follow these steps next time the problem happens.  Gnome-panel is one of the
> programs that disappears frequently.

Gnome-panel just disappeared.  I followed the steps above, but they did not find the window. 
Here's the sawfish-client dialogue:

sawfish 1.3, Copyright (C) 1999-2000 John Harper
sawfish comes with ABSOLUTELY NO WARRANTY; for details see the file COPYING

Enter `,help' to list commands.
user> (get-window-by-name-re "Panel")
()
user> (get-window-by-name-re "panel")
()
user> (get-window-by-name-re "gnome")
()
user> (get-window-by-name-re "gnome panel")
()
user> (get-window-by-name-re "Gnome")
()


My process list still shows gnome-panel running:

> ps -ef | grep gnome-panel
user 10300     1  0 Nov13 ?        00:00:44 gnome-panel --sm-config-prefix /gnome-panel-aD8OmT/
--sm-client-id 117f000001000113770899300000078350004 --screen 0

How can I get a list of all my windows?

Any other ideas to try?

Scott


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]