Opensuse losts Keyboard layout

Hi, I have a problem with the keyboard layout and the SaX2 application.

Sometimes (almost always) when I start Opensuse, my original (spanish) keyboard layout is lost and I get another one (english I suppose. Shift+seven produces & instead of /, for example).
And the problem is that I can not change the keyboard layout because when i run SaX2 to choose another one, there not exist the keyboard menu nor mouse menu. I think that this occurs since I have installed the nvidia driver for CUDA, but I’m not sure. I do not know what happens, anybody has any idea?

Thanks in advance.

PS I tried to load other layouts using loadkeys but not worked, I still have the same (incorrect) layout.

try this:

  1. open a terminal

  2. type su - and press enter (do NOT forget the - )

  3. give root password when asked (you will not see what you type)

  4. type yast2 keyboard and press enter

  5. when the keyboard selector comes up select the keyboard for your
    country (i think there are several countries other than Spain which
    use Spanish, you may have to try several (one at a time)

  6. Press the “Ok” button

  7. close the terminal

that should allow your chosen keyboard to come up when you boot, if
not, post again…and, someone else needs to tell you how to add the
keyboard and modules ICONS back into your YaST GUI (i forget how, sorry)


goldie
CAVEAT: The author of this posting does not warrant the accuracy,
completeness, legality, or usefulness of its content and is not
responsible for consequences resulting from its use.

First of all, thank you for the help.

I tried your method but when I put “yast2 keyboard” as root, nothing appears (KDE try to charge modules, but then nothing happens, the same when I try to launch the keyboard module from the yast/hardware menu). It seems that the keyboard module is not installed, but when I launched opensuse for first times it worked properly…

So, it seems that the problem is the lack of keyboard module.

PS: I’m using the last version of opensuse 11.2.

PS2: Incredible, now I have the spanish (Spain) layout for the keyboard without doing nothing.

narcismadern wrote:

> And the problem is that I can not change the keyboard layout because
> when i run SaX2 to choose another one, there not exist the keyboard menu
> nor mouse menu.

It’s a feature of 11.2. They have been removed deliberately. I raised a bug
report when I first encountered the problem:
http://bugzilla.novell.com/show_bug.cgi?id=522319
This was then subsumed into:
http://bugzilla.novell.com/show_bug.cgi?id=483554
And then:
http://bugzilla.novell.com/show_bug.cgi?id=441404

I’m sure they mean well but I have reservations.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy
“I wear the cheese. It does not wear me.”

> PS: I’m using the last version of opensuse 11.2.

ok, you should post to the appropriate forum and maybe open a bug
report…the keyboard and mouse modules shouldn’t just disappear…

until 11.2 is “released” it is a pre-release beta, and ALL problems
should go to http://forums.opensuse.org/pre-release-beta/


goldie

goldie wrote:

>> PS: I’m using the last version of opensuse 11.2.
>
> ok, you should post to the appropriate forum and maybe open a bug
> report…the keyboard and mouse modules shouldn’t just disappear…
>
> until 11.2 is “released” it is a pre-release beta, and ALL problems
> should go to http://forums.opensuse.org/pre-release-beta/
>

As I’ve already posted, it is not a bug. It is a planned feature.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy
“I wear the cheese. It does not wear me.”

Moved to Pre-Release Beta

Graham P Davis wrote:

> narcismadern wrote:
>
>> And the problem is that I can not change the keyboard layout because
>> when i run SaX2 to choose another one, there not exist the keyboard menu
>> nor mouse menu.
>
> It’s a feature of 11.2. They have been removed deliberately. I raised a
> bug report when I first encountered the problem:
> http://bugzilla.novell.com/show_bug.cgi?id=522319
> This was then subsumed into:
> http://bugzilla.novell.com/show_bug.cgi?id=483554
> And then:
> http://bugzilla.novell.com/show_bug.cgi?id=441404
>
> I’m sure they mean well but I have reservations.
>

Moved to prerelease-beta for NNTP users benefit.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy
“I wear the cheese. It does not wear me.”

I solved the problem by adding the line


Option         "AutoAddDevices" "off"

in the ServerFlags section on xorg.conf file.

I suppose that keyboard device was not loaded properly because in the inputDevice section it says:

# Driver "kbd" will be disabled unless 'Option "AutoAddDevices" "off"' 
  # is set in "ServerFlags" section.

The weird thing is that sometimes the keyboard loaded correctly (without me doing nothing) X hours or minutes after the system started.

And the other strange thing is that the keyboard configuration module doesn’t start.

Thanks to all responses and help :).