LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 10-25-2016, 09:20 PM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Rep: Reputation: 23
Centos 7-64: Keyboard problem


Hello,

After installing Centos 7-64 I'm facing strange problem.
When I pressed <shift>-2 I'm getting: " and not @

This happens also with many other <shift> combinations.

When I tried it via SSH (to the same PC) it worked OK.

Can you help ?

Thank you,
Zvika
 
Old 10-28-2016, 11:16 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Open a terminal, type in

xev

xev is going to record your keystroke and print out the key values in your keyboard page that correspond to your keystroke
example:
KeyPress event, serial 36, synthetic NO, window 0x2a00001,
root 0x2d7, subw 0x0, time 18192998, (183,236), root270,389),
state 0x11, keycode 11 (keysym 0x40, at), same_screen YES,
XLookupString gives 1 bytes: (40) "@"
XmbLookupString gives 1 bytes: (40) "@"
XFilterEvent returns: False

This will tell us if your keyboards key page is wrong and then we can assume that's the problem or perhaps it's a setting in this infernal gnome malware they slathered all over the thing.... eh, I mean the desktop environment.

Last edited by dijetlo; 10-28-2016 at 11:17 AM.
 
Old 10-29-2016, 12:37 AM   #3
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Did you select "English UK keyboard" during the install? (happened to me in the past!) IF so,
there seems to be a 'ton' of different ways to change to '...US...', from web-searching:
us UK English intitle:"Keyboard layout" centos install
Also search: xorg 00-keyboard.conf | systemd.localed | vconsole.conf

Try: [man] localectl (post the output of locatectl [with no switches/args])

Do you use a 'GUI'? Which? (my CentOS7 doesn't have xev installed) See: man -k keyboard

I welcome other LQ'ers input on this (I'm Newbie on this, &I don't use X...!)

Last edited by Jjanel; 10-29-2016 at 01:07 AM.
 
Old 10-29-2016, 10:37 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I presume this is in the GUI, if SSH is OK? Just go to the keyboard configuration tool (system preferences) and switch from UK keyboard to USA.
 
Old 10-29-2016, 09:38 PM   #5
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Original Poster
Rep: Reputation: 23
Hello,

After reinstalling from scratch, it works fine.

Thank you for your help,
Z.V
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard does not work CentOS 6.7 Rosewill striker RK-6000 keyboard jeduffy CentOS 10 11-07-2015 04:54 PM
[SOLVED] How to change keyboard layout from uk to us in CentOS 6 zahid Linux - Newbie 2 08-13-2012 03:29 AM
CentOS 5.4 PS/2 Keyboard Problem peridian Red Hat 6 01-27-2010 10:18 AM
Keyboard Setting on CentOS viky Linux - Hardware 2 09-18-2007 02:50 AM
CentOS-keyboard malfunction phantom_cyph Linux - Hardware 0 03-25-2007 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 08:59 PM.

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