Questions tagged [linux]
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.
208
questions
25
votes
4
answers
8k
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 ...
23
votes
5
answers
3k
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?
23
votes
1
answer
2k
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
...
23
votes
1
answer
1k
views
Why did the Mathematica installer delete all my files?
So I was installing the new 13.1 doc on Linux. Somehow during the process, I decided to stop the operation. And the next thing I knew was that the complete folder where the .sh file was there was ...
23
votes
2
answers
2k
views
Can Mathematica act like a web server?
I have a Mathematica program that modifies images that I would like to make available for other people to use through the web. The input is only one parameter. So, for example, I could run it as a ...
22
votes
3
answers
3k
views
Prevent 10.2 from creating "Wolfram Mathematica" directory on Linux
Since upgrading to version 10.2.0.0, every time I start the Mathematica front-end it creates a "Wolfram Mathematica" directory under my home directory. (It never seems to put anything in it.) Anybody ...
21
votes
1
answer
3k
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
/opt/Wolfram/Mathematica/8....
19
votes
3
answers
14k
views
Can't launch Mathematica 11 on Fedora 29
I've tried installing Mathematica 11 on Fedora 29 using the .sh install file. The installation seems to have worked (no errors and everything looks normal). However, when I attempt to run Mathematica ...
16
votes
3
answers
2k
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.
15
votes
4
answers
1k
views
Opacity in Mathematica 12.1 not working properly
In Mathematica 12.1 if I try use Opacity less than 1, it does not work.
...
15
votes
2
answers
1k
views
Evaluate expressions within Vim
I want to be able to type a quick Mathematica expression, such as
550/3. (e.g. common math),
...
15
votes
2
answers
4k
views
Why PlotStyle->Dashed make everything dashed?
Bug introduced in 10.0.1 and fixed in 10.0.2 -- appears to affect Linux only.
It has been really strange for me. I am not sure it's regression after v10.0.1, or something went wrong with my system. ...
15
votes
3
answers
1k
views
Manipulate slider unresponsive after suspend in Linux
Bug fixed in Mathematica 11
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&...
14
votes
2
answers
2k
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 ...
13
votes
1
answer
2k
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 ...
13
votes
2
answers
701
views
Anti-aliasing not working in Mathematica 10 and Linux
This issue appears to be fixed in version 10.1
While this works fine in version 9, in version 10.0 the Antialiasing setting has no visible effect any more
I'm here on Ubuntu 12.04 64-bit with Gnome ...
13
votes
1
answer
902
views
On comparable hardware, is Mathematica known to perform better in one operating system over the others?
Have any benchmarks been published by Wolfram Research to compare the performance of Mathematica in the major operating systems (Windows 10, Linux, MacOS)? If not, has anyone here performed such ...
13
votes
1
answer
467
views
Greek variables in 10.0.1
Bug introduced in 10.0.1 and fixed in 10.0.2
10.0.1 under Ubuntu 12.04 x64 ....
Does everybody get greek variables emboldened?
Is anybody aware of how to revert to previous normal display?
The ...
13
votes
0
answers
787
views
Incorrect Display on Linux (+HiDPI)
I have Linux on a HiDPI laptop, and after first installing Mathematica, the default font size is far too small:
After searching for a few solutions, this can be fixed by either changing the ...
12
votes
3
answers
3k
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. ...
12
votes
4
answers
1k
views
Switch actions of Shift+Enter and Enter in notebook interface?
How can I switch the functionality of the Enter and Shift+Enter key combinations in Windows?
I find Matlab's interface more intuitive sometimes. By default in Mathematica's front-end, the Shift+Enter ...
12
votes
2
answers
865
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, ...
12
votes
1
answer
2k
views
Install Mathematica 11.3 on 32bit Lubuntu 18.04 not work default to 64bit version
I'm recently installing Mathematica 11.3 on my 32bit Lubuntu 18.04.
The installer installs 64bit version of Mathematica in default, so I can not run the installed version.
Below is the error output ...
12
votes
2
answers
2k
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 ...
11
votes
7
answers
2k
views
Installing RLink on Linux
I'm trying to install RLink here.
Needs["RLink`"]
InstallR[]
After downloading it throws an error:
...
11
votes
1
answer
660
views
WSTP broken by upgrade to 10.0.1?
Bug introduced v10.0.1 and fixed in 10.0.2
Everything was working fine with WSTP (the successor to MathLink) in 10.0.0. But I upgraded to 10.0.1 today and now I can't compile either my programs (I've ...
11
votes
1
answer
2k
views
How to print $\odot$ without it being cropped? (\[CircleDot] symbol)
Preamble:
In some applications (astronomy, cosmology, etc), it is useful to measure things in solar quantities, say distances in $R_\odot$ or masses in $M_\odot$, and so on. Now and then I see ...
11
votes
1
answer
1k
views
Version 10.2, key shortcuts for matching brackets do not work?
Bug introduced in 10.2
System: Linux
Once updated to 10.2, my Alt+} and Alt+) do not return a pair of brackets but a single right one, as if Alt is not pressed. Alt+] still works.
10
votes
2
answers
3k
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
1
answer
397
views
Connecting Mathematica on Windows to a kernel running on WSL
Suppose I want to run Mathematica on a WSL kernel, but use a Windows installation of Mathematica as its front end. (For any purpose that requires a Mathematica installation on Linux, there are still ...
9
votes
3
answers
2k
views
Wrong font selection for some characters in Mathematica 10 for Linux
I've just started using Mathematica 10 on Linux and have immediately run into problems with the fonts. Fonts on Linux are always a headache, but I had managed to find a reasonable one in "Century ...
9
votes
2
answers
2k
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:
...
9
votes
1
answer
2k
views
How to activate Mathematica through remote license server from command line?
I am trying to activate Mathematica from the command line (I am logged remotely) by connecting to a remote network license server, but no success so far. I run the command ...
9
votes
2
answers
2k
views
Using NotebookDirectory in batch-mode
I am running Mathematica via the terminal (Linux) and my .m-script contains the command:
...
9
votes
2
answers
341
views
LibraryUnload fails
I can load my library, but I cannot unload it with LibraryUnload. I do have a ...
9
votes
2
answers
1k
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 selecting ...
9
votes
1
answer
312
views
Kernel starts up very slowly on Linux
V 12.1.1, starting a kernel, e.g. by entering wolframscript in the shell, takes an unexpectedly long time (~5 min, the time elapsed between pressing Enter and the ...
9
votes
1
answer
4k
views
How to set icon for Mathematica in Ubuntu Linux?
I installed Mathematica 9 and 10 on Ubuntu Linux 14.04 with Unity. How to set icons for them? At the moment they show up as gray squares with a question mark in it on the dock.
9
votes
0
answers
661
views
Keyboard issues with Mathematica 9.0.1 for Linux [closed]
After working for a while with Manipulate function and increasing the number of variables to be manipulated, keyboard stops working properly in the Notebook. It ...
8
votes
3
answers
2k
views
When exporting text, how can I set the line separator?
I want to export a string for a bash script. The terminal is naturally very picky when it comes down to the "\n\r" vs "\n", Windows vs. Linux, new line issue.
How can I teach Mathematica to use "\n" ...
8
votes
3
answers
259
views
Unmodified Clipboard content
How do I get unmodified text content from the clipboard?
If you copy the following into the clipboard and use ClipboardNotebook[] ...
8
votes
1
answer
439
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:
...
8
votes
1
answer
11k
views
How to uninstall Mathematica in Linux
I installed Mathematica 10 long ago on my GNU/Linux Debian. Now I want to install Mathematica 11.0.1. The directory that I installed Mathematica 10 is /home/programfiles/mathematica/10. That is to ...
8
votes
1
answer
764
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 ...
8
votes
2
answers
1k
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 ...
8
votes
1
answer
342
views
Gnome wants to kill Mathematica 10 during selection
I am using Linux (CentOS, Gnome 3.8.4) and I suspect this is an OS dependent problem.
When I input some text, and use mouse to select the text as follows: First press the mouse left button, keep ...
8
votes
1
answer
1k
views
How to customise the appearance of the menubar and scrollbar on Linux?
I am using Mathematica 12 on linux and would really like the dracula type theme for ...
8
votes
1
answer
1k
views
Mathematica 10.4.0 hang on startup, killing WolframKernel fixes it
I just upgraded to Mathematica 10.4 (Site Home Use) on Ubuntu 15.10 (x86-64). After entering the activation key and clicking Activate, I got a message "Activation was successful", and then the window ...
7
votes
2
answers
4k
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 ...
7
votes
2
answers
1k
views
Qt plugins in Mathematica 12.1
I recently upgraded to version 12.1. When running from terminal, program crashes, with the following error:
...