keyboard layout

Re: keyboard layout

Postby Pry » 28 Oct 2013, 04:36

Okay, two questions,
1. As I learned the problem affects users with French layouts only? Am I right?
2. Cat you post the /etc/default/keyboard file from a machine where the azerty keyboard configured correctly? Ubuntu will do.

Thanks in advance!
Peter Ryzhenkov, Point Linux Lead Developer.
Pry
Site Admin
 
Posts: 425
Joined: 11 Feb 2013, 09:58
Location: Russia

Re: keyboard layout

Postby Dagg » 28 Oct 2013, 07:58

My /etc/default/keyboard :

Code: Select all
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us,fr"
XKBVARIANT=""
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
BACKSPACE="guess"


Hmmm ... where does this "us" come from ?

OK, I ran a

Code: Select all
dpkg-reconfigure keyboard-configuration

and now it's OK (XKBLAYOUT="fr"), the keyboard at login screen is azerty.
PL 2.3.2 amd64 Full
Dagg
 
Posts: 21
Joined: 27 Oct 2013, 15:46
Location: France

Re: keyboard layout

Postby Pry » 28 Oct 2013, 08:51

Dagg wrote:Hmmm ... where does this "us" come from ?

This US came because as I said there are many non-latin languages around and we really have to switch layouts to type something in say Terminal. Can you imagine say cyrillic user with the Russian only layout?

So as far as I learned French users use one (fr) layout and they don't switch layouts?
Peter Ryzhenkov, Point Linux Lead Developer.
Pry
Site Admin
 
Posts: 425
Joined: 11 Feb 2013, 09:58
Location: Russia

Re: keyboard layout

Postby Dagg » 28 Oct 2013, 16:13

Pry wrote:This US came because as I said there are many non-latin languages around and we really have to switch layouts to type something in say Terminal. Can you imagine say cyrillic user with the Russian only layout?


i wasn't aware of the limitation for non-latin languages, but it's the first time that I meet this kind af behaviour (keyboard layout at login not the one set during installation)

Pry wrote:So as far as I learned French users use one (fr) layout and they don't switch layouts?


I'm not talking in the name of the other french people, but in my case, yes. I have never had the need to switch to another keyboard layout.
PL 2.3.2 amd64 Full
Dagg
 
Posts: 21
Joined: 27 Oct 2013, 15:46
Location: France

Re: keyboard layout

Postby Maroman » 28 Oct 2013, 16:59

I have found that https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/934100
it looks as a bug of lightdm.
ride my bike,
User avatar
Maroman
 
Posts: 369
Joined: 02 Jun 2013, 09:17
Location: Warsaw Metropolitan Area, Poland

Re: keyboard layout

Postby Pry » 28 Oct 2013, 17:32

Hmmm, let's get things straight, there are three types of layouts:
1. Layouts that don't need keyboard switch at all, such as 'fr','de', etc. Despite the last two are not 'english' layouts do not require switching as all the latin symbols (as well as symbols unique to the given language) exist on keyboard.
2. Layouts that require keyboard switch to the 'us' layout as they have a lot of non-latin letters, such as Cyrillic languages.
3. Layouts that use alternative iBus input, such as Chinese, Japanese, Korean and so there's no need for the layout switch as well (it's already implemented).

I'm ready to modify installer so it would not add 'us' layout by default to the first group, but I need to know exactly what languages have thir keyboard layouts that are compatible with the 'us' layout (you can type English words in it).

Maroman wrote:I have found that https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/934100
it looks as a bug of lightdm.

It looks a lot like it.
Peter Ryzhenkov, Point Linux Lead Developer.
Pry
Site Admin
 
Posts: 425
Joined: 11 Feb 2013, 09:58
Location: Russia

Re: keyboard layout

Postby Maroman » 28 Oct 2013, 18:36

I'm also reading https://wiki.debian.org/Keyboard and there is a sentence
The appropriate section of /etc/initramfs-tools/initramfs.conf needs to be changed to have a localized keyboard layout at boot time: ect.
.I'm trying to understand the nature of what was said before. if I understand (interesting assumption :D ), if you want to have localized keyboard (French, etc) during boot you should switch one parameter in initramsfs config file (read farther the text) to map the keyboard. during boot installed keyboard are not working yet. I have always us one however I installed Polish qwertz keyboard. is it right? it it the problem we are talking about?

I did as it was written and I had got
# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
loadkeys is missing. Please install the 'kbd' package.

so what keyboard package is missing?
ride my bike,
User avatar
Maroman
 
Posts: 369
Joined: 02 Jun 2013, 09:17
Location: Warsaw Metropolitan Area, Poland

Re: keyboard layout

Postby Pry » 28 Oct 2013, 18:48

Okay, so it looks like we have two problems:
1. The LightDm bug.
2. The unneeded 'us' layout for the latin keyboards.
Peter Ryzhenkov, Point Linux Lead Developer.
Pry
Site Admin
 
Posts: 425
Joined: 11 Feb 2013, 09:58
Location: Russia

Re: keyboard layout

Postby Dagg » 28 Oct 2013, 19:44

The LightDm bug.


Is there really a LightDM bug ? Not very sure.

Actually, I think the language selector of LDM is just for the settings of the session the user wants to open, and not for changing the keyboard layout of the login screen.

The keyboard layout for the login screen seems to be set by X server.

The unneeded 'us' layout for the latin keyboards.


It is possible to keep US layout (so the user will be able to switch between different keymap), but this setting should be put in second, after the keyboard layout choosen by the user during install.
For example, after my install the XKBLAYOUT was "us,fr" (this is why I was in qwerty at login screen)
It should be better if it was set to "fr, us".
PL 2.3.2 amd64 Full
Dagg
 
Posts: 21
Joined: 27 Oct 2013, 15:46
Location: France

Re: keyboard layout

Postby Maroman » 29 Oct 2013, 05:44

assuming there is a problem with lightDM, what about changing it? there are different display managers.

cheers,
ride my bike,
User avatar
Maroman
 
Posts: 369
Joined: 02 Jun 2013, 09:17
Location: Warsaw Metropolitan Area, Poland

PreviousNext

Return to Installation Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron