Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Mathematica

  1. #1
    Join Date
    Nov 2005
    Beans
    58
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Mathematica

    I am using Gutsy for work and Mathematica 6 works fine. I am running the dev release Hardy on a spare partition. Mathematica installs fine and the gui opens as it should (as long as libstdc 5 is installed), however, when typing into a mathematica notebook, nothing appears on the screen--its like the frontend cannot render fonts (unless you highlight what you just type, then it appears in white letters on dark).

    Anyone else experience this or have a clue as to what the problem is?

    I posted on the Hardy dev thread without success.

  2. #2
    Join Date
    Sep 2007
    Location
    Québec/Canada
    Beans
    49
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mathematica

    Hi,

    I just installed Mathematica 5.2 with Ubuntu 7.10 and i have the same problem...don't know what to do with this !

    Hope somebody can help.

  3. #3
    Join Date
    Sep 2007
    Location
    Santiago de Chile
    Beans
    10
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mathematica

    I've installed Mathematica 6.0 on my Ubuntu Feisty and when i start Mathematica everything freezes. It seems X just crashed and all i can do is restart my computer. Anyone with the same problem?

  4. #4
    Join Date
    Nov 2005
    Beans
    58
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mathematica

    A possible fix is to start mathematica with the -defaultvisual option. Solved my problem on Hardy.

  5. #5
    Join Date
    Aug 2006
    Beans
    4

    Re: Mathematica

    Thank you! That solution seemed to work. Just wish I'd known before I ended up reinstalling Mathematica, reformatting the computer, and waiting for (ultimately fruitless) responses from Wolfram support. Sent them an email with this information, hopefully they'll be able to diagnose/fix the problem faster for people who have it in the future.

    Anyway, for anyone who might come here via Google, my problem with Mathematica not working after I upgraded to Hardy, where it was showing no text or corrupted text, which appeared somewhat properly when highlighted, was solved with the solution provided by ravenon, start Mathematica by using the command "mathematica -defaultvisual".

    Thanks again!

  6. #6
    Join Date
    Jul 2007
    Location
    Anthem, AZ/Tempe, AZ
    Beans
    89
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mathematica

    is there any way to edit it so it always runs with "Mathematica -defaultvisual" ?? (i'm having this same problem with mathematica 6 on Hardy)

    btw thanks, it works great running with -defaultvisual. even the "help" function works now! (didn't in 7.10) only problem is compiz still makes mathematica spawn those two random blank windows lol.

  7. #7
    Join Date
    Nov 2005
    Beans
    58
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mathematica

    There are a couple of ways to get Mathematica to run with the option.

    1) A desktop or panel launcher where the command line is mathematica -defaultvisual

    2) You can put Mathematica on your application menu somewhere and make sure to use command mathematica -defaultvisual

    3) Create a shortcut key, I use Alt+Shift+W. For this open gconf (Alt+F2 and type gconf-editor)
    Go to apps->metacity->global key bindings. Pick a command, say run_command_1, double click it to edit and put <Alt><Shift>W
    Now go to keybindings commands and edit command_1, put in
    mathematica -defaultvisual

    Edit: Regarding the extra kernel windows when running compiz, open mathematica and go to Format->Options Inspector
    Choose Global Preferences. Go to Notebook Options, Window Preferences and change the WindowFrame to say "Generic".
    The extra windows will still flash when mathematica opens, but then disappear.
    Last edited by ravenon; April 8th, 2008 at 01:20 AM.

  8. #8
    Join Date
    Jul 2006
    Location
    MA
    Beans
    22
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Mathematica

    Man i had the same problems!!

    I was running mathematica just fine on Mandriva 2008.0, but with -defaultvisual enabled (after adding fontpaths to xorg.conf.. jeeesh).

    Then i upgrade to Hardy, and the thing opens bogus windows and displays no text!!

    The windows go when you turn off compiz, as has been said above, but i totally forgot i had used -defaultvisual, and so i gave up trying to get mathematica to work in Hardy.

    Now im writing from Mandriva 2008.1 spring, had the *exact same* text problem as Hardy, just found this thread and now mathematica is back in operation!

    So... back to Hardy.. (?)

    Thanks ravenon!!

  9. #9
    Join Date
    Apr 2008
    Beans
    2

    Re: Mathematica

    Unfortunately -defaultvisual adds some problems, and disables anti-aliasing. I have discovered the following:

    Quote Originally Posted by Tom Kalvoda
    (https://bugs.launchpad.net/ubuntu/+s...rg/+bug/197163)

    So, I got the font rendering right now. It seems that the version of Qt libraries supplied by Mathematica are incompatible with Hardy. This procedure worked for me:

    1) Make sure you have libqt4-core and libqt4-gui installed (use synaptics or aptitude),
    2) remove (delete or backup somewhere) these files:
    PathToMathematica/SystemFiles/Libraries/Linux/libQtCore.so.4
    PathToMathematica/SystemFiles/Libraries/Linux/libQtGui.so.4
    where PathToMathematica is typicaly /usr/local/Wolfram/Mathematica/6.0
    (Substitute Linux-x86-64 for Linux if needed.)

    Notes:
    1) I deleted ~/.fonts.conf, so fonts are set up as on a clean install of Hardy.
    2) If you remove only one of these files mentioned above, then Mathematica crashes.
    3) I have noticed another bug - which brought me to the idea that our problems are not only font-related - when I tried to print a notebook (File -> Print) then there were no printers in the drop down menu (any one else can confirm this?)! This issue is also solved by the procedure suggested above.

    Hope it helps.
    This has worked for me, running 8.04 x64 and Mathematica 6.0.1 (x64)

  10. #10
    Join Date
    Jan 2009
    Beans
    21
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mathematica

    none of this works for me. Intrepid x64 and mathematica5.2. tried Editing Xmathematica and with -defaultvisual but still a huge bunch of trasparencies.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •