keyboard rate&delay overwritten

Bug #12437 reported by nanophase
8
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Low
Daniel Stone

Bug Description

(sorry the previous empty one must have slipped out)

Installed a warty from CD then upgraded to hoary via apt-get instantly. I
configured my /etc/console-tools/config for a fast keyboard rate and small delay
(30, 250). It is actually used (made the script print out the values passed to
kbdrate) but some init script must overwrite or flush this data later, when I
actually log in into console (after switching back from Xorg), the keyboard rate
and delay are slower again (the default setting as I can feel). If I run
/etc/init.d/console-tools the speed is what I did actually configure, so it
works then. It is the most current hoary from apt, and happens on every boot.

Hope this helps and sorry for the empty one!

Revision history for this message
Matt Zimmerman (mdz) wrote :

Can you try suppressing X startup (add "exit 0" to the top of /etc/init.d/gdm or
similar), and see if the rate remains unchanged? I suspect that it might be
changed when X sets the keyboard to raw mode

Revision history for this message
nanophase (nanophase) wrote :

roger that, that caused the problem, it's set when X is not started on startup

Revision history for this message
Daniel Stone (daniels) wrote :

Er, yeah. Have you ever considered using the GNOME keyboard configuration to
set rate and delay along with the rest of the keyboard settings? This bug is
rather in the same class of 'I set a video mode with my framebuffer, and now X
is using a different one'.

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #3)
> Er, yeah. Have you ever considered using the GNOME keyboard configuration to
> set rate and delay along with the rest of the keyboard settings? This bug is
> rather in the same class of 'I set a video mode with my framebuffer, and now X
> is using a different one'.

He's saying that his console settings are lost when X starts. i.e., set console
keyboard repeat settings, start X, come back to a text console, and the settings
are changed. Doesn't seem like it should happen.

Revision history for this message
Daniel Stone (daniels) wrote :

This, to me, is expected behaviour -- you change from console-common managing
your raw keyboard to X managing your keyboard. We try to keep it as pleasant as
possible by generally matching up keyboard layouts, but you can't do everything.
 And this is something that we really can't do properly per default.

Revision history for this message
Matt Zimmerman (mdz) wrote :

I assume that the X server has some means by which it restores the console
keyboard settings, at least to go from raw mode back to cooked. Is it not
feasible to restore the repeat settings at the same time?

Revision history for this message
Daniel Stone (daniels) wrote :

Sorry, I partially misread the message. I'll take a look into this one.

Revision history for this message
nanophase (nanophase) wrote :

Thanks Matt, Daniel, I will be around if you need more info/testing.

cheers

Revision history for this message
Daniel Stone (daniels) wrote :

This bug has been marked as a duplicate of bug 12647.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.