You are not logged in.

1

Tuesday, October 26th 2004, 3:19pm

Keyboard not working when non-privileged user.

If I start KDE (using startx )after having logged on as root my keyboard works fine.

If I start KDE after having logged on as a normal user the double quotes key and the single quotes key (or the apostrophe key) don't work properly. I have noticed that single quotes followed by spacebar or double quotes followed by spacebar produces the correct character.

In both cases the keyboard works fine when not in KDE (i.e. in textmode).

I am using KDE 3.2 installed with Slackware 10.0.

I have tried various keyboard layouts using the KDE Control Center but to no effect. I have also noticed that su to root in a terminal window doesn't fix the keyboard.

Any ideas?

Thanks

2

Tuesday, October 26th 2004, 4:53pm

Re: Keyboard not working when non-priveleged user.

Quoted

Original von jim

If I start KDE (using startx )after having logged on as root my keyboard works fine.

If I start KDE after having logged on as a normal user the double quotes key and the single quotes key (or the apostrophe key) don't work properly. I have noticed that single quotes followed by spacebar or double quotes followed by spacebar produces the correct character.
That sounds like a keyboard layout with "dead keys". Does the same happen if you press the tilde (~)?

But I wonder why switching to a different layout doesn't work... it should.

You could check the file /etc/X11/XF86Config (or something similar, I don't know where it is located in Slackware). Do you have a section "Keyboard" with Xkb* entries? If so make sure you have the option nodeadkeys.

Section "Keyboard"
[...]
XkbVariant "nodeadkeys"
[...]
EndSection

3

Tuesday, October 26th 2004, 8:13pm

Re: Keyboard not working when non-priveleged user.

The same thing happens with tilda (~).

The file for Slackware is /etc/X11/xorg.conf but changing this file makes no difference.

I would appreciate any other ideas.

Thanks

4

Tuesday, October 26th 2004, 9:37pm

Re: Keyboard not working when non-priveleged user.

Quoted

Original von jim

The same thing happens with tilda (~).

So it's really not bug but the "dead key" feature. This allows you to compose certain special characters. But you still don't have a way to switch that feature off. ;-)


Quoted

Original von jim


The file for Slackware is /etc/X11/xorg.conf but changing this file makes no difference.

I would appreciate any other ideas.

Thanks

What do you get if you try the following command on the command line?
setxkbmap -model pc105 -layout en_US -variant basic

(That's what the KDE control center tries to execute on my machine to switch the layout to English/American without dead keys. Maybe you're missing that command?)

5

Tuesday, October 26th 2004, 10:16pm

Re: Keyboard not working when non-privileged user.

Quoted

Original von cmbofh

What do you get if you try the following command on the command line?
setxkbmap -model pc105 -layout en_US -variant basic

(That's what the KDE control center tries to execute on my machine to switch the layout to English/American without dead keys. Maybe you're missing that command?)


That works (although I am in the UK so I use -layout gb).

The KDE control center works as well, I was omitting to set the layout variant to basic in the dialog.

Thanks for your help.