I have the same issue as described in
https://matteochinazzi.wordpress.com/2010/04/12/mathematica-alt-gr-issue-under-linux/
So basically whenever I use AltGr to write [ or ] in Mathematica, it automatically creates one blank space before the bracket symbol. The above fix, however, crashes my Mathematica on startup, I get the error message:
A serious error has occurred while Mathematica was starting up. Mathematica will probably not function properly until this problem is resolved. You may choose to continue anyway, but Mathematica may crash or exit without warning
There was a syntax error on line 10 in text resource KeyEventTranslations. The error was: @@resource KeyEv
For me this error message is no help, since it says that the code from the blog I linked above does not work, but gives no clues to what exactly is wrong. Did anyone here encounter the same problem, or has any ideas?
Important info: This occurs on a QWERTZ keyboard layout.