Keyboard characters (mapping) reversed Pup 2.10 microsoft

Booting, installing, newbie
Post Reply
Message
Author
alasdair
Posts: 22
Joined: Sun 01 Oct 2006, 04:21
Location: Sydney Australia

Keyboard characters (mapping) reversed Pup 2.10 microsoft

#1 Post by alasdair »

Keyboard setting

US english QUERTY

Hi,

I have 2 characters reversed on the key board when using puppy @and " . Pressing " on the keyboard produces @ and vice versa.

I have run Puppy 2.10 seamonkey on other computers with no similar keyboard problems, so I assume this is a hard ware/driver issue. Is there a line in a file I can change or similar to correct this?

thanks,
Alasdair

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

what is in the file keymap in /etc ?

alasdair
Posts: 22
Joined: Sun 01 Oct 2006, 04:21
Location: Sydney Australia

#3 Post by alasdair »

Hi,

us.map

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#4 Post by GuestToo »

that is what my keymap file is set to ... my keyboard seems to work properly ... i think i would have noticed if either of those keys did not work properly

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#5 Post by GuestToo »

i suspect you have the wrong keymap for your keyboard, but this simple workaround should work anyway:

copy these lines one at a time (select the text with the left mouse button):

xmodmap -e 'keycode 11 = 2 at'
xmodmap -e 'keycode 48 = apostrophe quotedbl'


and paste them into a command line console (click the middle mouse button)

or just type them in

your keys should work properly ... if they do, you can put those lines in .xinitrc, in /root

or you can make a file called .Xmodmap in /root, and put these lines in it:

keycode 11 = 2 at
keycode 48 = apostrophe quotedbl
Last edited by GuestToo on Mon 09 Oct 2006, 13:38, edited 1 time in total.

alasdair
Posts: 22
Joined: Sun 01 Oct 2006, 04:21
Location: Sydney Australia

#6 Post by alasdair »

Hi,
I will try this later on today and will let you know of success or other wise.

Alasdair

marksouth2000
Posts: 622
Joined: Wed 05 Apr 2006, 20:43

#7 Post by marksouth2000 »

The US keyboard is QWERTY. Sounds like you have a UK keyboard with a US keymap or vice versa.

alasdair
Posts: 22
Joined: Sun 01 Oct 2006, 04:21
Location: Sydney Australia

#8 Post by alasdair »

Hi,
Guest Too I tried your suggestions and they worked.
xmodmap -e 'keycode 11 = 2 at'
xmodmap -e 'keycode 48 = apostrophe quotedbl'
What does the operator "-e" do? Does it set up a sort of virtual Xmodmap?

MarkSouth2000,
The US keyboard is QWERTY. Sounds like you have a UK keyboard with a US keymap or vice versa.
This is not the case I fiddled around endlessly with the possible combinations and it didn't make any difference, hence my request here. I think perhaps it maybe something to do with my individual keyboard.It is a "Microsoft Internet Keyboard" Model no RT9443 V56TWL purchased in Australia . I doubt that it is any different to hundreds used by members of this forum, just an odd bug in this one I guess.

Alasdair

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#9 Post by GuestToo »

xmodmap man page:

-e expression
This option specifies an expression to be exe cuted. Any number of expressions may be specified from the command line.

basically, you can use xmodmap to execute "expressions" that define the behaviour of the various keys and mouse buttons

alasdair
Posts: 22
Joined: Sun 01 Oct 2006, 04:21
Location: Sydney Australia

#10 Post by alasdair »

Many thanks Guest Too

Alasdair

theinfamousj
Posts: 88
Joined: Sun 03 Sep 2006, 12:54

#11 Post by theinfamousj »

Edit Problem solved! I'm listing the problem and solution here in case it helps anyone else.

I had what appeared to be the same troubles as the above poster with regard to different keys being all switched up. I was running the US QWERTY keyboard (or so I thought) with an unchanged configuration but all of a sudden, keyboard confusion had befallen me.

The contents of my /etc/keyboard file correctly identified my map as us.

I went through the puppy keyboard wizard several times in all of the possible permutations in order to correct the problem, but to no avail.

After a fruitful search for where puppy hides the actual keyboard maps, I stumbled upon the idea to check my xorg.conf file.

/etc/X11/xorg.conf revealed on line 86 (in geany):
Option "XkbLayout" "br" #xkeymap0
My problem is highlighted in green. "br?" thought I, "How odd."

So I changed it manually to "us". Saved and rebooted the machine and presto. Magic!

Now I just have to interrogate all of those who also use this machine to find out how it could have been changed to Brazilian to begin with.

Post Reply