Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Dec 2014, 19:10
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Remap dead Left Arrow key onto Menu key? (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Author Message
nancy reagan

Joined: 22 Jan 2009
Posts: 518

PostPosted: Sat 04 Jun 2011, 17:24    Post subject: my "z" key died  

Hi

My z-key is dead

1. What could I type to resolve this and

2. Where - should I type it, terminal ?

Lucid 525

Sorry for being just a wannabee user.
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 04 Jun 2011, 20:37    Post subject:  

hello nancy reagan

type this
Code:
# xmodmap -pk
in a terminal.

look for something like these lines

52 0x007a (z) 0x005a (Z) 0x007a (z) 0x005a (Z)

110 0xff13 (Pause) 0xff6b (Break) 0xff13 (Pause) 0xff6b (Break)
note the numbers at the beginning of the line are the numbers of the keys on your keyboard maybe different from 52 and 110.

then you have to swap the key numbers in
/etc/X11/xkb/keycodes/xfree86

then delete the wheeled icon files in /var/lib/xkb
reboot.
hopefully that will make your "pause/break" key into a z

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Mon 06 Jun 2011, 14:47    Post subject:  

aarf wrote:
puppeee4.4rc2
Code:
  # xmodmap -e "KeySym Pause = BackSpace"
xmodmap:  unknown command on line commandline:1
xmodmap:  1 error encountered, aborting.
 
# xmodmap -e "Keysym Pause = BackSpace"
xmodmap:  unknown command on line commandline:1
xmodmap:  1 error encountered, aborting.

# xmodmap -e "keycode 110 = BackSpace"
#
# xmodmap -e "keysym Pause = BackSpace"
#

Ok, so the capitalization was wrong...

Quote:
testing pause /break immediately afer above still opens a calenda.
however
Code:
# xmodmap -pk

110       0xff08 (BackSpace)   0x0000 (NoSymbol)   0xff08 (BackSpace)   

Are there any repeated names? Maybe BackSpace twice?

Quote:
this code changes the 110 key:
Code:
# xmodmap -e "keysym Pause = BackSpace"
#

but it doesnt backspace and doesnt hold through restart X, 110 reverts to previous.

Maybe you need to "unset" a different key which holds the same symbol -- for me PrtSc (111) doesn't work with "Print" because it is assigned to a different key first:
Code:
 xmodmap -pk | grep Print
     92         0xff61 (Print)  0xff15 (Sys_Req)       
    111         0xff61 (Print)  0xff15 (Sys_Req)       
#

And doing it in a terminal will obviously not hold past a restart... that's why you put it into ~/.Xmodmap.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Mitchellray

Joined: 07 Dec 2009
Posts: 90

PostPosted: Tue 07 Jun 2011, 12:02    Post subject: ?  

Hello,
As directed, in /etc/X11/xkb/keycodes/xfree86 I just mapped the functions I needed onto keyboard keys that were still working properly, but that I rarely if ever would use.

Then, I thought that I would need to remove the original function mappings from those borrowed keys so I # commented out the lines in /etc/X11/xkb/keycodes/xfree86 that were there for those now borrowed keys.

I did not need to modify any other file. I guess maybe the thread is now redirected to a new question that is more in depth than my original simpler one. I'm glad you were able to help me out in terms I could understand.
I did perform this in Puppeee, not Puppy if that is the difference.
Mitchellray
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Wed 08 Jun 2011, 16:41    Post subject:  

puppeee4.4rc2 just briefly have /.Xodomap in place. altered .xinitrc .
key alterations hold through reboot in # xmodmap -pk
BUT
/etc/X11/xkb/keycodes/xfree86 remains unchanged at original. break/pause still just produce a calenda..

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0565s ][ Queries: 13 (0.0037s) ][ GZIP on ]