The Computer Oracle

How to use a Windows keyboard on Mac OS X?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Bleepage Open

--

Chapters
00:00 How To Use A Windows Keyboard On Mac Os X?
00:45 Accepted Answer Score 11
02:20 Answer 2 Score 9
02:40 Answer 3 Score 4
03:15 Answer 4 Score 1
04:23 Thank you

--

Full question
https://superuser.com/questions/276305/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #macos #keyboard #keyboardshortcuts #remotedesktop

#avk47



ACCEPTED ANSWER

Score 11


You might have a look at Ukelele, a free Mac OS X Keyboard Layout Editor :

Ukelele is a Unicode Keyboard Layout Editor for Mac OS X versions 10.2 and later. Version 2.0 and later are only for Mac OS X versions 10.4 and later.

Beginning with version 10.2 (Jaguar), Mac OS X supports an XML-based format for keyboard layouts (.keylayout files). These may be installed by copying them to the Keyboard Layouts folder within /Library or ~/Library; then they are enabled via the Input tab of the International (Language & Text in 10.6) module within System Preferences.

However, modifying keyboard layouts—let alone creating entirely new keyboard layouts, such as for a new script—by directly editing the XML text is tedious and error-prone.

Ukelele aims to simplify keyboard layout editing by providing a graphical interface to .keylayout files, where the desired characters can simply be dragged onto keys as needed. (The Character Palette or Character Viewer, available in the Input menu if it has been enabled in System Preferences, is a great place to find the characters.)

In addition to simple assignment of single character codes to keys, Ukelele can assign multiple-character strings and can create "dead keys", where a keystroke sets a new state that modifies the output of the following keystroke.

For more information about Mac OS X keyboard layouts, as well as existing layouts available for download, see Input Resources. For some types of layout, particularly with large numbers of dead-key sequences, creating a layout with the text-based tool KeyLayoutMaker may be a useful alternative.

image




ANSWER 2

Score 9


The problem is that your modifier keys are incorrectly set. You can fix this by going to System Preferences > Keyboard > Modifier Keys. Change the settings around until you get the correct configuration for your keyboard.

enter image description here




ANSWER 3

Score 4


You might try under system preferences / language & text / input sources. I see, for example, "British" and "British - PC" as separate categories. Selecting the latter seems to cause keys to map correctly to my British (Logitech) PC keyboard. This is after installing the Logitech Device Manager (with no visible effect) and headscratching over the contents of Library/Keyboard Layouts. This in on 10.8.3, for what it's worth.




ANSWER 4

Score 1


System Preferences > Language & Text > Input Sources includes many PC layouts, and there are also premade PC layouts for languages like German and French.

You can use Ukelele to create your own keylayout:

  • Select File > New From Current Input Source.
  • Change the keys.
  • Save as bundle to /Library/Keyboard Layouts/. Keyboard layouts in ~/Library/Keyboard Layouts/ can't be selected in password dialogs or the login window, and the popovers shown when holding keys don't work with normal .keylayout files.
  • Log out and back in and enable the input source in System Preferences > Language & Text > Input Sources.

To apply changes to a keylayout, you have to for example run sudo touch /Library/Keyboard Layouts/ and log out and back in. You can disable the default input sources by editing the com.apple.HIToolbox plist.

Another option is to use Karabiner (previously called KeyRemap4MacBook):

You can remap keys in the user interface and it takes effect directly.

Or if you can consider switching to the U.S layout, it has all ASCII characters in the same positions on Mac and Windows.