Group Abstract Group Abstract

Message Boards Message Boards

0
|
35.2K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

"Invalid desktop entry file" error when I launch from Pi desktop icon

Posted 10 years ago

I believe that this error occurred upon upgrade to 10.3.1 on Jessie, but I am not sure about that. It appears that the desktop file in raspi-ui-overrides was not updated and still referrs to 10.0. My fix is to run in Terminal:

sudo cp /usr/share/applications/wolfram-mathematica.desktop /usr/share/raspi-ui-overrides/applications/wolfram-mathematica.desktop

As always before executing a sudo command, make a backup of the file to be overwritten before executing.

Posted here because no solution came up in a web search, so I though this should be documented somewhere.

POSTED BY: Daniel Warren
3 Replies

Hello,

The suggestion above, "nanoing these lines to "10.3" and a reboot fixed the failure to launch", didn't work for me.

I tried:

"sudo apt-get update" "sudo apt-get dist-upgrade"

and it worked.

Then, I fixed the https://www.raspberrypi.org/forums/viewtopic.php?f=94&t=131051&p=920296&hilit=mathematica+desktop#p920296 issue using "sudo apt-get install libgl1-mesa-swx11" as suggested there.

POSTED BY: Armand Liberi

My 2016-03-08

 `sudo apt-get install wolfram-engine

`got me an installation in which trying to launch Mathematica from the RPi GUI got me an error box with a message, complaining about an invalid file

/usr/share/raspi-ui-overrides/applications/wolfram-mathematica.desktop

As described in this thread, the offending file has pointers to "10.0" nonexistent directories in the lines headed "Exec" and TryExec"

nanoing these lines to "10.3" and a reboot fixed the failure to launch.

Is this the preferred fix, and are there other, maybe worse things lurking?

Is

TryExec=Mathematica
Exec=Mathematica %F

sufficient?

Preferred?

Fred Klingener

POSTED BY: Fred Klingener
Posted 10 years ago
POSTED BY: Layne Wright
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard