keyboard change does *not* work


Forum: User Feedback
Topic: keyboard change does *not* work
started by: vees

Posted by vees on Feb. 28 2006,02:24
Hi everbody,

DSL is absolutely fantastic.  No doubt.  I love it, and I always have a copy in my wallet.  But there is one feature which I have never see work: the keyboard change utility in the control panel.

I have tried the Swiss keyboad and the Russian one, but nowhere does it change, the US qwerty keyboard remains the only one in the console and in, for example, Ted.

Did anyone ever have success with this?

Cheers,

VS

Posted by pr0f3550r on Feb. 28 2006,13:49
You have to give both
Code Sample
dsl keyboard=XXX  xkeyboard=XXX

or
Code Sample
dsl lang=XXX
at boot time

Posted by vees on Feb. 28 2006,20:05
Hi,

Well, at boot time does not serve my needs, I need changing keyboards often.

I will try the
Code Sample
dsl keyboard=XXX  xkeyboard=XXX
cheatcodes, but why not have this keyboard change executed from the control panel keyboard change option; in other words, what's the point of the control panel's keyboard change option - what does it actually do?!


Cheers,

VS

Posted by roberts on Feb. 28 2006,20:23
Quote
but why not include such a script or, have this script executed from the control center keyboard change option; in other words, what's the point of the control center's keyboard change option - what does it actually do?!


It does a loadkeys on a keymap file.

Lets follow the code...

The control panel Keyboard button calls /usr/sbin/kbdconfig
Which simply selects the keymaps for user selection.
Then based on this selection call loadkeys.

Need more info do a man on loadkeys.

Posted by vees on Feb. 28 2006,22:46
ok. but why does this do nothing which the user can see?!
Posted by pr0f3550r on Mar. 01 2006,13:52
It's the goal of a graphical program the one of shielding the user from what really happens.
If you want to see what happens you have to use the command line.
But the problem is not that the user cannot see what happens, but that in this case it doesn't work as expected.

Posted by roberts on Mar. 01 2006,16:20
This whole thread is so generic so as to be not useful.
Its like going to the doctor and says it hurts and nothing more.

loadkeys and the keymaps are original Knoppix versions.
Nothing modified by DSL.

Posted by vees on Mar. 01 2006,21:37
Quote
This whole thread is so generic so as to be not useful.  Its like going to the doctor and says it hurts and nothing more.


I find your comment both obnoxious and unfair (not to mention *useless*).

The point is that the control panel has a button which, when pressed, yields no result that a user can see.  Walking along the code or referencing this code to the original Knoppix does *nothing* to help the user which wants to change keyboard without re-booting.

The fact that such a comment can come from a DSL "super administrator" is even more distressing and reminds me of the bad old times with GNU/Linux fora were known for their RTFM tone.

Please do not take offence and my remarks.  I supported DSL several times by purchasing the CDs from you guys, I love DSL, and I will support it in the future.  But it is precisely because I care for it that I find your attitude so disheartening: its like going to the doctor and finding out that he finds your disease "generic".

If you fancy yourself a doctor, then help the patient instead of whining about his boring problem.

Posted by roberts on Mar. 01 2006,23:07
I have worked with users regarding Thai keymaps, French keymaps and tried to accomodate German keymaps. I am most accomodating when a specific issue can be specified and reproduced. And many time the community will help in verifiying and validating and sometimes contributing solutions
But to post it doesn't work, with no specifics, leaves me with nothing to try to help you.

Posted by vees on Mar. 02 2006,13:15
The problem:

Quote
I have tried the Swiss keyboad and the Russian one, but nowhere does it change, the US qwerty keyboard remains the only one in the console and in, for example, Ted.


