Return to site

German Keyboard Layout Macbook Pro

broken image


Match the keyboard on the screen with the physical keyboard to make sure that the layout matches. To check the uppercase characters, click the shift key on the keyboard or on the screen, and match the characters printed on the keyboard. Click Start, type osk in the Run box, and then press ENTER. Australians tend to use the American keyboard layout. One other source of confusion is the fact that some Mac keyboards label the Alt key Option while others call the Option key Alt (depending on. Spanish/German Keyboard Stickers for Laptop, MacBook Air/Pro, Desktop PC Computer, Mac (Keyboard Decals: red Letters on Transparent Background, Keyboard Cover Alternative for German. MacBook keyboard has few distinctive sections: Function keys (in light blue), which provides access to various functions in MacBook itself or Mac OS system. By combining them with the FN key, you'll get access to F1 - F12 keys, which can be associated with particular application features (useful in Photoshop for example).

< Xorg

This article describes the basics of Xorg keyboard configuration. For advanced topics such as keyboard layout modification or additional key mappings, see X keyboard extension or Extra keyboard keys respectively.

The Xorg server uses the X keyboard extension (XKB) to define keyboard layouts. Optionally, xmodmap can be used to access the internal keymap table directly, although this is not recommended for complex tasks. Also systemd's localectl can be used to define the keyboard layout for both the Xorg server and the virtual console.

Note: XKB options can be overridden by the tools provided by some desktop environments such as GNOME and KDE.
  • 1Viewing keyboard settings
  • 2Setting keyboard layout
    • 2.2Using X configuration files
  • 3Frequently used XKB options
    • 3.5Configuring compose key
    • 3.7Switching state immediately when Caps Lock is pressed
  • 5Adjusting typematic delay and rate

Viewing keyboard settings

You can use the following command to see the actual XKB settings:

Third party utilities

There are some 'unofficial' utilities which allow to print specific information about the currently used keyboard layout.

  • xkb-switch-gitAUR:
  • xkblayout-state-gitAUR:

Setting keyboard layout

This article or section needs expansion.

Reason: Udev also comes into play (for example when plugging in a keyboard), undoing changes by setxkbmap (Discuss in Talk:Xorg/Keyboard configuration#)

Keyboard layout in Xorg can be set in multiple ways. Here is an explanation of used options:

  • XkbModel selects the keyboard model. This has an influence only for some extra keys your keyboard might have. The safe fallback are pc104 or pc105. But for instance laptops usually have some extra keys, and sometimes you can make them work by simply setting a proper model.
  • XkbLayout selects the keyboard layout. Multiple layouts may be specified in a comma-separated list, e.g. if you want to quickly switch between layouts.
  • XkbVariant selects a specific layout variant. For instance, the default sk variant is qwertz, but you can manually specify qwerty, etc.
  • XkbOptions contains some extra options (comma-separated). Used for specifying layout switching, notification LED, compose mode etc. See the #Frequently used XKB options section for examples.
Note: You must specify as many variants as the number of specified layouts. If you want the default variant, specify an empty string as the variant (the comma must stay). For example, to have the default us layout as primary and the dvorak variant of us layout as secondary, specify us,us as XkbLayout and ,dvorak as XkbVariant.
German Keyboard Layout Macbook Pro

The layout name is usually a 2-letter country code. To see a full list of keyboard models, layouts, variants and options, along with a short description, open /usr/share/X11/xkb/rules/base.lst. Alternatively, you may use one of the following commands to see a list without a description: Mac os sierra on 2010 macbook pro.

  • localectl list-x11-keymap-models
  • localectl list-x11-keymap-layouts
  • localectl list-x11-keymap-variants [layout]
  • localectl list-x11-keymap-options

Examples in the following subsections will have the same effect, they will set pc104 model, cz as primary layout, us as secondary layout, dvorak variant for us layout and the Alt+Shift combination for switching between layouts. See xkeyboard-config(7) for more detailed information.

Note: Fcitx/IBus users may find these methods not work, or just work for a while, since they will try to control keyboard layout. Fcitx users need to set the first input method to be Keyboard - layout. See Fcitx#Input methods configuration. IBus users need to enable 'Use system keyboard layout' option in Preference -> Advanced if using X configuration files, or manually specify the layout if using setxkbmap. See IBus#Non US keyboards

Using setxkbmap

setxkbmap sets the keyboard layout for the current X session only, but can be made persistent in xinitrc or xprofile. This overrides system-wide configuration specified following #Using X configuration files.

http://lnewxrd.xtgem.com/Blog/__xtblog_entry/19076232-maxsnap-1-57#xt_blog. The usage is as follows (see setxkbmap(1)):

To change just the layout (-layout is the default flag):

For multiple customizations:

Using X configuration files

Note:xorg.conf is parsed by the X server at start-up. To apply changes, restart X.

The syntax of X configuration files is explained in Xorg#Configuration. This method creates system-wide configuration which is persistent across reboots.

Here is an example:

Using localectl

For convenience, the tool localectl may be used instead of manually editing X configuration files. It will save the configuration in /etc/X11/xorg.conf.d/00-keyboard.conf, this file should not be manually edited, because localectl will overwrite the changes on next start.

The usage is as follows:

To set a model, variant or options, all preceding fields need to be specified, but the preceding fields can be skipped by passing an empty string with '. Unless the --no-convert option is passed, the specified keymap is also converted to the closest matching console keymap and applied to the console configuration in vconsole.conf. See localectl(1) for more information.

To create a /etc/X11/xorg.conf.d/00-keyboard.conf like the above:

Frequently used XKB options

Switching between keyboard layouts

To be able to easily switch keyboard layouts, first specify multiple layouts between which you want to switch (the first one is the default). Then specify a key (or key combination), which will be used for switching. For example, to switch between a US and a Swedish layout using the CapsLock key, use us,se as an argument of XkbLayout and grp:caps_toggle as an argument of XkbOptions.

You can use other key combinations than CapsLock, they are listed in /usr/share/X11/xkb/rules/base.lst, start with grp: and end with toggle. To get the full list of available options, run the following command:

Terminating Xorg with Ctrl+Alt+Backspace

By default, the key combination Ctrl+Alt+Backspace is disabled. You can enable it by passing terminate:ctrl_alt_bksp to XkbOptions. This can also be done by binding a key to Terminate_Server in xmodmap (which undoes any existing XkbOptions setting). In order for either method to work, one also needs to have DontZap set to 'off' in ServerFlags; however, from at least version R6.8.0 (year 2004) [1] this is the default.

Swapping Caps Lock with Left Control

To swap Caps Lock with Left Control key, add ctrl:swapcaps to XkbOptions. Run the following command to see similar options along with their descriptions:

Enabling mouse keys

Mouse keys is disabled by default and has to be manually enabled by passing keypad:pointerkeys to XkbOptions. This will make the Shift+NumLock shortcut toggle mouse keys.

See also X keyboard extension#Mouse control for advanced configuration.

Configuring compose key

Though typically not on traditional keyboards, a Compose key can be configured to an existent key.

The Compose key begins a keypress sequence that involves (usually two) additional keypresses. Usage is typically either for entering characters in a language that the keyboard was not designed for, or for other less-used characters that are not covered with the AltGr modifier. For example, pressing Compose'e produces é, or Compose--- will produce an 'em dash': .

Though a few more eccentric keyboards feature a Compose key, its availability is usually through substituting an already existing key to it. For example, to make the Menu key a Compose key use the Desktop environment configuration, or pass compose:menu to XkbOptions (or setxkbmap: setxkbmap -option compose:menu). Allowed key substitutions are defined in /usr/share/X11/xkb/rules/base.lst:

If the desired mapping is not found in that file, an alternative is to use xmodmap to map the desired key to the Multi_key keysym, which acts as a compose key by default (note that xmodmap settings are reset by setxkbmap).

Key combinations

The default combinations for the compose keys depend on the locale configured for the session and are stored in /usr/share/X11/locale/used_locale/Compose, where used_locale is for example en_US.UTF-8.

You can define your own compose key combinations by copying the default file to ~/.XCompose and editing it. Alternatively, create an empty ~/.XCompose and include the default one using include '%L', for example:

The compose key works with any of the thousands of valid Unicode characters, including those outside the Basic Multilingual Plane. Take a look at the Compose(5) man page, it explains the format of the XCompose files.

However, GTK does not use XIM by default and therefore does not follow ~/.XCompose keys. This can be fixed by forcing GTK to use XIM by adding export GTK_IM_MODULE=xim and/or export XMODIFIERS='@im=none' to ~/.xprofile.

Tip: XIM is very old, you might have better luck with other input methods: SCIM, Uim, IBus, etc. See Localization#Input methods for details.
Note: XIM will prevent insertion of Unicode characters with the Ctrl+Shift+u combination.

Currency sign on other key

Most European keyboards have a Euro sign (€) printed on on the 5 key. For example, to access it with Alt+5, use the lv3:lalt_switch and eurosign:5 options.

The Rupee sign (₹) can be used the same way with rupeesign:4.

Switching state immediately when Caps Lock is pressed

Those who prefer typing capital letters with the Caps Lock key may experience a short delay when Caps Lock state is switched, resulting in two or more capital letters (e.g. THe, ARch LInux). This occurs because Caps Lock is enabled immediately once the Caps Lock key is pressed, but is only disabled upon release of the second key-press. This behaviour stems from typewriters where a Caps Lock function was achieved by physically locking the shifted typebars in place, and the release of a shift key-press was the action that caused the release of the lock.

Some more popular operating systems have removed this behaviour, either voluntarily (as it can be confusing to some) or by mistake, however this is a question of preference. Bug reports have been filed on the Xserver bug tracker, as there is currently no easy way to switch to the behaviour reflected by those other operating systems. For anyone who would like to follow up the issue, bug reports and latest working progress can be found at [2] and [3].

Workaround

First, export your keyboard configurations to a file:

In the file xkbmap, locate the Caps Lock section which begins with key :

and replace whole section with the following code:

Save and reload keyboard configurations:

Consider making it a service launching after X starts, since reloaded configurations do not survive a system reboot. Thorlabs piezo driver for mac.

One-click key functions

To assign an additional one-click function to a modifier key, you can use xcape. For example it is possible to have CapsLock work as Escape when pressed alone, and as Control when used with another key. First set the Control swapping using setxkbmap as mentioned earlier, and xcape to set the Escape association:

You can set multiple associations separated with a semicolon, e.g.: Caps_Lock=Escape;Shift_L=Escape.

If you hold a key for longer than the timeout value (default 500 ms), xcape will not generate a key event.

Adjusting typematic delay and rate

The typematic delay indicates the amount of time (typically in milliseconds) a key needs to be pressed and held in order for the repeating process to begin. After the repeating process has been triggered, the character will be repeated with a certain frequency (usually given in Hz) specified by the typematic rate. Mac os sierra macbook pro mid 2009. Note that these settings are configured separately for Xorg and for the virtual console.

Using xset

The tool xset can be used to set the typematic delay and rate for an active X server, certain actions during runtime though may cause the X server to reset these changes and revert instead to its seat defaults.

Usage:

For example to set a typematic delay to 200ms and a typematic rate to 30Hz, use the following command (use xinitrc to make it permanent):

Issuing the command without specifying the delay and rate will reset the typematic values to their respective defaults; a delay of 660ms and a rate of 25Hz:

Using XServer startup options

A more resistant way to set the typematic delay and rate is to make them the seat defaults by passing the desired settings to the X server on its startup using the following options:

  • -ardelay milliseconds - sets the autorepeat delay (length of time in milliseconds that a key must be depressed before autorepeat starts).
  • -arinterval milliseconds - sets the autorepeat interval (length of time in milliseconds that should elapse between autorepeat-generated keystrokes).

See Xserver(1) for a full list of X server options and refer to your display manager for information about how to pass these options.

See also

  • Madduck guide on extending XKB (archived at Wayback Machine)
Retrieved from 'https://wiki.archlinux.org/index.php?title=Xorg/Keyboard_configuration&oldid=606290'

This may sound totally hilarious to people used to the english layout, but german programmers use shortcuts like Shift + 8 to write a [ and ALT-GR + 8 for a {. (Oh and semicolons are only available through shift - yay for C-style languages!)The main reason for this is that we have these useless little umlauts üöä that sit right where the useful keys for a programmer would be, were it not for the german keyboard. Locked macbook pro for sale.

But after years of arm-twisting and cursing you get used to that and develop a reasonable degree of efficiency even with a absolutely unsuitable keyboard layout.Only problem: these shortcuts are radically different on the Mac! (And breaking the built-in keyboard of your Laptop is not really an option as others suggest)

Instead of Shift 8 for a brace it's ALT + 5, and the backslash is skillfully hidden behind ALT+Shift+6 yuck!

So I tried for a few days and then I decided to stop the madness! Instead of learning to use yet another crappy german keyboard layout I started to use the standard english one. And it's awesome, once you get used to it feels absolutely natural, and it also shows that all programming languages have been written to be easy on people with english keyboard layouts.

Only problem: I was severly handicapped when writing german emails to customers or writing german translation texts. I mean, my friends and colleagues can read written out umlauts (ä = au .) just fine, but it looks totally stupid when writing something official and well phrased and you are misspelling stuff (ß can be sloppily substituted by ss, but there are cases where ss is orthographically wrong and in other cases ß would be wrong and ss right).

So I investigated and found this wonderful Mac program called Ukulele that allows you to write your own keyboard layout files for OSX. I took the standard US layout and altered it to incorporate the german umlaut keys where they are actually printed on the keys, but only if you hit ALT. So ALT + ; turns into a ö etc.

German Keyboard Layout Macbook Pro 2020

Here a quick overview of the english layout (notice how conveniently located all those symbols are):

And once you hold down ALT:

Since most people I mention this to usually give me a: 'wow that's a really good idea' I decided to simply upload the .keylayout file so people don't have to bother with Ukulele themselves.

You can download the keylayout here: US-daniel.keylayout.

Apple Macbook Pro Keyboard Layout

Installation:

Download the file and place it in ~/Library/Keyboard Layouts/, logout and log back into the machine.Now open your System preferences (Sprache & Text) and search for U.S. Tick the checkbox next to it and you can now select the U.S. Keyboard from the OSX menu bar.

German Keyboard Layout Macbook Pro 2017

Tipp: If you have the screen real estate to share and are still learning the english keyboard layout it's really useful to enable the 'Keyboard overview' (Tastaturübersicht anzeigen in german). You can see in real-time what keys are mapped to what buttons on your keyboard while holding down modifier keys.





broken image