Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
1. Use the programm xev to find out the keysym names of the characters to configured. In this example I am using the following:
character keysym --------- ------ { braceleft [ bracketleft ] bracketright } braceright
2. Decide which key will be used with which characters to produce the characters to be configured. Here, I will use the Alt_GR key with the characters "7", "8", "9", and "0", to produce "{", "[", "]" and "}".
3. Select the X Environment InformationHelp menu, and use the Find Keys and Modifiers option to find out which Mod key the Alt_GR key is set to. In this example Alt_GR key is set to Mod2 if it is not currently set to any Mod key you can set it here.
4. Add a line to the XMathematica file in the ~Mathematica/FrontEnd directory for eachh key. Currently the file will have an entry like
*Notebook.translations: #override \n\ <Btn1Up> selection-put() \n\ <Btn1Down> selection-get()The new lines can be added as follows:
*Notebook.translations: #override \n\ <Btn1Up> selection-put() \n\ <Btn1Down> selection-get() \n\ Mod2<Key>7: key("braceleft") \n\ Mod2<Key>8: key("bracketleft") \n\ Mod2<Key>9: key("bracketright") \n\ Mod2<Key>0: key("braceright")This should set the key combinations Alt-GR + "7", "8", "9" ans "0". to the characters "{", "[", "]" and "}".
\n\
in all lines is not forgotten in the
last one.
Keywords: MATHEMATICA, ALTGR, KEYS, [
Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-kfr_34
)
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch