Fixing the keyboard layout into a MacOsx computer when running Citrix receiver.

Problem: When starting Citrix receiver, the keyboard detection may not work. The keyboard layout selected by the Citrix receiver may differ from your Apple physical keyboard.

Solution: Change the keyboard layout from "KeyboardLayout=(User Profile)" to KeyboardLayout=Swiss French or to KeyboardLayout=German into Citrix Receiver Config file. The Config file can be found in "/Users/[User]/Library/Application Support/Citrix Receiver".

How to:

  1. Open a terminal session (Finder / Applications / Utilities / Terminal)

  2. Copy the 2 lines below and paste it into the terminal

  3.      cd $HOME/Library/Application\ Support/Citrix\ Receiver
         sed -e 's/KeyboardLayout=(User Profile)/KeyboardLayout=Swiss French/' -i SAVE Config

  4. Press Enter

HOW to setup a Citrix keyboard layout on a MAC-OSX (Yosemite, El Capitan)

* The most common keyboard layout settings are: