Mailing List Archive

slow keyboard rate
Hi all,

My gentoo box always have a boring rate for the keyboard (very slow ...)
in both X and text mode. I usually type kbdrate -r 30 -d 250 as root.
After I tried to include this command in /etc/conf.d/local.start, but it
does work. Does anyone know how to solve it?

best regards,

Flavio.

--
gentoo-user@gentoo.org mailing list
Re: slow keyboard rate [ In reply to ]
Hi Flávio:

"Flávio L. C. de Moura" wrote:

> Hi all,
>
> My gentoo box always have a boring rate for the keyboard (very slow ...)
> in both X and text mode. I usually type kbdrate -r 30 -d 250 as root.
> After I tried to include this command in /etc/conf.d/local.start, but it
> does work. Does anyone know how to solve it?

I am not sure how to set kbdrate for terminals, I also used kbdrate
before, and I do not remember if it worked for me in startup scripts
or not.

What about X, in KDE I set it via keyboard preferences, in IceWM I am
doing this in ~/.icewm/startup:

/usr/X11R6/bin/xset r rate 250 50

in Xemacs I had the following:

; set kb rate
(defun my-set-keyrate (lat rate)
(shell-command (format "xset r rate %d %d" lat rate)))

(define-key global-map "\C-ckd"
(lambda ()
(interactive)
(my-set-keyrate 250 50)
(message "Default keyrate intalled."))) ;default keyrate
(define-key global-map "\C-ckf"
(lambda ()
(interactive)
(my-set-keyrate 250 100)
(message "Fast keyrate intalled")))
(define-key global-map "\C-cks"
(lambda ()
(interactive)
(my-set-keyrate 250 25)
(message "Slow keyrate installed"))) ;slow

Alex


--
gentoo-user@gentoo.org mailing list