Bug 1612 - french layout bépo is not available in installer
Summary: french layout bépo is not available in installer
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: Mageia 6
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
: 8002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-05 17:37 CEST by simon
Modified: 2017-03-06 18:23 CET (History)
6 users (show)

See Also:
Source RPM: drakx-kbd-mouse-x11
CVE:
Status comment:


Attachments

Description simon 2011-06-05 17:37:04 CEST
Description of problem:

Some french layout are proposed by the installer, including the Dvorak, but no "bépo". I think that bépo is much more used than Dvorak. So, that would be a great feature :)
simon 2011-06-05 18:03:10 CEST

Summary: french layout is bépo not available in installer => french layout bépo is not available in installer

Ahmad Samir 2011-06-05 19:26:44 CEST

Source RPM: (none) => drakx-installer-stage2

Comment 1 Thierry Vignaud 2011-08-06 13:14:20 CEST
AFAIK bepo==french dvorak, isn't it?

CC: (none) => thierry.vignaud
Source RPM: drakx-installer-stage2 => drakx-kbd-mouse-x11

Comment 2 simon 2011-08-29 23:52:20 CEST
http://fr.wikipedia.org/wiki/Disposition_Dvorak#Dvorak-fr

Bepo is sometime called "french dvorak", but its not "french dvorak"

Geeks use bépo ^^
Comment 3 Marja Van Waes 2011-11-06 18:56:29 CET
I can't choose bépo in Mga 1 and I can't find anything in the changelog of drakx-kbd-mouse-x11-0.97-2.mga2 (for Cauldron) about this being fixed, so assigning to the maintainer of this package

CC: (none) => marja11
Assignee: bugsquad => thierry.vignaud

Comment 4 Marja Van Waes 2012-05-26 13:03:10 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 5 Romain d'Alverny 2012-07-26 17:33:47 CEST
Thierry, what info do you need about this? or what would be missing? (I got a request about IRL too today :-p).

CC: (none) => rdalverny

Comment 6 Thierry Vignaud 2012-07-28 21:37:57 CEST
A patch against keyboard.pm.
http://svnweb.mageia.org/soft/drakx-kbd-mouse-x11/trunk/lib/keyboard.pm?view=markup
Comment 7 Manuel Hiebel 2012-11-08 16:58:31 CET
*** Bug 8002 has been marked as a duplicate of this bug. ***

CC: (none) => benoit

Manuel Hiebel 2012-11-08 16:58:47 CET

Keywords: NEEDINFO => (none)

Comment 8 Nicolas Vigier 2013-02-28 14:15:47 CET
Support for bepo keymaps has been added to kbd in cauldron.

CC: (none) => boklm

Comment 9 alain bernard 2013-03-29 14:15:55 CET
Sorry! Bepo keymaps is not good because it is the layout of french azerty keyboard.
my version is 0.105-2.mga3 de drakx-kbd-mouse-X11.

CC: (none) => bernard.al1

Nicolas Vigier 2014-03-24 10:52:29 CET

CC: boklm => (none)

Comment 10 Dick Gevers 2014-11-19 16:38:19 CET
This BR was filed against an older version of Mageia.

Older installers than 5 will not be fixed.

Please advise if this applies to 5beta1 or higher and say so in the 'whiteboard' field and the Target Milestone should be '5'. If not the bug must be closed. Thanks

Target Milestone: --- => Mageia 3

Comment 11 Vincent Gravade 2015-06-20 14:23:32 CEST
Hi,

French layout « bépo » is still not available in Mageia 5 installer.

CC: (none) => vgravade

Rémi Verschelde 2015-06-20 14:26:05 CEST

Hardware: x86_64 => All
Target Milestone: Mageia 3 => Mageia 6

