Re: Trouble with backspace under Linux/i386
- To: mathgroup at smc.vnet.net
- Subject: [mg22601] Re: Trouble with backspace under Linux/i386
- From: paulh at wolfram.com (P.J. Hinton)
- Date: Mon, 13 Mar 2000 11:03:19 -0500 (EST)
- Organization: "Wolfram Research, Inc."
- References: <89qi3j$aom@smc.vnet.net> <8aej1o$398@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <8aej1o$398 at smc.vnet.net>, Laurent Jacques <ljacques at fyma.ucl.ac.be> writes: > Thank you for your answers to my problem. With these, I have finally found > a solution. > In fact, the problem is that 'NumLock' key is a modifier key in Mathematica > Unix/Linux > (I think that it's very troublesome and perhaps some Mathematica > developpers could change this fact in futur version). The selection of Num Lock as Mod2 is set in XFree86's default configuration. It can be changed through xmodmap or xkeycaps. > Anyway, with some command line options of Mathematica program (see them by > typing "Mathematica --help"), > I am able now to modify this trouble. It's simple. Instead of usual > 'Mathematica' command, just type (under 4.0): > > "Mathematica -primaryModifierMask Mod1Mask -secondaryModifierMask Mod3Mask" > > Be careful that this 'Mathematica' is in fact the binary program and not a > shell script which calls it. > In this case, modify the call of binary program inside the script. Specifying settings such as these through command line arguments is good for diagnostics, but once you have values that are to your liking, you should set them as X resources. You can add these lines to a .Xdefaults file in your home directory. ! Set these if you need to change what the FE uses for Primary (Command) ! and Secondary (Option) modifier keys. ! XMathematica*primaryModifierMask: Mod1Mask XMathematica*secondaryModifierMask: Mod3Mask -- P.J. Hinton Mathematica Programming Group paulh at wolfram.com Wolfram Research, Inc. Disclaimer: Opinions expressed herein are those of the author alone.