Search code examples
spyderminicondamacbookpro-touch-bar

How do I enable the function keys on the Touch Bar for Spyder by default?


I have installed python 3.7.7 and Spyder 4.1.2 on my MacBook (macOS 10.15.4) using miniconda. As far as I understand, Spyder is not a stand-alone app, but runs through python. Hence, I followed these instructions so that Spyder is recognized as an App by macOS. This is working, and I can use the function keys on the Touch Bar by pressing fn, but I cannot get Spyder to use the function keys on the Touch Bar by default. When I follow the official steps by Apple, I can select the Spyder 'app' from the menu, but then I get the error

You cannot add keyboard shortcuts for the application spyder.

Thanks for your help!


Solution

  • Using the personal edition of Anaconda (1.9.12) on MacOs 10.15.6, I was able to make the Fn keys appear in Spyder (launched through Anaconda-Navigator).

    I used Keyboard->Shortcuts->Function Keys and added /Users/USER/opt/anaconda3/python

    Best wishes