Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The help browser of Wolfram Mathematica is not getting window focus when clicked on it. Clicking links or buttons in the help browser works without the window focus, but copying code from or typing in it doesn't. I can get window focus on the help browser by using the alt+tab or the Window menu though. Switching focus between notebooks behaves normally.

I'm running Mathematica on Ubuntu 12.10. Mathematica is the only software that has this behavior.

Has anyone else experienced this behavior or know a solution to it?

P.S. Question posted on too.

share|improve this question

closed as off-topic by jokerdino Aug 7 '13 at 16:29

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Bug reports and problems specific to development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – jokerdino
If this question can be reworded to fit the rules in the help center, please edit the question.

Perhaps you should upgrade to 13.04 first... – haneefmubarak May 12 '13 at 18:27
At the time of my question 13.04 wasn't released yet... But I can report now that 13.04 behaves similarly. – A. Goossens May 13 '13 at 9:15
Try upgrading to mathematica 9. – haneefmubarak May 14 '13 at 1:59
At the time of my question mma9 wasn't released yet... But I can report now that mma9 (even 9.0.1) behaves similarly. – A. Goossens May 14 '13 at 10:01
@haneefmubarak: your two errors could have been prevented by just looking at the date at which i posted the question. Once bitten, twice shy... – A. Goossens May 14 '13 at 10:04

The problem likely lays in one of two places

Suggested resolution not ordered by importance

  1. The window manager (compiz)
  2. The Java runtime

The window manager could just be giving you a hard time, they're easy to replace.

Ubuntu is not installing the Oracle Java by default anymore due to licensing issues. It's conceivable that the opensource version has a Java bug resulting in this window focus issue. Determine which version of Oracle Java you need ( don't install v7 unless necessary) and retry. Since Oracle Java is unsupported, I don't wish to cite other installation references as I don't know how well they work or even if they're secure.

Finally, Wolfram support is awesome, if you've paid for MM you should be able to get a response in a day or two. I remember being in their beta program for MM 4.0, they forgot to statically link motif to the build and the only reason it worked on my system ( well sorta worked) was because I had lesstif installed. They turned around the fix in about 2 days.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.