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 I’m 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
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.
Probably because it only takes two Ctrl+a and then Shift+Enter.
About your modification, it is good idea to not mess with installation directory but to create correspoding path in $UserBaseDirectory.
p.s. here is a mma.se topic about the same issue: 33197. I find your solution better then using KeyEventTranslations.tr.
This works on Mac also. I chose Command-Option-E because F8 is assigned to iTunes play/pause by default. Here is the solution:
Note: do not copy and paste the above inserts into your MenuSetup.tr file or Mathematica will give you an error message on launch. This is because the quotes around the "F8" or "E" must be straight quotes, not curly quotes. I don't know why they showed up as curly quotes in this post, but I realized the error when I copied and pasted from my post after installing 11.3. Lol.
Or perhaps a keyboard shortcut to restart the kernel and then run the entire notebook as a single operation would be a useful time-saving feature?