Comment 12 Marja Van Waes 2015-06-20 21:11:31 CEST
(In reply to Vincent Gravade from comment #11)
> Hi,
> 
> French layout « bépo » is still not available in Mageia 5 installer.

can you select it after installing Mageia using MCC => Hardware => Set up the keyboard layout?

http://doc.mageia.org/mcc/5/en/content/keyboarddrake.html

Or is it not available there at all?

(I do currently not see it there, but did just notice that KDE has two different French bépo keyboards)

Is this the correct layout?:

http://bepo.fr/wiki/Fichier:Carte-bepo-simple.png
Comment 13 Vincent Gravade 2015-06-21 09:09:05 CEST
(In reply to Marja van Waes from comment #12)

> can you select it after installing Mageia using MCC => Hardware => Set up
> the keyboard layout?
> 
> http://doc.mageia.org/mcc/5/en/content/keyboarddrake.html
> 
> Or is it not available there at all?

No, it is not available after installation. I dont see it in "Keyboard Layout" list.

> (I do currently not see it there, but did just notice that KDE has two
> different French bépo keyboards)

Yes, there are 2 versions :

 * Bepo, ergonomic, dvorak way
 * Bepo, ergonomic, dvorak way, Latin-9 only

The most used, I guess, is the first. The second one seems to be a restricted version of the first.

> Is this the correct layout?:
> 
> http://bepo.fr/wiki/Fichier:Carte-bepo-simple.png

Yes, this layout is correct. There is also a more complete version at :

http://bepo.fr/wiki/Fichier:Carte-bepo-complete.png
Comment 14 Marja Van Waes 2015-06-21 10:38:56 CEST
(In reply to Vincent Gravade from comment #13)
> (In reply to Marja van Waes from comment #12)
> 
> > can you select it after installing Mageia using MCC => Hardware => Set up
> > the keyboard layout?
> > 
> > http://doc.mageia.org/mcc/5/en/content/keyboarddrake.html
> > 
> > Or is it not available there at all?
> 
> No, it is not available after installation. I dont see it in "Keyboard
> Layout" list.

Unless I miss something: that's as expected, because the same keyboard.pm is used both inside and outside installer
> 
> > (I do currently not see it there, but did just notice that KDE has two
> > different French bépo keyboards)
> 
> Yes, there are 2 versions :
> 
>  * Bepo, ergonomic, dvorak way
>  * Bepo, ergonomic, dvorak way, Latin-9 only
> 
> The most used, I guess, is the first. The second one seems to be a
> restricted version of the first.
> 
> > Is this the correct layout?:
> > 
> > http://bepo.fr/wiki/Fichier:Carte-bepo-simple.png
> 
> Yes, this layout is correct. There is also a more complete version at :
> 
> http://bepo.fr/wiki/Fichier:Carte-bepo-complete.png

Thx.

It is a bit confusing that there is 

/usr/lib/kbd/keymaps/i386/bepo/fr-bepo.map.gz
/usr/lib/kbd/keymaps/i386/bepo/fr-bepo-latin9.map.gz
and also 
/usr/lib/kbd/keymaps/i386/dvorak/fr-dvorak-bepo.map.gz
/usr/lib/kbd/keymaps/i386/dvorak/fr-dvorak-bepo-utf8.map.gz

but no fr-dvorak-bepo-latin9.map.gz
(so wondering what's used by KDE)
Comment 15 Vincent Gravade 2015-06-21 11:14:20 CEST
(In reply to Marja van Waes from comment #14)

> Unless I miss something: that's as expected, because the same keyboard.pm is
> used both inside and outside installer

Itâs logical :)

> It is a bit confusing that there is 
> 
> /usr/lib/kbd/keymaps/i386/bepo/fr-bepo.map.gz
> /usr/lib/kbd/keymaps/i386/bepo/fr-bepo-latin9.map.gz
> and also 
> /usr/lib/kbd/keymaps/i386/dvorak/fr-dvorak-bepo.map.gz
> /usr/lib/kbd/keymaps/i386/dvorak/fr-dvorak-bepo-utf8.map.gz
> 
> but no fr-dvorak-bepo-latin9.map.gz
> (so wondering what's used by KDE)

After reading https://linuxfr.org/news/le-bepo-en-console-inclus-de-base-sous-gnu-linux (in french), my understanding is that the layout was first included with files: 

/usr/lib/kbd/keymaps/i386/dvorak/fr-dvorak-bepo-utf8.map.gz
/usr/lib/kbd/keymaps/i386/dvorak/fr-dvorak-bepo.map.gz

However, in order not to confuse bépo and dvorak, they were renamed as:

/usr/lib/kbd/keymaps/i386/bepo/fr-bepo.map.gz
/usr/lib/kbd/keymaps/i386/bepo/fr-bepo-latin9.map.gz

So, we have:

fr-dvorak-bepo-utf8.map.gz (old) => fr-bepo.map.gz (new)

and

fr-dvorak-bepo.map.gz (old) => fr-bepo-latin9.map.gz (new)
Comment 16 Marja Van Waes 2015-06-22 17:45:01 CEST

I tried with adding 

"fr_bepo" => [ N_("_: keyboard\nFrench (\"Bépo\")"), "fr-bepo",   "fr(bepo)", 0],
"fr_bepo_latin9" => [ N_("_: keyboard\nFrench (\"Bépo, restricted\")"), "fr-bepo-latin9", "fr(bepo_latin9)", 0],

Both keyboards seem available in MCC, now.

After switching to 
 'French ("Bépo, restricted")', 
and then switching to tty2 (I guess X needs to be restarted to see the changes), when typing the first 6 letters (usually "qwerty") on my keyboard, I get "bépoè", but adding a space makes it "bépoè^"... so that doens't seem too bad.

However, switching to 
 'French ("Bépo")' 
does _not_ work.

There is an error:

     unknown keysym 'endash'

     lk_add_key called with bad keycode -1

I don't have time now to look further (and might miss the needed knowledge, anyway)

If you want to test, you can install the packages here:
http://waesvanm.home.xs4all.nl/Packaging/Bug1612/RPMS/x86_64/
Comment 17 Vincent Gravade 2015-06-22 20:13:57 CEST
(In reply to Marja van Waes from comment #16)
> 
> I tried with adding 
> 
> "fr_bepo" => [ N_("_: keyboard\nFrench (\"Bépo\")"), "fr-bepo",  
> "fr(bepo)", 0],
> "fr_bepo_latin9" => [ N_("_: keyboard\nFrench (\"Bépo, restricted\")"),
> "fr-bepo-latin9", "fr(bepo_latin9)", 0],
> 
> Both keyboards seem available in MCC, now.
> 
> After switching to 
>  'French ("Bépo, restricted")', 
> and then switching to tty2 (I guess X needs to be restarted to see the
> changes), when typing the first 6 letters (usually "qwerty") on my keyboard,
> I get "bépoè", but adding a space makes it "bépoè^"... so that doens't seem
> too bad.
> 
> However, switching to 
>  'French ("Bépo")' 
> does _not_ work.
> 
> There is an error:
> 
>      unknown keysym 'endash'
> 
>      lk_add_key called with bad keycode -1
> 

It worked fine for me. After selecting layout and disconnecting, I was able to type with my favorite keyboard layout. :)

> 
> If you want to test, you can install the packages here:
> http://waesvanm.home.xs4all.nl/Packaging/Bug1612/RPMS/x86_64/

I modified the file "/usr/lib/libDrakX/keyboard.pm" directly. Do you want I try with installing these packages?

> I don't have time now to look further (and might miss the needed knowledge,
> anyway)

Thanks for your time and your help! :)
Comment 18 Marja Van Waes 2015-06-22 20:34:24 CEST
(In reply to Vincent Gravade from comment #17)
> (In reply to Marja van Waes from comment #16)
> > 
> > I tried with adding 
> > 
> > "fr_bepo" => [ N_("_: keyboard\nFrench (\"Bépo\")"), "fr-bepo",  
> > "fr(bepo)", 0],
> > "fr_bepo_latin9" => [ N_("_: keyboard\nFrench (\"Bépo, restricted\")"),
> > "fr-bepo-latin9", "fr(bepo_latin9)", 0],
> > 
> > Both keyboards seem available in MCC, now.
> > 
> > After switching to 
> >  'French ("Bépo, restricted")', 
> > and then switching to tty2 (I guess X needs to be restarted to see the
> > changes), when typing the first 6 letters (usually "qwerty") on my keyboard,
> > I get "bépoè", but adding a space makes it "bépoè^"... so that doens't seem
> > too bad.
> > 
> > However, switching to 
> >  'French ("Bépo")' 
> > does _not_ work.
> > 
> > There is an error:
> > 
> >      unknown keysym 'endash'
> > 
> >      lk_add_key called with bad keycode -1
> > 
> 
> It worked fine for me. After selecting layout and disconnecting, I was able
> to type with my favorite keyboard layout. :)

Nice!
Which layout did you choose? Bépo or Bépo restricted?
> 
> > 
> > If you want to test, you can install the packages here:
> > http://waesvanm.home.xs4all.nl/Packaging/Bug1612/RPMS/x86_64/
> 
> I modified the file "/usr/lib/libDrakX/keyboard.pm" directly. Do you want I
> try with installing these packages?

Please do, installing the debuginfo package is not needed
(You can later downgrade them again with:
urpmi --downgrade drakx-kbd-mouse-x11-text drakx-kbd-mouse-x11 libdrakx-kbd-mouse-x11 )

I'm curious whether you get the error that I got, too.

> 
> Thanks for your time and your help! :)

You're welcome

When I started using Linux, it was hard to find a distribution that supported my keyboard. Mandrake supported it out-of-the-box, which is the reason I stuck with Mandrake/Mandriva/Mageia and also the reason that I'm very eager to see this bug fixed
Comment 19 Marja Van Waes 2015-06-22 20:46:01 CEST
(In reply to Vincent Gravade from comment #17)

> > 
> 
> It worked fine for me. After selecting layout and disconnecting, I was able
> to type with my favorite keyboard layout. :)
> 


Uhmm.... did you try after first setting the keyboard to something very different, e.g. Azerty or so, and seeing that Azerty worked?

If you tried while you were using the KDE Bépo setting, then (if you hit the same error as me) there is a good chance you were still using that one after logging out and back in. 

I only saw the error in the konsole, when starting keyboarddrake from cli, but always my original keyboard selection (tried with nl and us) stayed the same after setting "Bépo"
Comment 20 Vincent Gravade 2015-06-23 08:07:53 CEST
(In reply to Marja van Waes from comment #19)

> Uhmm.... did you try after first setting the keyboard to something very
> different, e.g. Azerty or so, and seeing that Azerty worked?

Yes, and I log out between each change.
 
> If you tried while you were using the KDE Bépo setting, then (if you hit the
> same error as me) there is a good chance you were still using that one after
> logging out and back in. 

No, I first disabled KDE layout settings and gone back to azerty.

I tested :

Bépo (KDE) => Azerty (system) => Bépo (system) => Azerty (system) => Bépo (system)

> I only saw the error in the konsole, when starting keyboarddrake from cli,
> but always my original keyboard selection (tried with nl and us) stayed the
> same after setting "Bépo"

If I launch keyboarddrake from cli, I see the same error you reported, but that works well all the same.
Comment 21 Rémi Verschelde 2015-06-23 08:36:47 CEST
(In reply to Marja van Waes from comment #16)
> However, switching to 
>  'French ("Bépo")' 
> does _not_ work.
> 
> There is an error:
> 
>      unknown keysym 'endash'
> 
>      lk_add_key called with bad keycode -1

So according to Vincent's input, 'French ("Bépo")' does work, but there's one of the characters of the keyboard layout that might not be recognised (the endash, i.e. â (U+2013 in Unicode)).

The patch is still way better than no working bépo layout IMO, well done Marja :)
Rémi Verschelde 2015-06-23 08:36:55 CEST

Keywords: (none) => PATCH

Comment 22 Rémi Verschelde 2015-06-23 09:10:30 CEST
I've done some research about the bépo layout, and the current standard seems to be version 1.0rc2 (there is an rc3, but it's an easter egg), which is documented here: http://bepo.fr/wiki/Version_1.0rc2

The bepo.fr website gives this archive: http://download.tuxfamily.org/dvorak/keymaps/fr-dvorak-bepo-keymaps-1.0rc2.tgz (source: http://bepo.fr/wiki/Console_linux#.C3.80_la_main )
It contains the fr-dvorak-bepo{,-utf8}.map keymaps that are also found in /usr/lib/kbd/keymaps/dvorak/ with the same name.

So I'm not sure what the origin of the fr-bepo{-latin9}.map files is, and their headers are badly documented, no version and the website is a dead link.

That's an issue that would have to be clarified upstream at kbd though (http://kbd-project.org/ ).
Comment 23 Vincent Gravade 2015-06-23 09:26:59 CEST
(In reply to Rémi Verschelde from comment #22)
> I've done some research about the bépo layout, and the current standard
> seems to be version 1.0rc2 (there is an rc3, but it's an easter egg), which
> is documented here: http://bepo.fr/wiki/Version_1.0rc2
> 
> The bepo.fr website gives this archive:
> http://download.tuxfamily.org/dvorak/keymaps/fr-dvorak-bepo-keymaps-1.0rc2.
> tgz (source: http://bepo.fr/wiki/Console_linux#.C3.80_la_main )
> It contains the fr-dvorak-bepo{,-utf8}.map keymaps that are also found in
> /usr/lib/kbd/keymaps/dvorak/ with the same name.
> 
> So I'm not sure what the origin of the fr-bepo{-latin9}.map files is, and
> their headers are badly documented, no version and the website is a dead
> link.
> 
> That's an issue that would have to be clarified upstream at kbd though
> (http://kbd-project.org/ ).

According to the bépo mailing list, the files have been renamed in kbd-2.0.1:

http://listengine.tuxfamily.org/ergodis.org/discussions/2013/11/msg00033.html
Comment 24 Marja Van Waes 2015-06-23 09:49:16 CEST
(In reply to Rémi Verschelde from comment #21)

> 
> So according to Vincent's input, 'French ("Bépo")' does work, but there's
> one of the characters of the keyboard layout that might not be recognised
> (the endash, i.e. â (U+2013 in Unicode)).
> 
> The patch is still way better than no working bépo layout IMO, well done
> Marja :)

Note that, to get those keyboards in the first keyboard choice screen in traditional installer, replacing:

 'fr'  => 'fr:89 qc:85 be:85 ch_fr:70 dvorak_fr:20',

with something like:

 'fr'  => 'fr:89 qc:85 be:85 ch_fr:70 dvorak_fr:20 fr_bepo:10 fr_bepo_latin9:10',

is needed, too.

I'll commit the changes when I find time (unless someone else is faster)
Comment 25 Marja Van Waes 2015-06-23 09:54:53 CEST
(In reply to Vincent Gravade from comment #20)

> 
> I tested :
> 
> Bépo (KDE) => Azerty (system) => Bépo (system) => Azerty (system) => Bépo
> (system)
> 
> > I only saw the error in the konsole, when starting keyboarddrake from cli,
> > but always my original keyboard selection (tried with nl and us) stayed the
> > same after setting "Bépo"
> 
> If I launch keyboarddrake from cli, I see the same error you reported, but
> that works well all the same.

Thanks a lot for the tests :-)

I assume I forgot to switch to tty2 after seeing that error, but tested in the KDE konsole instead :-/ (I never logged out between tests)
Comment 26 Marja Van Waes 2015-06-24 15:35:07 CEST
committed to git
http://gitweb.mageia.org/software/drakx-kbd-mouse-x11/commit/?id=60840403ffe7e7f22e0912d59e46c7e493e08ca0

I think it is better to wait a bit with the actual packaging, until it isn't raining updates in cauldron anymore, just in case my fix breaks something that might otherwise maybe be hard to trace back to this package.
Comment 27 Marja Van Waes 2015-07-18 16:40:02 CEST
(In reply to Marja van Waes from comment #26)
> committed to git
> http://gitweb.mageia.org/software/drakx-kbd-mouse-x11/commit/
> ?id=60840403ffe7e7f22e0912d59e46c7e493e08ca0
> 
> I think it is better to wait a bit with the actual packaging, until it isn't
> raining updates in cauldron anymore, just in case my fix breaks something
> that might otherwise maybe be hard to trace back to this package.

I didn't manage to rebuild drakx-installer-stage2 with the new package, but the errors were the same as with the old drakx-kbd-mouse-x11, so I committed the package to cauldron, anyway.

It hasn't been pushed, yet.
Comment 28 Marja Van Waes 2015-11-04 21:18:24 CET
(In reply to Marja van Waes from comment #27)
> (In reply to Marja van Waes from comment #26)
> > committed to git
> > http://gitweb.mageia.org/software/drakx-kbd-mouse-x11/commit/
> > ?id=60840403ffe7e7f22e0912d59e46c7e493e08ca0
> > 
> > I think it is better to wait a bit with the actual packaging, until it isn't
> > raining updates in cauldron anymore, just in case my fix breaks something
> > that might otherwise maybe be hard to trace back to this package.
> 
> I didn't manage to rebuild drakx-installer-stage2 with the new package, but
> the errors were the same as with the old drakx-kbd-mouse-x11, so I committed
> the package to cauldron, anyway.
> 
> It hasn't been pushed, yet.

Akien pushed it to cauldron a long time ago, and it's in cauldron drakx-installer-stage2 now.
I just started a tradional install in French, and the two French Bépo keyboards are available in the keyboard choice screen.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Sébastien Picavet 2017-03-06 18:23:56 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=20364


Note You need to log in before you can comment on or make changes to this bug.