With a fresh installation of Mathematica on a new raspberry pi 4, I find that the links to help and documentation and the Wolfram site are all erroneously prefaced by "/home/pi" which causes an error since the links are then not found. I tried 3 modes of installation : (i) rpi menu add software (ii) sudo apt-get ... (iii) running the installation shell on the Wolfram rapberrypi site. All gave the same result: succesful installation but this same problem. I would be glad of any fixes (e.g. in Options) or ideas how to correct the installation. Is there some way of seeing what variable it is that contains this information, which is erroneously set to the default installation place for Wolfram-Engine, corrupting network links from http://.. to /home/pi/http://.. ?
1 Answer
$\begingroup$
$\endgroup$
The solution was to reinstall xdg-utils with
sudo apt-get install --reinstall xdg-utils
(many thanks to ilian for linking the problem to xdg-open rather than Mathematica).
xdg-open 'http://www.google.com'
? $\endgroup$xdg-settings
, on my RPi 4 thedefault-web-browser
property is set tochromium-browser.desktop
$\endgroup$xdc-settings --list
returned only the Default browser and URL manager. Setting the default-web-browser to chromium-browser.desktop produced no change. I then reinstalled xdg-utils withsudo apt-get install --reinstall xdc-utils
. Now everything is working at last - no /home/pi/ prefixing either with xdg-open or Mathematica. Thanks ilian for your help on this! $\endgroup$