pr0f3550r suggested that I try using booting cheatcodes (either
Code Sample
dsl keyboard=XXX  xkeyboard=XXX
or
Code Sample
dsl lang=XXX
 to which I answered
Quote
at boot time does not serve my needs, I need changing keyboards often (...) why not have this keyboard change executed from the control panel keyboard change option; in other words, what's the point of the control panel's keyboard change option


You then suggested that we follow the code to see that what the control's keyboard change does.  You said that what it did was
Quote
The control panel Keyboard button calls /usr/sbin/kbdconfig. Which simply selects the keymaps for user selection.
Then based on this selection call loadkeys.
 I then stressed that I still did not see
Quote
why does this do nothing which the user can see?!


What I meant is the following: when I press the change keyboard to try change my keyboard to a Swiss French or Russian keyboard I see no effect from this keyboard selection either in the terminal or in applications such as Ted.

So to sum up:  the keyboard selection botton on the control panel seems to be designed to allow a keyboard change (like kxkb does in KDE).  However, when I try using it I see no *effect* on my applications which still use the qwerty US keyboard.

It is quite possible that I am doing something wrong, that I am missing something.  I can imagine that my lack of insight on the proper and correct purpose and usage of the keyboard change button might seem boring to far more expert DSL users.  This realization is, however, not sufficient to solve my problem which is: HOW DO I GET A DIFFERENT KEYBOARD FOR TED?!

If that is not clear I am out of ideas to make this clear.

Now, as to your post: as a super moderator (with 1608 posts) I imagine that you should be used to obtuse, confused, intellectually challenged, "manual not reading" or otherwise DSL illiterate users and posters. No matter how exquisitely expert you are, I dare suggest that expression your frustration with far less expert DSL newbies in answer to their admittedly petty and boring concerns is rude.  Even worse, such expressions of disdain and frustration does *nothing* to help the confused newbie and gives the GNU/Linux community a bad reputation.

Posted by cbagger01 on Mar. 02 2006,18:00
Let's forget about the control panel for a second and try this instead.

What happens if you boot with:

dsl xsetup

and then you choose your keyboard before XWindows even starts up.  Does the new keyboard layout go into effect?

Also, please try testing multiple apps, IE: TED, Beaver, Xterminal, etc.

Posted by vees on Mar. 02 2006,21:37
Hi cbagger01,

I tried this with some rather interesting results.  When I tried the ru1 keyboard nothing happend, nothing worked and the US qwerty keyboard was still there in Ted, Beaver, the Bash terminal, Sylpheed, Siag, Nano, Vi and the non-X terminal. (with xvesa 1024x768, 32)

Then I tried the the Swiss French (latin1) keyboard (with xvsea 1024x768, 24).  This time, I got the correct keyboard including all the accents except with Beaver which did not want to show the accented letters.

BTW - I use DSL 2.2b

I had to leave that station so I did not run more test, but I will gladly try something else.

Also - I also tried to change the Swiss French keyboard back to the US qwery one (using the control panel).  That did not work either.

Ok. that all I can report for the time being.  Thanks for any pointer!

Posted by pvdg on Mar. 13 2006,17:21
This is an important matter, especially for non-english speaking people, not only because you can't use accents, but also because you have to keep guessing where in your keyboard dashes, slashes and other characters are.
I am using dsl 2.0 live CD and have tried to set up both the portuguese keyboards available (latin1 pt  and pt-old) without success. I have tried the dsl lang=pt boot option and the control panel.
Apart from this, I am quite happy with dsl!
Thanks for any help.

Posted by doobit on Mar. 13 2006,18:01
There is a portugese language package in the DSL repository. I had set it up and used it successfully with DSL 1.5. (There are certain apps that simply don't use it though.)
I suspect it would work with DSL 2.2b and higher as well.
Also, the command to setup a keymap can be most easily loaded using xsetup. The residing Portuguese keymap in X may well work using this method. Give it a try.

Posted by doobit on Mar. 13 2006,18:24
OK, since I was bored, I went and tried the keyboard change button aand using the br-abnt2 selection in X setup (which is what pops up when you use that button) You then need to exit X and then startx to begin a new X session with the changes applied. It worked quite well. I changed the resolution while I was at it and that also worked. The Brazilian Portuguese accents worked fine in Ted, but not in Beaver. This is a limitation of Beaver. I didn't try it in anything else.
Posted by roberts on Mar. 13 2006,21:27
doobit is correct in that not all applications will support alternate keymaps.
DSL being an eclectic group of apps choosen for their size and not necessarliy for being certified multi language capable.

The lastest release candidate 2.3RC1 now displays a popup to remind the user that X needs to be restarted in order to see any effect while running X.

Posted by pvdg on Mar. 14 2006,12:09
Thankyou, doobit and roberts. I have meanwhile downloaded dsl2.3RC1. Please excuse my beginner-s ignorance, but how do I restart X without rebooting_
Posted by doobit on Mar. 14 2006,12:44
the easiest way is right click on the desktop and select exit->exit to prompt then type startx at the prompt
Posted by cyrano on Jan. 16 2007,19:30
I've posted a topic with my problem, and i didn't see anything like it in the forum.

< http://damnsmalllinux.org/cgi-bin....eyboard >

My problem is: I speak brazilian portuguese and got the right keymaps, all keys are in their right place and everything. BUT i can't really write the special letters. Here is what happens:

when i write á, the normal way to do it is to press the ´ key, and then the a key. When we press ´, nothing should happen, and i should then press a, or o, or e, depending on the letter i want to write with the accent. But the programs show ´ in the screen, so instead of writing á all i can get is ´a, ´e, ´o, ~a, and so on...

can't imagine why this is happening. Can someone help me?

Thanks.

Posted by cyrano on Jan. 19 2007,19:26
Don't know whats wrong but found a solution.

Download ptbr.dsl package in MyDSL repository and load it, then startx again.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.