LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-07-2010, 01:52 PM   #1
Saint-Ours
LQ Newbie
 
Registered: Jul 2009
Location: Canada
Distribution: openSUSE 11.1
Posts: 2

Rep: Reputation: 0
Question Switching Keyboard Layout in Console Only


Hello,

First, I have searched a lot on this issue, but trying what I found only returned error messages... I will try to be detailed.

Issue:
I am logging into an Ubuntu 8.04 machine using ssh, so I use a console. The keyboard layout is US-standard, obvioulsy. However, I would like to use french-canadian keyboard layout. And I don't know at all how to switch it in console. Give me Gnome or KDE, and we're done. But this is console only.

Clues:
I guess it has to do with the loadkeys command. Ok. I retrieved from the web a file cf.map.gz. Maybe ubuntu requires a different kind of file? Using "locate cf.map" I get nothing, except the file I have downloaded. Any package I should demand to be installed? (if yes, what do I do once they are in?)

I tried using both the .gz and uncompressed files.

Code:
loadkeys cf.map.gz
Couldnt get a file descriptor referring to the console
Code:
loadkeys -u cf.map.gz
Couldnt get a file descriptor referring to the console
Loading cf.map.gz
loadkeys: cf.map.gz:8: cannot open include file qwerty-layout
What's going on?

Another path:
URL: https://help.ubuntu.com/community/LocaleConf

They tell us about some program, console-data, using root privileges. Intriguing, but I am only a user, and do not have any root privileges. The system admin. has never used another keyboard layout, and knows even less than I on this matter.

Please do not tell me "man loadkeys", because it says nothing (to me).

I tried similar stuff on my openSUSE at home, on a newly created experimental account, and I am equally unable to change within the console the keyboard layout (similar error messages).

Thank you for your help.
 
Old 02-07-2010, 03:20 PM   #2
Saint-Ours
LQ Newbie
 
Registered: Jul 2009
Location: Canada
Distribution: openSUSE 11.1
Posts: 2

Original Poster
Rep: Reputation: 0
Lightbulb

Hummmm... Nevermind.

I just found out something to make things simpler:

The keyboard layout being used is not function of the system you are ssh-ed in, but of the actual hardware configuration of the machine/account you are physically working on. So my problem initially was created by using resetted settings from a previously faulty Gnome, which fooled me quite a bit.

Nonetheless, this loadkeys command remains not very functional for me (but it did work on my computer, using root). Is this a system-wide command? Anyway it is likely an old and deprecated way to change layout.
 
Old 02-07-2011, 08:57 AM   #3
Bibelo
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by Saint-Ours View Post
Hummmm... Nevermind.

I just found out something to make things simpler:

The keyboard layout being used is not function of the system you are ssh-ed in, but of the actual hardware configuration of the machine/account you are physically working on. So my problem initially was created by using resetted settings from a previously faulty Gnome, which fooled me quite a bit.

Nonetheless, this loadkeys command remains not very functional for me (but it did work on my computer, using root). Is this a system-wide command? Anyway it is likely an old and deprecated way to change layout.
Hello,

did you finally find a way to change keyboard in a SSH session ?

Thank you.
 
  


Reply


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
Switching keyboard layout - Mandriva2006 - K.D.E. Windows Layout! itz2000 Mandriva 3 08-13-2006 06:43 PM
Keyboard layout switching problems OpossumPetya Suse/Novell 1 01-01-2006 05:33 PM
Keyboard layout switching in KDE kornerr Linux - General 2 02-04-2005 09:16 AM
keyboard layout is switching goestin Linux - General 0 11-23-2004 09:38 AM
Switching to a Dvorak keyboard layout. ImAfrEaK Linux - Newbie 1 03-29-2004 09:58 PM


All times are GMT -5. The time now is 12:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration