Re: knoppix 6.7 has many window focus problems
> Hello Andrew,
> On Thu, Sep 15, 2011 at 02:35:00AM -0400, Andrew wrote:
>> Dear Klaus,
>> I have been observing these problems, including the lxterminal-logout
>> window sometimes not getting focus, with metacity because I use the no3d
> You mean "NOT" with metacity, right? metacity does not have the "prevent
> focus stealing" feature that compiz uses.
No, pid 3752 calls itself metacity:
3516 ? 00:00:00 knoppix-startx
3522 ? 00:00:00 su
3600 ? 00:00:00 startx
3619 ? 00:00:00 xinit
3620 tty5 00:11:38 Xorg
3628 ? 00:00:00 ck-launch-sessi
3734 ? 00:00:00 ssh-agent
3742 ? 00:00:00 lxsession
3752 ? 00:00:06 metacity
3755 ? 00:00:01 xscreensaver
3756 ? 00:00:12 lxpanel
3757 ? 00:00:00 pcmanfm
3764 ? 00:00:00 polkit-gnome-au
>> As for the root terminal window with random dimensions, that is
>> lxterminal. The same thing happens when running running a second (or
>> third, or fourth, ...) window using ctrl+shift+N or typing lxterminal at
>> the prompt. It happens for both root and for knoppix, with one
>> so far, every window I have opened with the quick launch tool bar shell
>> icon has been 79x23.
> I just noticed that the gksu desktop file (which is called "Root
> Terminal" in the menu) startes with different options (transparent
> background etc. in lxterminal) than our knoppix-special menu entry under
> "Preferences" called "Root Shell". While it would probably be better to
> only have ONE "Root" menu entry, I neither want to change the original
> gksu setup, nor the knoppix-specific entry under "Preferences". Better
> two working tools than (in the worst case) none.
Oh wow! That's great! I recognize the command line from the Leonardo
penguin Knoppix menu in the old quick launch tool bar! I would say
"different options" is a bit of an understatement: It runs rxvt, not
lxterminal. (By the way, rxvt consistently opens with 80x24.)
> The different dimensions when opening the window may be related to the
> different settings in the specific tool.
I don't understand. Personally, I suspect the randomly varying dimensions
problem is probably in lxterminal. I note that a few knoppix versions
ago, lxterminal used to open consistently at 80x24.
> I only feel responsible for the
> "Root Shell" in "Preferences" because this is my own package, while
> "gksu" is original Debian.
For this particular issue, I am only providing information, and only
because somebody else already brought it up. I find the random focus
problem (and the possibly related random lxterminal dimensions) to be only
a minor nuisance. What's really troubling me with 6.7.0 (I upgraded from
6.4.4) is that the response to the mouse is somewhat glitchy, i.e., the
mouse pointer will often hesitate before moving. The severity is such
that it interferes with selecting text and makes resizing windows
challenging, and to the degree that playing a game is almost impossible.
I tried renicing X, and found that at -15 the problem diminishes to the
point of just feeling a bit "off", but it is still not as smooth as I
would expect on a computer manufactured in the last 15 years. I also
tried other mice, and even bought a brand new high-end mouse, but that had
no effect. This is not a problem I experienced on any machine with any
prior Knoppix version. If I cannot fix this, I am seriously considering
reverting to 6.4.4. :(
>> Now, if I run lxterminal from either the command prompt, or from a
>> using "lxterminal --geometry=80x24", it opens mostly 79 column x 23 line
>> terminals, with a few 81x23. (And, very rarely, something else.) In
>> hopes of isolating the cause, I tried this with rxvt, and always got
>> (and, unlike lxterminal, rxvt also allows position parameters, e.g.,
>> 80x24-0+0 for the top-right corner).
> The compiz session manager may try to remember the geometry from the
> last time when the window was opened, with all gtk applications. It may
> depend on if the window gets the focus or not, which is again related to
> the "focus stealing prevention", and may be the cause why I con't
> observe this behaviour when testing inside kvm on my slower machine.
>> By the way, I notice that 6.7.0 knoppix-halt does not unload any
>> That eliminates the wol problem! Thanks!
> That's the reason why I skipped module unloading in
> /etc/init.d/knoppix-halt. Unloading modules seems to do more than
> desired with some modules, while most driver nowadays seem to handle
> shutdown or suspend correctly, so it may be the better choice to never
> unload them before shutdown.