Tag used to mark questions that specifically target Linux related aspects of Mathematica usage. this includes, but is not restricted to, its file system, installation issues, fonts,and running external programs.

learn more… | top users | synonyms

19
votes
5answers
1k views

Will Mathematica install and run on Raspberry Pi computer?

My club is considering buying a Raspberry Pi computer for tinkering. Can Mathematica be installed on and ran from it?
18
votes
1answer
943 views

Using ImageCapture to access a USB webcam in linux

Is it possible to access a USB webcam through Mathmatica on Linux? When I run ImageCapture[] I get the following output ...
15
votes
3answers
638 views

Opening a context menu (with the Menu key)

Is it by any chance possible to make the Menu key work as one would expect in Mathematica: opening a context menu? The Menu key does nothing in version 7 or 8 on Windows.
10
votes
4answers
393 views

Which Mathematica files may be deleted to save space

After installation Mathematica 8 for Linux takes more than 3GB in the /usr/local/Wolfram/ directory. I suspect that not all of it is relevant if I want to do some occasional computations. Are there ...
10
votes
2answers
2k views

Mathematica9 linux version crash, how to fix it?

Ubuntu 12.04 x86_64 kernel 3.2.0-35-generic Mathematica 9 linux version (x86_64) crashes with errors: X Error of failed request: BadGC (invalid GC parameter) Major opcode of failed request: ...
10
votes
2answers
345 views

Simultaneously running the same .m file with different inputs

I have my Mathematica code in a .m file and I run it from the command line with some parameters. I was wondering, if there is no overlap in input and output files, ...
9
votes
4answers
689 views

When running Mathematica from a Linux terminal, how can I prevent a script from terminating upon logout?

