Author Topic: Fix For "no Dot And Question Mark Under Console"  (Read 1737 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Fix For "no Dot And Question Mark Under Console"
« on: November 08, 2006, 10:36:49 am »
Hello,

since so many people complain about the console (outside X) not having the dot and question mark key active, and also for me this was a pain, I have investigated a bit and developed a solution.

The file responsible for the key not being active is /etc/sysconfig/keyboard/kernel.map which maps the dot key to Shift (try it: The key probably acts as a shift key).

Maybe it is also mapped to something else, depending on what you enter in the "Input Setup" under "System Tools". But not obviously dependent, but somehow weird.

If you fix that kernel.map file and reboot, the key is working correctly again.

Now, everytime you use the "Input Setup" the file is overwritten by junk values.
So I simply totally removed the responsible section from the inputsetup.py application. That means:


1. Take the appended ZIP file, unzip it; it contains two files:

2. Put the kernel.map into /etc/sysconfig/keyboard.

3. cp /usr/bin/inputsetup.py /usr/bin/inputsetup.py.ORG

4. Put the inputsetup.py file from the ZIP into /usr/bin

5. Reboot.


Now the keys are OK again and the kernel.map won't automatically be modified anymore.

I am aware that this is kind of a dirty hack, but this way you can even put more modifications into kernel.map which are now persistent. They would have been overwritten as well by the inputsetup script.

If anyone comes up with a better solution (modifying inputsetup.py in a way which preserves user-defined modifications and writes its own values correctly into kernel.map) it would be even better of course.

Have fun!
daniel
« Last Edit: November 08, 2006, 10:42:28 am by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Fix For "no Dot And Question Mark Under Console"
« Reply #1 on: November 08, 2006, 11:55:43 am »
Nice!  This issue drove me batty when I briefly ran Beta3 a while back.  Thanks.
« Last Edit: November 08, 2006, 11:56:14 am by HoloVector »
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.