Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: non-us keyboard fix in .xinitrc doesn't work, xmodmap works but not "if" clause< Next Oldest | Next Newest >
pirata Offline





Group: Members
Posts: 12
Joined: May 2006
Posted: May 21 2006,20:02 QUOTE

Well, I actually managed to edit the lilo.conf file and run Lilo to make it functional.
(edit: Here's how: Config lilo )

I changed my APPEND line to be:
Quote
APPEND="ramdisk_size=100000 init=/etc/init apm=power-off nomce nodma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX restore=hda3 home=hda3 opt=hda3 host=tor noscsi lang=se  mydsl=hda3"


This doesn't change the keyboard thing at all, though, the reason I wrote here in the first place... :(

--- edit ---

And the output for:
Code Sample
getknoppixparam.lua KEYTABLE

is still "us"...  ???


--------------
Radio Pirata, running Shoutcast server on DSL: http://pirata.tk/
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 21 2006,23:22 QUOTE

The small mod in .xinitrc, as you have already seen, will not be a cure all. But you should read and try xkeycaps
Note that it is in the repository and you do not need to get it from via apt.

As for the other issue, "se" seems not to be defined in knoppix-autoconfig, which is why it is not in KEYTABLE.
Using lang=se does nothing. Then manaully setting it via the keyboard tool does not update /etc/sysconfig/keyboard. Originally only the languages as defined in the original knoppix-autoconfig would be supported. I guess you have found a knoppix undefined one that does work and therefore surfaced this issue.

Simple work-around add the following line to /opt/bootlocal.sh
sed -i 's/us/se' /etc/sysconfig/keyboard
or as you have already done comment out the 'if' statement in your .xinitrc.

But to answer your question,  "se" is not defined in knoppix-autoconfig so the default "us" appears in KEYTABLE.
Back to top
Profile PM WEB 
pirata Offline





Group: Members
Posts: 12
Joined: May 2006
Posted: May 22 2006,08:47 QUOTE

Thanks for the information.

Actually, come to think of it, during first boot after installation, there  are several dialogs asking me for my preferred screen resolution, mouse type, etc., and, of course, preferred keyboard. That's where I chose se-latin1! I remember I found it annoying at the moment, like: "Why do you ask again?"

And then these choices are saved somewhere (that would be the "loadkeys se-latin1" line in /opt/bootlocal.sh for the keyboard, right? And the other ones?), because I never got the questions again... :laugh:

Fine, I'll try those xkeycaps now...
:)


--------------
Radio Pirata, running Shoutcast server on DSL: http://pirata.tk/
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 23 2006,00:51 QUOTE

I have corrected the kbdconf program used during the X setup routine. So the xmodmap should work for any selectable language in the table. This will be in the next release of DSL.

Still for full support, the xkeycaps will be needed.

Thanks for bringing this issue to surface.
Back to top
Profile PM WEB 
pirata Offline





Group: Members
Posts: 12
Joined: May 2006
Posted: May 23 2006,08:33 QUOTE

Great!

Will this take care of the "dead" keys too?

I mean the "dead_acute" etc, that shouldn't produce any output when pressed and released, but rather modify the next keypress, so that the accent key followed by e.g. o, should produce ó rather than ´o.

I was playing with xkeycaps and it's really weird. It made a mess of everything, here anyway :p . I found it more useful to modify keys through the xmodmap command line. So, by adding lines like:
Code Sample
xmodmap -e "keysym o = o O oacute Oacute"

to the .xinitrc, the ó would be on AltGr o, and Ó on AltGr O etc.

That's inconvenient, though, for one (unlike me) used to type away a high rates... So it would be a very good thing, indeed, to make the "dead" keys act as expected.
:)


--------------
Radio Pirata, running Shoutcast server on DSL: http://pirata.tk/
Back to top
Profile PM WEB 
11 replies since May 19 2006,21:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: non-us keyboard fix in .xinitrc doesn't work

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code