LinuxQuestions.org
Register a domain and help support LQ
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 04-18-2004, 09:23 AM   #1
asqueella
LQ Newbie
 
Registered: Apr 2004
Location: Moscow, Russia
Distribution: RH9
Posts: 3

Rep: Reputation: 0
Shift+keypad keys...


Hello everybody. Sorry for asking a question which has surely been already discussed, but I couldn't find it (I can't think out good search terms for it).

What I need to do is: make Shift+keypad keys (eg. keypad7=Home key) work like they do under Windows. That is Shift+numpad7 should act like Shift+Home, and not just like numpad7 with NumLock on (ie. typing '7'). This would improve my effeciency greatly.

IIRC, when I was completely new to Linux (several month ago), I found with google some mailing list message discussing this issue. They said it would involve recompiling XFree86 (again, if I recall it correctly), but I couldn't find any specific instructions, or anything on what exactly I should do.

So any links or instructions are welcome. Thank you in advance.
(sorry for my English, hope you'll understand what I mean )
 
Old 04-18-2004, 06:44 PM   #2
CloudBuilder
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386

Rep: Reputation: 30
This is what your looking for:
http://sct.emu.edu.tr/book/Red_Hat_L...shed/rhl22.htm

You don't need to recompile, you can edit.

CloudBuilder
 
Old 04-19-2004, 08:52 AM   #3
asqueella
LQ Newbie
 
Registered: Apr 2004
Location: Moscow, Russia
Distribution: RH9
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much CloudBuilder for the solution, and for pointing out to that book. The link you posted didn't work for me though, but I guess it's the same as http://docs.rinet.ru/RedHatu/rhl22.htm#E66E22?

Thanks again
 
Old 04-20-2004, 12:42 AM   #4
asqueella
LQ Newbie
 
Registered: Apr 2004
Location: Moscow, Russia
Distribution: RH9
Posts: 3

Original Poster
Rep: Reputation: 0
However there's no explicit instructions on that page how to do this, so I searched more and found this:
http://bugs.xfree86.org/show_bug.cgi?id=558
where they say to apply this patch:
Code:
--- etc/X11/xkb/types/basic.org	2003-06-15 03:52:16.000000000 +1000
+++ etc/X11/xkb/types/basic	2003-08-04 22:14:34.000000000 +1000
@@ -28,11 +28,9 @@
     };
 
     type "KEYPAD" {
-	modifiers = Shift+NumLock;
+	modifiers = NumLock;
 	map[None] = Level1;
-	map[Shift] = Level2;
 	map[NumLock] = Level2;
-	map[Shift+NumLock] = Level1;
 	level_name[Level1] = "Base";
 	level_name[Level2] = "Number";
     };
It worked!
 
  


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
Numeric keypad arrow keys arielgr Linux - Newbie 2 08-23-2005 11:04 AM
keypad operation carthyc Linux - General 1 06-29-2005 07:49 AM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 04:31 AM
Keypad problems vexer Linux - Hardware 1 06-17-2003 10:35 PM
keys on keyboard/keypad is not recognize by the Xserver LinuxQuest01 Linux - General 0 07-15-2002 08:47 AM


All times are GMT -5. The time now is 02:21 AM.

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