1

I recently got a Mac, and have been getting acquainted with it. One thing I have run into is that the Mac appears to deviate from standards for keyboards for the Danish layout.

In my specific situation I was trying to type @ which on a Danish keyboard is done by either hitting Ctrl+Alt + 2 or AltGr+2. However, on Mac, they've moved this character to Alt+'. This makes for a bit of a jarring experience switching between development environments.

I tried looking for a reason but was unable to find it. My first instinct was to add a custom keyboard layout that matches the standard, but that leaves me wondering if there is a specific way to remap the keys without concerns I might break existing shortcuts.

Can I remap @ to control - option - 2 on my Danish ISO keyboard?

6
  • 2
    Generally, English layouts preserve the Shift/2 is @ - though I can see that the Danish layout swaps to what I always think of as a "PC" standard, where shift/2 and shift/' are swapped. en.wikipedia.org/wiki/QWERTY#Danish & kbdlayout.info/KBDDA show " on shift and @ on opt, but the Mac layout doesn't seem to observe this. I'd remap with Ukelele
    – Tetsujin
    Commented Jan 4, 2022 at 19:26
  • 1
    I haven't been able to find the ISO standards you are referring to (would you be so kind and add a citation to your question?) but I have a suspicion, namely that the Mac keyboard layout predates those standards. Commented Jan 4, 2022 at 21:01
  • @JörgWMittag, As far as I've understood, the standards are defined in ISO/IEC 9995, but the standards are only accessible through payment, so I'm unable to verify. The keyboard layouts of the various Danish keyboards I own are also called "ISO" layout, although that could just refer to the key layout and not the characters.
    – William
    Commented Jan 4, 2022 at 21:44
  • @Tetsujin, Ukelele is exactly what I found as an option when searching, but wanted to see if there was an answer to this question before I went ahead and used it. Appreciate the suggestion.
    – William
    Commented Jan 4, 2022 at 21:45
  • Asking why Apple does things is intentionally off topic. Also, opinion based questions are generally closed as well. Can this be reworded to focus on what you want to accomplish (your practical problem) given Apple has done what they did?
    – bmike
    Commented Jan 4, 2022 at 22:06

1 Answer 1

2

Apple sold keyboards with a Danish layout before the standard was created and published. As we can only guess as to why Apple's engineers chose to do what they did, it is reasonable to guess that this history has something to do with it. I.e. why annoy existing users with moving about characters on the keyboard in order to follow relatively non-significant ISO standard. That said, as far as I remember, the original ISO7IEC 9995 standard didn't even specify the placement of the @ character on the keyboard. That was added to the standard decades later.

Note also that historically keyboards were very different from computer to computer. When you look at keyboards from the 70's and 80's, you won't find that they all featured essentially the same character placement - like you would find if you compared a 2000's or 2010's keyboard to a current keyboard.

So essentially, you're kinda incorrect in saying that "they moved" the character to that location - for Danes it didn't have a specific location where user expected it to be at the time. It wasn't like the @ character was placed on the same key as on modern Danish PC keyboards and stayed there for a few years before Apple decided to move it to a different location.

On the original Macintosh keyboard - the @ character even on US keyboards was placed on the first key in the top row (left of the 1 key). On the Danish version of the Apple II (europlus), the @ character was actually placed on top of the "P" key.

For comparison, a non-Mac computer that many Danish people got to know in the 80's were the Danish built Piccolo and Piccoline models. The Piccolo didn't have a @ on its keyboard, and the Piccoline placed it just left of the backspace key on the far right of the main keyboard.

Also you need to consider that at the time these keyboards were first introduced, the @ character was simply not used as much as it is today. Today most people know this character as the seperator in email addresses, calling it the "at character", etc. That was not the case in the early days of computing. At that time it was known as the "master space"* character, and it wasn't something a normal Mac user would need multiple times during a normal working hour. Hence when locations were scarce on the Danish keyboard layout, it probably weren't a huge priority to give it an easy to reach placement.

UPDATE: The question was changed to be about remapping the key. You can use the tool Ukelele to remap the location of the @ character on the keyboard.

*: Separator between commands and data.

2
  • Appreciate the thorough explanation for my original question (I didn't change it). Since it's simply a historical thing, I'll try using Ukelele as suggested for a workaround for my needs.
    – William
    Commented Jan 5, 2022 at 13:00
  • Super! :) I realize that you did not change the question - it was changed by others to be more specific and less "opinion based".
    – jksoegaard
    Commented Jan 5, 2022 at 13:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .