Troubleshooting on Mac

One problem I faced when I first set up my Mac was that the keyboard shortcuts did not work; instead of getting the desired action, I got weird Greek letters appearing here and there. At first, I thought this was PyCharm's fault, but it wasn't.

The main problem was that the keyboard layout I was using, U.S., had special characters appearing when the Alt/Option key was pressed. In order to actually use my keyboard shortcuts, I had to change my layout to something that did not have these special characters appearing. Here is the solution to this problem.

  1. Download the key mapping file from Packt's website.
  2. After you've downloaded it, move it to ~/Library/Keyboard Layouts.
  3. Once you've saved the file there, all you need to do is make it your main keyboard layout. To do this, you need to head over to System Preferences:
    1. Go to Keyboard:
      Troubleshooting on Mac
    2. And then, choose to add a new one by clicking on the + button:
      Troubleshooting on Mac
    3. Choose Others, as shown in the following screenshot:
      Troubleshooting on Mac
    4. Once you've added it, you can now use My Layout:
    Troubleshooting on Mac

Your keyboard shortcuts should now function as expected.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.254.35