MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

solution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94616] solution
  • From: liquid.phynix at gmail.com
  • Date: Wed, 17 Dec 2008 06:36:47 -0500 (EST)

Hello!

I found out a solution for the Alt-Gr issue.

Open /usr/local/Wolfram/Mathematica/7.0/SystemFiles/FrontEnd/
TextResources/X/KeyEventTranslations.tr file on your system.(eg.: sudo
nano ..., paths may vary).

Then somewhere under "EventTranslations[{" type some newlines, then
paste this literally:

Item[KeyEvent["ISO_Level3_Shift"],
FrontEndExecute[{FrontEnd`NotebookWrite[FrontEnd`InputNotebook[],
Sequence[], After]}]
],


This code translates the Alt-Gr key(ISO_Level3_Shift) to produce
something in the notebook, which is in this case nothing, becase
Sequence[] evaluates to nothing, albeit its syntactically correct.

Restart mathematica, and enjoy its once again slow interface under
Linux :(

i used version Mathematica 7.0.0, kernel 2.6.27, 64bit, Arch Linux, X.org
v11.0.

by the way: you can define shortcuts in this file easily.


  • Prev by Date: Re: Plot and filling option
  • Next by Date: Re: Plot and filling option
  • Previous by thread: Re: Forcing Trig Identities
  • Next by thread: A Version 7 Symbolic Integration Problem