helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

Apple Magic Keyboard seems to be misconfigured, wrong layout. #352

Open 69graves opened 2 years ago

69graves commented 2 years ago

I am running the current release, on a Dell laptop.

I have an Apple Magic Keyboard, with numpad, connected via usb, as there is no bluetooth on the laptop.

Where the tilde key should be, on an American English keyboard, is now assigned to "<" and ">" when Shift is pressed.

I have far less experience with the FreeBSD side of things, so I find myself a bit lost as to how to configure the keyboard properly.

Of note is that using the laptop's native keyboard gives expected, properly configured results.

Also included is the link to the HW Probe database with the system's current configuration.

https://bsd-hardware.info/?probe=b246d110af

probonopd commented 2 years ago

Please open System -> Applications -> Preferences -> Keyboard and see whether selecting Variants -> mac improves the situation.

If it does, we can consider to make it the default for systems with Apple keyboards.

69graves commented 2 years ago

This unfortunately did not have the desired effect. When this option was chosen, the key in question (tilde and hash mark) becomes a math symbol of some sort, like two “s” together.

With shift it becomes the “ plus or minus” symbol.

We’re sitting down to dinner in a bit, so I will follow up tomorrow morning. Thank you

Sent from my iPhone

On Dec 28, 2021, at 1:59 PM, probonopd @.***> wrote:

 Please open System -> Applications -> Preferences -> Keyboard and see whether selecting Variants -> mac improves the situation.

If it does, we can consider to make it the default for systems with Apple keyboards.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

probonopd commented 2 years ago

Is this how the keys on your keyboard are printed?

image

69graves commented 2 years ago

This is indeed the keyboard in question.

Sent from my iPhone

On Jan 2, 2022, at 3:56 AM, probonopd @.***> wrote:

 Is this how the keys on your keyboard are printed?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

probonopd commented 2 years ago

So we are talking about the button right beneath the esc key, correct?

69graves commented 2 years ago

Yes.

Sent from my iPhone

On Jan 2, 2022, at 4:44 AM, probonopd @.***> wrote:

 So we are talking about the button right beneath the esc key, correct?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

probonopd commented 2 years ago

Can you please use the following article to find out which exact keyboard you have? Thanks!

https://support.apple.com/en-us/HT201794

69graves commented 2 years ago

It’s ANSI, US English. Do you need more than that?

Sent from my iPad

On Jan 2, 2022, at 7:21 AM, probonopd @.***> wrote:

 Can you please use the following article to find out which exact keyboard you have? Thanks!

https://support.apple.com/en-us/HT201794

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

probonopd commented 2 years ago

Thanks, this should describe it enough.

Possibly this is caused by the system thinking you have an ISO keyboard whereas in reality you have an ANSI keyboard. Hence, possibly related: https://github.com/helloSystem/hello/issues/188

In my opinion it is a total shame that ANSI/ISO cannot be detected by inspecting the USB descriptors. The Mac has this dialog:

https://cdn.tutsplus.com/cdn-cgi/image/width=600/mac/authors/legacy/Jordan%20Merrick/2012/10/09/input-11.jpg

Looking at https://www.freebsd.org/cgi/man.cgi?query=xkeyboard-config&sektion=7&format=html

What happpens when you run setxkbmap -model applealu_ansi?

Unfortunately I don't have an ANSI keyboard to test with.

69graves commented 2 years ago

I will try and get back to you.

Sent from my iPhone

On Jan 5, 2022, at 12:48 PM, probonopd @.***> wrote:

 Thanks, this should describe it enough.

Possibly this is caused by the system thinking you have an ISO keyboard whereas in reality you have an ANSI keyboard.

In my opinion it is a total shame that ANSI/ISO cannot be detected by inspecting the USB descriptors. The Mac has this dialog:

https://cdn.tutsplus.com/cdn-cgi/image/width=600/mac/authors/legacy/Jordan%20Merrick/2012/10/09/input-11.jpg

Looking at https://www.freebsd.org/cgi/man.cgi?query=xkeyboard-config&sektion=7&format=html

What happpens when you run setxkbmap -model applealu_ansi?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

69graves commented 2 years ago

I tried running the setxlbmap utility and nothing happened.

probonopd commented 2 years ago

We need to get some Xkb/Xorg/FreeBSD experts involved then. I don't know how to fix this. Maybe @rbreaves or @lproven knows?