LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2021, 03:10 PM   #1
Vargan_Hell
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Rep: Reputation: Disabled
CentOS 7, Laptop, Key repeating doesn't work


Hello!
I am new to Linux and right as I installed CentOS 7 on my laptop I have encountered the issue.
When I press any button and hold it, it does not auto-repeat.
I have tried to google the issue, but had no success.

What I have tried:

1) Turning auto-repeat on (off and on, changing delay and repeat rate) in keybord settings
2) Using "xset r" command in terminal, no result
3) Using "sudo kbdrate -r 4" command in terminal yields "read: Operation not permitted"

"xinput list" yields:

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ASUSTeK Computer Inc. N-KEY Device id=12 [slave pointer (2)]
⎜ ↳ Logitech Gaming Mouse G502 id=13 [slave pointer (2)]
⎜ ↳ Logitech Gaming Mouse G502 id=14 [slave pointer (2)]
⎜ ↳ ELAN1205:00 04F3:30E9 Touchpad id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ ASUSTeK Computer Inc. N-KEY Device id=10 [slave keyboard (3)]
↳ ASUSTeK Computer Inc. N-KEY Device id=11 [slave keyboard (3)]
 
Old 02-24-2021, 02:19 PM   #2
redd9
Member
 
Registered: Nov 2013
Location: Canada
Distribution: RHEL, Ubuntu
Posts: 212
Blog Entries: 1

Rep: Reputation: 82
Hmmm... does
Code:
sudo gsettings set org.gnome.desktop.peripherals.keyboard repeat true
do anything?
 
Old 02-25-2021, 08:41 AM   #3
Vargan_Hell
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Unhappy

Sadly, no...
After entering my sudo password the code ran without showing anything in the terminal. But it didn't fix the problem.
 
Old 02-25-2021, 09:14 AM   #4
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
I assume the keyboard works fine other than the repeated keys option.

Out of interest can you send the output of
Code:
cat /etc/default/keyboard
Are you using a GUI? If so there is normally a "enable key repeat" option in the keyboard settings
 
Old 02-25-2021, 09:59 AM   #5
Vargan_Hell
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
The keyboard works fine indeed.

The code outputs:
Code:
cat: /etc/default/keyboard: No such file or directory
I am using KDE GUI, and I tried enabling "key repeat" option in keyboard settings with no results. Additionally I tried changing repeat rate and repeat delay, but it didn't help ether.
 
Old 02-25-2021, 10:15 AM   #6
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
What about posting the output of

Code:
localectl status
Just curious
 
Old 02-25-2021, 10:21 AM   #7
Vargan_Hell
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
localectl status outputs:
Code:
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us
 
Old 02-25-2021, 10:58 AM   #8
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Seems fine but I did expect to see more options, specifically something like "pc105" or similar but doubt its a train smash.

Code:
   
   System Locale: LANG=en_ZA.UTF-8
                  LANGUAGE=en_ZA:en
       VC Keymap: n/a
      X11 Layout: us
       X11 Model: pc105
Are you able to replicate the problem on a live distro?
 
Old 02-26-2021, 03:37 AM   #9
Vargan_Hell
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
I was able to replicate the problem on a live version.
I downloaded the CentOS-7-live-KDE-x86_64.iso from here: https://buildlogs.centos.org/centos/...86_64/?C=D;O=A

Every method discussed in this thread thus far didn't seem to work on live version.

There were some differences that might be important:

1) "localectl status" on live version gave
Code:
System Locale: LANG=en_GB.UTF-8
    VC Keymap: us
   X11 Layout: us
2) Linux and KDE versions are slightly different between what I have and the live distro.
My Linux: CentOS 7 3.10.0-1160.15.2.el7.x86_64 ; KDE SC Version 4.14.8
Live Linux: CentOS 7 3.10.0-123.el7.x86_64 ; KDE SC Version 4.10.5

Another thing which may or may not be relevant: I updated my packages via "yum update", ergo additional numbers in my Linux version (CentOS 7 3.10.0-1160.15.2.el7.x86_64)
 
Old 02-26-2021, 05:18 AM   #10
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
I am really not sure what else to suggest, if I didn't know any better I would think there is a issue with the hardware support but this does not happen very often in my experience so its just me thinking out loud. Could even be a bug but since you tested on 2 different version I am not quite sure it could be that. Perhaps maybe one of the more senior members might weigh-in.

What is the make and model number of your laptop? Is there a specific reason why you chose to use CentOS 7?

I don't want to put you in a position where I am throwing different distros at the problem to see which one works but out of interest are you able to try on another flavour of Linux? lets say something like Debian or Ubuntu or similar.
 
Old 02-26-2021, 06:49 AM   #11
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by Vargan_Hell View Post
After entering my sudo password
Try the same without sudo. gsettings changes GNOME settings for the currently logged-in user, it's not supposed to be run as root.
 
Old 02-26-2021, 10:41 AM   #12
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,131

Rep: Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302
I've checked at the CentOS forum and no-one else has reported this problem.

The first possibility is that it's KDE — Red Hat is very geared to Gnome. The command
Code:
dnf group list | grep gnome
should show you the name of the package to install gnome to see if that works. Alternatively, you could install Xfce which is a smaller download.

The second is that it's the combination of CentOS 7 and your hardware, in which case you might want to try CentOS 8.

Last edited by DavidMcCann; 02-26-2021 at 10:42 AM.
 
1 members found this post helpful.
  


Reply

Tags
keyboard


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] key ^[[26 repeating over and over after security updates? back40 Debian 4 11-11-2011 09:10 AM
Newly compiled 2.6/ Key repeating? merlinn31 Slackware 3 03-19-2004 04:15 PM
Repeating key actions when keys are held down? carlos123 Linux - Newbie 0 01-29-2003 06:36 AM
Repeating key strokes toxic53 Linux - General 1 12-11-2002 09:06 PM
Weird key repeating problem zovres Linux - Newbie 5 10-14-2002 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration