Wednesday, August 19, 2009

Mathematica error - xset: bad font path element

Whenever I tried to start Mathematica 7 from command line, I get the following error and it exits,

xset: bad font path element (#23), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

The reason is that my terminal had wrong xset settings. To reset it I just had to press F9 in the terminal and like magic Mathematica started without any more error.

No comments:

Print chess board in command line

The following bash one-liner will print a chess board in a terminal (the script works for the shells bash and ksh only) for (( i = 1; i ...