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 Wed 01 Oct 2014, 16:35
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 Posts_count   Goto page: Previous 1, 2
Author Message
nancy reagan

Joined: 22 Jan 2009
Posts: 510

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_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: 87

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_website 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0571s ][ Queries: 12 (0.0059s) ][ GZIP on ]