LinuxQuestions.org
Visit Jeremy's Blog.
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 07-20-2003, 04:45 AM   #1
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Rep: Reputation: 15
Question Keyboard question


Hello there. I'm having trouble with my keyboard whilst CLI. I've just setup a very minimal install of Slackware 9 (only base linux and networking packages installed) and some of my keyboard characters aren't where they should be. For example my # shows as \, my \ as < and so on. I did set the keyboard as a UK one during setup so I'm not sure what the problem is. I'm sure this has a simple answer but I'm unable to find one after searching the internet. I'm grateful for any help.
 
Old 07-20-2003, 05:21 AM   #2
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Rep: Reputation: 32
You must edit the file /etc/X11/xf86config...manualy(not difficult)...
You 'll find a section like:
Section "InputDevice"

Identifier "Keyboard1"
..............

Insert yr correct values into XkbModel and XkbLayou....simil to:

Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"

This is my config i.e., yours depend of yr keyboard lenguage and number of keys
Bya
 
Old 07-20-2003, 05:12 PM   #3
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Original Poster
Rep: Reputation: 15
Ok I have edited my XF86Config to the correct settings ie:

# Option "XkbModel" "pc102"

# Option "XkbLayout" "uk"

This has not resolved the issue. Does this determine the keyboard layout whilst using the CLI because I do not X installed and will not be using it, I have only the base linux and networking packages installed.
 
Old 07-20-2003, 06:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Ummm ... if you get uk but want us in
CLI, I'd suggest checking for existence
of /etc/rc.d/rc.keymap, and if it exists,
rm it or chmod it to not executable :)

Cheers,
Tink
 
Old 07-20-2003, 06:53 PM   #5
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Original Poster
Rep: Reputation: 15
Well no, of course I want it in uk. I'm a n00b not a doorwedge . No offence intended, thanks very much for the input everyone. I had a look at rc.keymap and this is pointing to /usr/bin/loadkeys uk.map however no file/dir of the latter exists in /usr/bin so I'm stumped again. The rc.keymap also states that there are more keymaps in /usr/share/kbd but again this directory is not present.

I also removed the rc.keymap but I'm still getting a US which I guess is understandable.


Last edited by Zeebro; 07-20-2003 at 07:01 PM.
 
Old 07-20-2003, 08:54 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Zeebro
Well no, of course I want it in uk. I'm a n00b not a doorwedge ;). No offence intended, thanks very much for the input everyone. I had a look at rc.keymap and this is pointing to /usr/bin/loadkeys uk.map however no file/dir of the latter exists in /usr/bin so I'm stumped again. The rc.keymap also states that there are more keymaps in /usr/share/kbd but again this directory is not present.

I also removed the rc.keymap but I'm still getting a US which I guess is understandable. :(
On my slack 8.1 machine(s) it loadkeys
lives in /bin, not /usr/bin ...

just
grep loadkeys /var/log/packages/*
to see where it went ... maybe you're
script (rc.keymap) is pointing to the wrong
file.... if all else fails re-install the keyboard-package:
installpkg <your_cd_rom>/slackware/a/kdb*.tgz

Cheers,
Tink
 
Old 07-20-2003, 09:20 PM   #7
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Just to add; when you choose a keyboard map at install, that's the keyboard map for the install process; you must manually "fix" it later
 
  


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
A Keyboard Question.. huey Mandriva 8 03-19-2006 12:25 PM
keyboard problems with xfce4 - general keyboard question Villain Linux - General 2 06-20-2004 05:35 PM
Keyboard Question cuco76 Linux - Hardware 0 10-08-2003 11:35 PM
keyboard question jamaso Slackware 4 07-06-2002 11:00 AM
Keyboard question jamaso Slackware 3 04-25-2002 07:47 PM


All times are GMT -5. The time now is 02:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration