4 Jun 2005 23:41
Configuration question for iconified window
Mark Carroll <mark <at> ixod.org>
2005-06-04 21:41:19 GMT
2005-06-04 21:41:19 GMT
My .xsession starts up wmbattery which always seems to start up invisibly.
Extracts from my .xession are,
sawfish & wm=$!
xtoolwait wmbattery
wait $wm
I start with only one workspace, and wmbattery has parentheses around it
on the windows menu, so I conjecture that its invisibility problem is that
it's iconified. If I pick it in the windows menu then it appears just as I
want it to, so it was already nearly there somehow, and after I do that
there are no long parentheses around it on the windows menu. In
wmbattery's code are suggestive things like, wmhints.initial_state =
WithdrawnState;
So, I was trying to make sure that sawfish wouldn't let it withdraw. I
have tried variations on putting among the matched-window-profile stuff in
.sawfish/custom things like,
(((WM_NAME . "wmbattery")) ((iconified . #f))))
and in my .sawfishrc I have hacked together things like,
(defun uniconify-this-if-wmbattery (window)
(if (equal (window-name window) "wmbattery")
(uniconify-window window)))
(defun find-and-uniconify-wmbattery ()
(let ((wmbattery-window (get-window-by-name "wmbattery")))
(unless (eq wmbattery-window nil)
(Continue reading)
RSS Feed