[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#288779: kdebase-bin: Error when using "US international" keyboard layout



Adeodato Simó a écrit :
  not that I'm aware of.

OK.

  I'm particularly interested in knowing if you automatically get two
  configured keybord layout by default or you add them manually after
  kpersonalizer ends (in kcontrol).

OK. I'll give you what I do step-by-step :

Housekeeping for a fresh user creation :

bubulle:~# deluser --remove-home test
bubulle:~# rm -r /space/test
bubulle:~# rm -ri /tmp/*test*

User creation :

bubulle:~# adduser --gecos "Test" --home /space/test test
Ajout de l'utilisateur test...
Adding new group `test' (1000).
Adding new user `test' (1000) with group `test'.
Création du répertoire personnel /space/test.
Copie des fichiers depuis /etc/skel
Enter new UNIX password: test

Retype new UNIX password: test

passwd: password updated successfully

KDM restart in case of :

bubulle:~# /etc/init.d/kdm restart
Stopping K Display Manager: kdm.
Starting K Display Manager: kdm.

Note : My system is configured in French, so I roughly translate
in english what I see in the windows.

The KDE session :

(KDM greater window)
login : test
password : test

(Kpersonalizer starts)

Step 1 :
Choose your coutry : France
Choose your language : Français
> Next

Step 2 :
(touch nothing, all defaults)
> Next

Step 3 :
(touch nothing, all defaults)
> Next

Step 4 (themes) :
(touch nothing, all defaults)
> Next

Step 5 :
(touch nothing, all defaults)
> Finish

(KDE starts, Ktip windows, Error window about /dev/dsp permission)

Currently, I have a french keyboard attached. I can open a Konsole
and type with the french (XFree86 default) layout.
I type 'tail -f ~/.xsession-errors' in the Konsole.

I would like to use two keyboard layouts, so :

K menu > KDE configuration center > localisation and accessibility
> keyboard layouts > check box activate keyboard layout

By defaults, I have one active layout : us
select us_intl in available layouts > add > confirm

Now that I have more than one layouts enabled, an icon
with the US flag appears in the tray that indicate the current
active layout.

I the same time, in .xsession-errors :

kxkb: WARNING: Unable to open /tmp/kde-test/us.xkm: Aucun fichier ou r??pertoire de ce type

Hmm... But, test in a new Konsole, I have the US layout.
If I check if this file exists :

bubulle:~# ls -al /tmp/kde-test/*.xkm
-rw-r--r--  1 test test 9016 2005-01-05 19:50 /tmp/kde-test/us.xkm

OK, so the file seems to have been created immidiately after.

I can now cycle on the active layout with Ctrl-Alt-K (or by clicking
on the icon).

When cycling on us-intl, I have the error icon and in
.xsession-errors :

kxkb: WARNING: Unable to open /tmp/kde-test/us_intl.xkm: Aucun fichier ou r??pertoire de ce type
Error loading new keyboard description

So I feel that the 'kxkb: WARNING: Unable to open...' message is
normal, as the file does not exist at the first place. But the second
one "Error loading new keyboard description" is not.

If I check :

bubulle:~# ls -al /tmp/kde-test/*.xkm
-rw-r--r--  1 test test 9016 2005-01-05 19:50 /tmp/kde-test/us.xkm

I have only on file.

If I add another keyboard layout, say, spanish, with the same method
above and I confirm :

- the icon goes on the US flag (probably because it's the first
  layout)
- same .xsession-errors message :

kxkb: WARNING: Unable to open /tmp/kde-test/us.xkm: Aucun fichier ou r??pertoire de ce type

whereas the file now exists (!)

If I hit Ctrl-Alt-K two times, I cycle throught us > us_intl > es
and I have :

- the spanish flag icon
- the spanish layout as I can type the upside-down "?", for example
- in .xsession-errors :

kxkb: WARNING: Unable to open /tmp/kde-test/us_intl.xkm: Aucun fichier ou r??pertoire de ce type
Error loading new keyboard description
kxkb: WARNING: Unable to open /tmp/kde-test/es.xkm: Aucun fichier ou r??pertoire de ce type

If I check /tmp :

bubulle:~# ls -al /tmp/kde-test/*.xkm
-rw-r--r--  1 test test 10212 2005-01-05 20:07 /tmp/kde-test/es.xkm
-rw-r--r--  1 test test  9016 2005-01-05 20:04 /tmp/kde-test/us.xkm

Well, that's all I can say for the moment :-/

I will now drive home and have lunch. I will be online on my home
laptop around 23:00.

Hope this helps,

--
Emmanuel Halbwachs              Labo. de Photonique et Nanostructures
tel      : (+33)1 69 63 61 34                             CNRS UPR 20
fax      : (+33)1 69 63 60 06       Route de Nozay F 91460 Marcoussis




Reply to: