Rank: Newbie
Groups: Registered
Joined: 25/05/2010(UTC) Posts: 7 Location: New York, USA
|
I cannot run the SmathStudio appimage in Ubuntu 22.04. Other appimage programs do run on the system, so I seem to have the proper resources. There is no error message. Just nothing.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,173 Was thanked: 534 time(s) in 358 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 25/05/2010(UTC) Posts: 7 Location: New York, USA
|
Originally Posted by: overlord If SM does not run on Debian based distros, I wonder why Ubuntu is listed on the Download page as the example of a Linux distro.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 20/07/2024(UTC) Posts: 2 Location: Under the Moon
|
Originally Posted by: vroberts Originally Posted by: overlord If SM does not run on Debian based distros, I wonder why Ubuntu is listed on the Download page as the example of a Linux distro. I know this is a 10 month old thread, but this is such a common problem that I think it's worth responding. overlord did not say that smath does not run on Debian based distros. I think that what he implied is that if it won't run, then you need to fix your mono installation. One thing that finally worked for me was to install not just the mono runtime, but also the developer package: Code:
sudo apt update
sudo apt upgrade
sudo apt install mono-runtime mono-devel
You can refer to this thread for more ideas: Ask Ubuntu
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,173 Was thanked: 534 time(s) in 358 post(s)
|
In fact, you even don't need to fix or install anything. This is a common mono bug and it can be fixed with editing your smathstudio mono execution file. With respect to pdalet, here is his post. Originally Posted by: pdalet Good New for ubuntu users
SMath Studio runs on ubuntu 22.04 without sudo.
Modify smathstudio_desktop_mono
#!/bin/sh export MONO_WINFORMS_XIM_STYLE=disabled exec mono "./SMathStudio_Desktop.exe" "$@"
Ph.DALET Lyp Champollion Figeac-FRANCE
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2023(UTC) Posts: 15
|
Originally Posted by: overlord In fact, you even don't need to fix or install anything. This is a common mono bug and it can be fixed with editing your smathstudio mono execution file. With respect to pdalet, here is his post. Originally Posted by: pdalet Good New for ubuntu users
SMath Studio runs on ubuntu 22.04 without sudo.
Modify smathstudio_desktop_mono
#!/bin/sh export MONO_WINFORMS_XIM_STYLE=disabled exec mono "./SMathStudio_Desktop.exe" "$@"
Ph.DALET Lyp Champollion Figeac-FRANCE Can you please explain how (which app to use) to modify the mono file?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,173 Was thanked: 534 time(s) in 358 post(s)
|
Originally Posted by: Giddyup Can you please explain how (which app to use) to modify the mono file? This file ( smathstudio_desktop_mono) is just a shell script file. Edit it with your favorite text editor. vim, leafpad, kate, nano, scite, notepadqq, etc etc
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 20/07/2024(UTC) Posts: 2 Location: Under the Moon
|
Just to add a tiny bit for those that are not linux gurus. Overlord's suggestion works well if you place the shell script in the same folder as SMathStudio_Desktop.exe, cd into the folder with a command line, then execute smathstudio_dektop_mono. For those that prefer using a launcher to the keyboard, you need to modify the script a little more.
#!/bin/sh cd /home/<user>/Applications/SMath_Studio export MONO_WINFORMS_XIM_STYLE=disabled exec mono "./SMathStudio_Desktop.exe" "$@"
I made a folder called SMath_Studio within the Applications folder (which may or may not already exist in your home directory) and copied the entire SMath file structure there. Obviously, replace <user> with your user name. Now create an entry in your launcher that executes the shell script. The reason that all of this is necessary is because SMathStudio_Desktop.exe needs to start in the same folder as all of the associated SMath files. Simply specifying the complete path in the "exec mono" line will not be enough.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.