# Fraction shortcut does not work, KeyEventTranslations.tr gets ignored

The fraction shortcut is not working.

Any change in my file KeyEventTranslations.tr in my directory /usr/local/Wolfram/Mathematica/10.3/SystemFiles/FrontEnd/TextResources/X gets ignored.

How to (possibly) reproduce it:

1. Go to

FileNameJoin[
{\$InstallationDirectory,
"/SystemFiles/FrontEnd/TextResources/X/KeyEventTranslations.tr"}]

2. Do ANY change and save the file. For example: Make a " in the beginning of the file or change

Item[KeyEvent["Up"], "MovePreviousLine"],
Item[KeyEvent["KP_Up"], "MovePreviousLine"],
Item[KeyEvent["Down"], "MoveNextLine"],
Item[KeyEvent["KP_Down"], "MoveNextLine"],


to

Item[KeyEvent["Up"], "MoveNextLine"],
Item[KeyEvent["KP_Up"], "MoveNextLine"],
Item[KeyEvent["Down"], "MovePreviousLine"],
Item[KeyEvent["KP_Down"], "MovePreviousLine"],

3. Open Mathematica 10.3 and see if anything changed.

4. In my case nothing changes. There is no reaction to any change I do.

I'm using Mathematica 10.3 on Ubuntu 14.04.3 LTS and this file of KeyEventTranslations.tr is the only one on my harddrive.

How can that be and what can I do to make it work?

• If it helps, I'm happy to provide you with further information. – ungerade Dec 4 '15 at 13:19
• Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! – Michael E2 Dec 4 '15 at 13:25
• Without further information nobody will be able to answer this. Also, changes to this file definitely have an effect and are not ignored. – sebhofer Dec 4 '15 at 13:27
• @sebhofer I can confirm issue. Here is a workaround mathematica.stackexchange.com/questions/1606/… – William Dec 4 '15 at 18:17
• I can confirm the issue: from 10.3 on, the custom shortcuts in KeyEventTranslations.tr are not taken into account. It was OK up to v 10.1 I think... – coussin Feb 19 '16 at 9:16

I found a fix that worked in my case:

1. Open MenuSetup.tr (in my case, on Linux, it was in /usr/local/Wolfram/Mathematica/10.3/SystemFiles/FrontEnd/TextResources/X/MenuSetup.tr)

2. Change

MenuItem["&Fraction", "Fraction", MenuKey["/", Modifiers->{"Control"}]],

to (add ,"Shift")

MenuItem["&Fraction", "Fraction", MenuKey["/", Modifiers->{"Control","Shift"}]],

1. Restart Mathematica
• Thanks for your hint. It works also for me Mathematica 10.2 Ubuntu 16.04 LTS. – Eik Feb 27 '17 at 16:36