MathGroup Archive 2003

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

Search the Archive

Re: M5.0 keyboard shortcuts with linux

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43944] Re: M5.0 keyboard shortcuts with linux
  • From: Marcus <marcus314 at yahoo.com>
  • Date: Wed, 15 Oct 2003 04:59:19 -0400 (EDT)
  • Organization: Comp.Center (RUS), U of Stuttgart, FRG
  • References: <bked9i$m46$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Omega Consulting wrote:
> There's a file that controls the key codes:
> 
> SystemFiles/FrontEnd/TextResources/(platform)/KeyEventTranslations.tr


this does not always work,

the changes in  KeyEventTranslations.tr  are overwritten
by conflicting settings in  MenuSetup.tr  (in the same directory).

e.g., if you would like to have the emacs C-a (MoveLineBeginning)
you have to add the following line in KeyEventTranslations.tr

   Item[KeyEvent["a", Modifiers -> {Control}], "MoveLineBeginning"],

by default, C-a is bound to "Enter Selection" in the "Find" menu,
therefore, in MenuSetup.tr, you have to remove the last argument from

   Item["Enter Selection",
        "SelectionSetFind", MenuKey["e", Modifiers->{Control}]],


_Question:_

Is it possible to do this not system-wide but only
for a specific user?  Where would I have to place the files?

placing the modified .tr files in the user preferences directory
~/.Mathematica/FrontEnd/5.0_Caches/Linux/SystemFiles/FrontEnd/TextResources/X
(Mathematica 5, Linux) does not seem work
(original location is
  ...Wolfram/Mathematica/5.0/SystemFiles/FrontEnd/TextResources/X)


Thanx,

Marcus Stollsteimer

-- 
Sometimes the delete key is your greatest friend. - Steve Martin


  • Prev by Date: Developing a "custom" special function
  • Next by Date: graph theory
  • Previous by thread: Developing a "custom" special function
  • Next by thread: Re: Re: M5.0 keyboard shortcuts with linux