Bug 7519 - Missing Apple keyboard on Mageia install
Summary: Missing Apple keyboard on Mageia install
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Marja Van Waes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 19:07 CEST by Michael Girard
Modified: 2016-06-27 13:44 CEST (History)
3 users (show)

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


Attachments

Description Michael Girard 2012-09-18 19:07:52 CEST
Description of problem: In the beginning of Mageia install, when I want to choose my type of keyboard, Apple keyboards is missing. Just a tiny feature, but very useful for Mac users.


How reproducible: Installing Mageia (second or third step from the beginning)



PS: If you don't understand what I mean because of my english, just tell me and I will post screenshots.


Regards,

Michael
Michael Girard 2012-09-18 19:21:25 CEST

CC: (none) => michael.girard

Comment 1 Manuel Hiebel 2012-09-21 00:24:02 CEST
(setting to cauldron as it's an enhancement request)

also you have more option in drakkeyboard

CC: sysadmin-bugs => (none)
Component: Release (media or process) => Installer
Version: 2 => Cauldron

Comment 2 Michael Girard 2012-09-21 09:28:22 CEST
(In reply to comment #1)
> (setting to cauldron as it's an enhancement request)
> 
> also you have more option in drakkeyboard


Yes, that's what I did when Mageia was installed. But it's quite disturbing when you're installing Mageia and you have to define a password and so on...

Do I have to change the ticket status as RESOLVED or something like this ? (it's my first ticket)


Anyway, many thanks Manuel.



Michael
Thierry Vignaud 2015-05-11 10:56:12 CEST

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

Comment 3 Thierry Vignaud 2016-06-17 12:43:28 CEST
@Marja: want to land one more keyboard layout in keyboarddrake :-) ?

CC: (none) => marja11

Comment 4 Marja Van Waes 2016-06-17 17:05:42 CEST
(In reply to Thierry Vignaud from comment #3)
> @Marja: want to land one more keyboard layout in keyboarddrake :-) ?

Sure, but I fail to see how another layout can solve this problem :-/

If I understand correctly what Michael wrote, then not being able to select an Apple keyboard _type_ in installer is the problem:

(In reply to Michael Girard from comment #0)
> Description of problem: In the beginning of Mageia install, when I want to
> choose my type of keyboard, Apple keyboards is missing. 

(In reply to Michael Girard from comment #2)
> (In reply to comment #1)
> > (setting to cauldron as it's an enhancement request)
> > 
> > also you have more option in drakkeyboard
> 
> 
> Yes, that's what I did when Mageia was installed. 

The selectKeyboard step in installer does indeed not provide an option to select Keyboard type:
http://doc.mageia.org/installer/5/en/content/images/dx2-selectKeyboard.png

However, Keyboarddrake does have that option in the bottom half of the screen:
http://doc.mageia.org/mcc/5/en/content/images/keyboarddrake.png

@ Michael

Did I correctly understand you? 

@ Thierry

I do currently fail to see, from
  /drakx/perl-install/install/steps_interactive.pm
  sub selectKeyboard
from
  /drakx/perl-install/install/detect_devices.pm
and from 
  /drakx-kbd-mouse-x11/lib/keyboard.pm
how installer detects and sets the keyboard type.

(But I didn't yet look at the other pm files that are used and I should learn Perl :-/ )
Comment 5 Thierry Vignaud 2016-06-17 17:35:04 CEST
Thx, I forgot that this isn't the same screen as in keyboarddrake.
In installer, we first try get a small list matching the locale, using keyboard::lang2keyboards()
If that fails, we displays the full list that we got from keyboard::KEYBOARDs().

We also displays this full list with the "More" button if we have a small list.
Comment 6 Marja Van Waes 2016-06-17 20:05:38 CEST
(In reply to Thierry Vignaud from comment #5)
> Thx, I forgot that this isn't the same screen as in keyboarddrake.
> In installer, we first try get a small list matching the locale, using
> keyboard::lang2keyboards()
> If that fails, we displays the full list that we got from
> keyboard::KEYBOARDs().
> 
> We also displays this full list with the "More" button if we have a small
> list.

I wrongly assumed that the the kbd keyboard names would be the same for mac keyboards, only the paths different, but there's e.g.
/usr/lib/kbd/keymaps/i386/qwerty/us.map.gz
and
/usr/lib/kbd/keymaps/mac/all/mac-us.map.gz

"mac-us", so the name already tells it's an Apple.

And for xkb it already wasn't a problem.

I'll add the keyboard this weekend.

Status: NEW => ASSIGNED
Assignee: bugsquad => marja11

Comment 7 Mageia Robot 2016-06-19 12:06:19 CEST
commit 692e43c54cfebca5dc2929ab5fa657ae8c2a3317
Author: Marja van Waes <marja@...>
Date:   Sun Jun 19 12:04:04 2016 +0200

    add US Apple keyboard (mga#7519)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx-kbd-mouse-x11/commit/?id=692e43c54cfebca5dc2929ab5fa657ae8c2a3317
Comment 8 Thierry Vignaud 2016-06-27 12:03:20 CEST
Resolved in git

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

Comment 9 Thierry Vignaud 2016-06-27 12:03:43 CEST
And in current Cauldron installer
Comment 10 Marja Van Waes 2016-06-27 13:44:56 CEST
(In reply to Thierry Vignaud from comment #8)
> Resolved in git

(In reply to Thierry Vignaud from comment #9)
> And in current Cauldron installer

Tbh, i had left this report open, because the fix hasn't been tested.

Of my contributions to Mageia, this is the one that i had (and have) most doubts about.

@ Michael Girard

Would you be able to test the fix with a network install, or with a 6sta1 traditional install once the 6sta1 isos are released?

Once the fix is confirmed to work, I'll update the .pot and .po files for the translators.

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