I am running Mathematica on a remote Linux cluster, by the terminal, using the math command. (I do not have access to a terminal GUI. For example, when I type the ...
8
votes
2answers
888 views

How to prevent the welcome screen from showing up after I close my last notebook? (Ubuntu 11.10, MMA 8.0.4.0)

I would like to prevent the welcome screen from showing up after I close my last notebook. This is not an issue on my Windows machine, so I suspect it is system dependent. I am running Ubuntu 11.10. ...
8
votes
2answers
576 views

Light syntax parser for Mathematica?

My netbook is too slow to install Mathematica. I'm not set against working in a text editor, but I like having an automated highlighting/formatting environment; can anyone recommend a good gedit ...
8
votes
1answer
761 views

Emacs key bind on Mathematica Linux

This might not be Mathematica specific question but if there is anyone who can use Emacs keybind on Ubuntu Linux, would you share how you realize it? I'm using Mathematica student edition both on ...
7
votes
4answers
448 views

Installing RLink on Linux

I'm trying to install RLink here. Needs["RLink`"] InstallR[] After downloading it throws an error: ...
7
votes
1answer
116 views

After modifying expression, new result doesn't replace old one

After I modify and re-evaluate an expression, the new result doesn't replace the old one. Rather, what happens is that the old result gets pushed down and Mathematica displays the current result at ...
7
votes
1answer
280 views

Manipulate slider unresponsive after suspend in Linux

I've tested Linux Mathematica versions 7-9 on various Linux distributions, with identical problem: after suspend/resume cycle my Manipulate controls (i.e. sliders&buttons) appear unresponsive, ...
7
votes
3answers
417 views

Image of input and output cells is not exported correctly

Wolfram Blog uses PNG images to display input and output cells in a notebook. For example, the following is an image from Samuel Chen's post: I should be able to produce a similar image by ...
6
votes
2answers
240 views

Using NotebookDirectory in batch-mode

I am running Mathematica via the terminal (Linux) and my .m-script contains the command: ...
6
votes
2answers
442 views

Trying to extract information from an MDB file. Import is too slow

I am running a Linux box and as usual the documentation for this type of box is not great. I am trying to open up and extract and possibly include later on information from a "mdb" file. The file ...
6
votes
2answers
348 views

Exporting twice crashes Mathematica on Ubuntu 12.04 with Unity

I'm trying to work out if it's a Mathematica, Ubuntu or setup specific bug. I've asked some colleagues to try it on other Linuxes. This also crashes on OS X with Mathematica 8.0 and fails with 9.0, ...
6
votes
1answer
480 views

CUDALink not working on Linux-64 and Asus GTX460

On my hardware I have a CUDA enabled video card an ASUS GTX460, yet Mathematica does not seem to recognize this. I have: CUDA Toolkit 4.1 CUDA SDK 4.0 NVIDIA Driver 295.49 on Sabayon Linux 64 ...
5
votes
2answers
477 views

Mathematica cannot find CUDA driver

I have successfully installed CUDA 5.0 on my Ubuntu 12.10, with driver 304.54, toolkit and samples. Running deviceQuery gives me a successful output: ...
5
votes
1answer
83 views

LibraryUnload fails

I can load my library, but I cannot unload it with LibraryUnload. I do have a ...
5
votes
0answers
62 views

How can I run MUnit tests outside of Workbench under Linux?

I would like to run MUnit tests from the command line. On Mac OS, I can do this: ...
4
votes
1answer
293 views

Exporting Cyrillics in PDF on Linux

I'm using Mathematica from Ubuntu. I need a normal font to display cyrillics inside PDFs. Any default font is very ugly, letters are too close together: ...
4
votes
2answers
113 views

Why does Mathematica stop when run in the background in command line mode?

If I try to start a Mathematica script in the background from the command line, like this: math -script someFile.m & then the process gets automatically ...
3
votes
2answers
639 views

Reinstalling Mathematica home edition with new linux distro

I bought Mathematica home edition and installed it under Ubuntu. During an Ubuntu upgrade the power went out and wrecked the process. I installed Linux Mate Debian Edition and tried to reinstall ...
3
votes
2answers
551 views

Is there a way to get user input when running a script on a Linux terminal?

I have access to a node of a Linux cluster, on which Mathematica is installed. However, I do not have access to a Linux GUI. Typically I write and test Mathematica scripts on my Windows personal ...
3
votes
2answers
146 views

Is Mathematica compatible with primusrun?

I use Mathematica 9 on Ubuntu 12.04 LTS x86 (64-bit). My computer has an Nvidia graphics card, for which I installed primus and ...
3
votes
1answer
267 views

Opening a notebook from command line in an existing front end instance

I am using Linux, and I would like to be able to programmatically open notebooks in a running Mathematica instance from the command line. Currently, doing something like ...
3
votes
4answers
696 views

Mathematica crashes X in Ubuntu

I'm using Ubuntu 13.10 and every time I try to start Mathematica, my Ubuntu session just crashes and I get thrown to the login screen. This also happens if I try to run Mathematica from another ...
3
votes
1answer
178 views

generating pdf using UseFrontEnd

I run mathematica on a remote server and run it in batch mode using /math -noprompt -script 'scriptname.m' & Now, I use ssh -X to connect to the server. The server is linux based and my computer ...
3
votes
0answers
90 views

Problem with exporting a plot with a legend to PDF

I've found a simple example that illustrates my problem: ContourPlot[x^2 - 1 == y, {x, -1, 1}, {y, -1, 1}, PlotLegends -> "Expressions"] When I try to export ...
3
votes
0answers
275 views

Ugly font rendering (ubuntu 12, overrides system settings)

Mathematica 9 on Ubuntu 12 renders fonts very poorly. Text is readable, but it makes it very hard to concentrate on programming. Since smoothing on Ubuntu on low DPI screens isn't very good either, ...
3
votes
1answer
517 views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
3
votes
0answers
338 views

Ubuntu 12.10 no window focus on help browser

The help browser is not getting window focus when clicked on it. Clicking links or buttons in the help browser works without window focus, but copying code or typing in it doesn't. I can get window ...
2
votes
2answers
386 views

Difference between sub MathKernel and MathKernel

When I try to run Mathematica processes in parallel on a Linux based server, I see that my server allows 7 MathKernels and 28 sub MathKernels. I was wondering what the difference is and how I can take ...
2
votes
3answers
315 views

Exporting to quicktime in linux version?

In MMA (8.0.0/Linux), I tried to to create an animation using the command Export["s4s5mov.mov", listOfFigures] and got the output Doing a little research, one ...
2
votes
1answer
472 views

Installing Mathematica's package in Linux

I copied the package folder (ProPac, http://www.pages.drexel.edu/~hgk22/software/ProPac/ProPac.html) in $UserBaseDirectory/Applications in Linux mint. But when I ...
2
votes
1answer
92 views

Defining conditional Notation rules

I am trying to define a notation rule so that for selected symbols subsripts will be equivalent to function parameters. My understanding of the docs suggests the following ...
2
votes
1answer
87 views

How to get CUDALink working on linux (Crunchbang Waldorf) with NVS 3100m

I am trying to get CUDALink working on my laptop. I am running Crunchbang "waldorf" which is based on Debian 7 "wheezy". I am a linux novice. The issue is that Mathematica can "see" the nVidia ...
2
votes
1answer
194 views

3D plots wrongly displayed when using GraphicsRow in Linux

I get an incorrect vertical offset in 3D plots when using GraphicsRow in Mathematica 9 (Linux - Ubuntu 12.04). When displayed by itself, the plot is fine. Here's an example: ...
2
votes
1answer
154 views

Why cant I open CDF's in the Chrome browser on Linux?

I have google chrome on ubuntu 13.04. Every time I try to run a CDF on wolframs website, I'm required to download the CDF first, and then open it in my computer, but when I was using windows it was ...
2
votes
0answers
204 views

Can not launch Mathematica 8 on Lubuntu

I am trying to launch Wolfram Mathematica 8 Home Edition. The installation itself occurred without a hitch. Note: "..." indicates my machine name, username, etc. Linux Version ...$ uname -a Linux ...
1
vote
2answers
147 views

MathLink Graphical Output (Plots) to File

In a custom Mathematica frontend based on MathLink I try to make use of plots produced in Notebooks. The idea is to write them to files whenever they get produced. According to C-code snippets I ...
1
vote
1answer
211 views

CDF Player crashes on start-up Ubuntu 12.04 LTE

I'm not sure if this is the right place to ask this, if not, please redirect me. I am trying to get Mathematica's CDF player running on Ubuntu 12.04 LTE (Precise Pangolin). This should be fairly ...
1
vote
3answers
382 views

Possible bug in v9.0 Rest[] function

Just to be clear, this all works perfectly in v8.0.4.0. It only fails me in v9.0. I use 64-bit Linux, 64-bit versions of Mathematica, and I have 16GB of RAM. I have a data file formatted as ...
1
vote
2answers
161 views

Exporting graphics without X server

I have a Mathematica installation on a Linux server that is intended to be used for batch processing. Some of the things that will be processed will include rendering of graphics. However, if I use ...
1
vote
0answers
128 views

How can I access Mathematica kernel for WebMathematica in Linux(Ubuntu 12.04)

I have been working in webMathematica with Application server(Geronimo 3.0.1) in windows, It was working fine. Recently I have changed to Linux(ubuntu 12.04). I ...
1
vote
0answers
121 views

webMathematica on Linux

I have been using Mathematica and webMathematica (with application server) in Windows and it was working fine. Recently we changed to Linux, so I have to install both Mathematica and webMathematica ...
1
vote
0answers
85 views

Troubleshooting duplicated plots [closed]

Everytime I draw a plot (I tried in many different ways and the result is always the same) using the kernel I get it twice. The one I want and a copy. I tried, for example, with this code: ...
0
votes
1answer
146 views

Autocomplete not working on Mma9 on Linux

I started using Mathematica 9 on Ubuntu 12.10 and, sometimes, autocomplete doesn't work. The suggestions window shows up for just a fraction of second, and quickly disappears. Do you have any idea on ...
0
votes
1answer
67 views

How can I restrict a notebook to evaluate only if I am user 'root'?

I am playing with openCL on Linux with an AMD gpu, and due to a glitch in the driver, I need to be 'root' to get stuff to work. Installation question here.