LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-18-2018, 09:29 PM   #1
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Rep: Reputation: Disabled
Keyboard keys ares scrambled when using terminal


When I press the " (double apostrophe) key I get @ sign and
when I press @ key I get " (double apostrophe)
This is happening in terminal Zorin
Is this normal?

Last edited by linux-man; 05-18-2018 at 09:34 PM.
 
Old 05-19-2018, 02:07 PM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Looks like your keyboard is not set for the correct country code. (Your details don't say whether you're from the US, UK, etc, so I've no idea what sort of keyboard layout you should have configured.

You can change it within the keyboard control panel.

Play Bonny!

 
1 members found this post helpful.
Old 05-20-2018, 11:12 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
What you've got is either a US keyboard driver with a UK keyboard, or the other way around.

When you say "terminal", do you mean the terminal emulator run in the GUI, or a CLI interface with no GUI? If this is the emulator, that will use the same driver as all the other software and the choice is set with the GUI configuration. If you are not using a GUI, then you can switch with the command "loadkeys uk" or "loadkeys us" as required. You may notice that the GUI driver is called "gb" and the CLI one "uk" — who knows why!
 
Old 05-20-2018, 12:45 PM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448
Everything defaults to the US arrangement! If you want the English one, you have to ask for it. But normally the installer will handle that for you automatically.
 
Old 05-20-2018, 04:43 PM   #5
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
When you say "terminal", do you mean the terminal emulator run in the GUI, or a CLI interface with no GUI?
I mean terminal within the GUI, I typed "terminal" within Zorin vm search box.

Quote:
Originally Posted by DavidMcCann View Post
If this is the emulator, that will use the same driver as all the other software and the choice is set with the GUI configuration.
Am I able to adjust keyboard within GUI or GUI terminal?

Last edited by linux-man; 05-20-2018 at 04:45 PM.
 
Old 05-20-2018, 06:57 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Yes, you can run the same commands in a virtual terminal as an actual terminal. Generally everything is the same. Keyboard layouts are a notable exception.
 
Old 05-21-2018, 12:50 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448
The gui terminal keyboard is set in /etc/X11/xorg.conf.d. If you want a UK keyboard, there should be a file there specifying it. For example I have one called 10-keyboard.conf, which contains the text
Code:
Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "gb"
EndSection
If you don't specify the layout, you get US.
 
Old 05-21-2018, 10:52 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You don't need to manually alter any files. I believe you're using the Gnome desktop, so look in the menu for "System settings" and you should find a tool under a heading like "language" or "keyboard".
 
Old 05-21-2018, 02:06 PM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Turning on number locks does strange things to key board key layouts also I have found on laptops.

Sometimes the Fn key gets hit accidentally < like a cat walking across the keyboard >

link

For Language settings in Zorin

Link
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Toggle keyboard keys in Linux using terminal commands LXer Syndicated Linux News 0 03-30-2014 11:51 AM
Keyboard keys messed up on Logitech Illuminated Keyboard MikeyCarter Linux - Hardware 2 03-16-2010 08:25 AM
Wrong keys on keyboard when in terminal mode boerkees Linux - Newbie 2 05-15-2009 03:51 PM
USB keyboard function keys/numeric keys on boot raypen Linux - Hardware 4 04-17-2008 03:07 PM
Assigning keyboard shortcuts to keyboard keys the who Linux - Hardware 3 02-20-2004 09:36 PM

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

All times are GMT -5. The time now is 09:44 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