2012-08-16, 15:18
Hi guys,
I am new to linux - so I could use some help here, i tried searching forum but did not fin enything, and solutions I found on google for ubunt
don't seam to work.
I am using flirc for my remote, flirc is represented to system as HID keyboard, so I guess I need to change kbdrate, problem is that when i change it
manualy it works, but i need that change to be permanent.
I tried editing: /etc/rc.local
and tried with resume script: /etc/pm/sleep.d/00kbdrate
and made it executable: sudo chmod +x /etc/pm/sleep.d/00kbdrate
But it is still tu fast and when I enter kbdrate i get:
Typematic Rate set to 10.9 cps (delay = 250 ms)
Thank you
I am new to linux - so I could use some help here, i tried searching forum but did not fin enything, and solutions I found on google for ubunt
don't seam to work.
I am using flirc for my remote, flirc is represented to system as HID keyboard, so I guess I need to change kbdrate, problem is that when i change it
manualy it works, but i need that change to be permanent.
I tried editing: /etc/rc.local
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
kbdrate -d 500 -r 5
exit 0
and tried with resume script: /etc/pm/sleep.d/00kbdrate
Code:
#!/bin/bash
case "$1" in
suspend|hibernate)
;;
resume|thaw)
kbdrate -d 500 -r 5
;;
esac
and made it executable: sudo chmod +x /etc/pm/sleep.d/00kbdrate
But it is still tu fast and when I enter kbdrate i get:
Typematic Rate set to 10.9 cps (delay = 250 ms)
Thank you