Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JetBrains products not showing FN keys on touchbar

I have a Macbook with touchbar and wanted to set touchbar to always show FN keys for JetBrains apps. I have done it in preferences, same as for other apps. FN keys shows as default in those apps when they are in focus but not in the JetBrains apps.

like image 970
Saša Šijak Avatar asked Apr 04 '17 06:04

Saša Šijak


People also ask

How do I get the function keys on Touchbar?

To show the function keys ( F1 , F2 , and so on) on the Touch Bar, hold down the Fn key. You can also make function keys display permanently for selected applications, as described in the following Apple support article.

How do I enable F keys on Mac?

On your Mac, choose Apple menu > System Preferences, click Keyboard , then click Keyboard. Select “Use F1, F2, etc. keys as standard function keys” or “Use F1, F2, etc.

Why is my Mac touch bar not working?

Head to System Preferences → Keyboard. Under the Touch Bar shows dropdown list, make sure App Controls is selected. Also, check that Show Control Strip is enabled. If your settings are as they should be, it's time to check your macOS version.

Why is my MacBook pro touch bar not showing volume?

Set the Volume Button to Always Show Click on the Apple menu, and go to System Preferences. Select Dock and Menu Bar. Click on Sound. Locate the Show volume in menu bar option and tick the checkbox.


3 Answers

If you are using ToolBox App to install your JetBrains products then please have a look at the comments in IDEA-167332 ticket -- you will have to locate your apps in ~/Library/Application Support/JetBrains/Toolbox/apps/ folder.

Downside -- you need to repeat this to every new build of such app that you will install as the path to actual app will be different every time.


UPDATE: the aforementioned ticket has been marked as fixed for 2018.2.x version version. You now have an option on Preferences | Keymap screen.

like image 137
LazyOne Avatar answered Sep 28 '22 02:09

LazyOne


By default it is not possible to select inside of an app folder. So in order to be able to get the function keys configured, follow the following steps:

go to: System preferences -> Keyboard -> Shortcuts -> Functions keys

Click the + icon

Then press CMD+SHIFT+G to open up a path window. Enter: ~/Library/Application Support/JetBrains/Toolbox/apps

Select the correct application and version to make the function keys work again.

Repeat for every application you use.

like image 42
Rob Harings Avatar answered Sep 28 '22 03:09

Rob Harings


I wanted to list the simplest way I've found. It is based on Rob's related, helpful answer to this question, but I've tried to make it simpler and clearer, without unnecessary steps.

  • Go to System Preferences > Keyboard > Shortcuts (tab).

  • Click "Functions Keys" from the pane on the left.

  • Click "+". A file picker will pop up.

  • Select your application; e.g. CLion or IntelliJ.

That's it. Now, when you open up your application, you will see function keys in the touch bar.

macOS > System Preferences > Keyboard > Shortcuts

like image 40
David J. Avatar answered Sep 28 '22 03:09

David J.