I recently upgraded to Mathematica 11 for some side projects. I love the program, but I was annoyed to see that there is no keyboard shortcut for the Evaluate Notebook command. F8 appears to be unused in the normal configuration on Linux. So Im posting a solution for adding F8 as a keyboard shortcut for Evaluate Notebook:
If you are on Linux, all you have to do is edit /usr/local/Wolfram/Mathematica/11.2/SystemFiles/FrontEnd/TextResources/X/MenuSetup.tr
- Make a backup of MenuSetup.tr
- Open MenuSetup.tr
- Search for Evaluate Notebook
- Youll find the correct line (there is only one). Add , MenuKey[F8, Modifiers->{}] after EvaluateNotebook
- The revised line should read MenuItem[Evaluate N&otebook, EvaluateNotebook, MenuKey[F8, Modifiers->{}]],
- Re-launch Mathematica, and you should see F8 next to the Evaluate Notebook command. Try it out.
- Success!
Is there some reason why there is no keyboard shortcut for Evaluate Notebook? I am at a loss because it is simple to add one.