Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline vroberts  
#1 Posted : 28 September 2023 21:57:49(UTC)
vroberts

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.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 29 September 2023 00:51:04(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,173
Turkey

Was thanked: 534 time(s) in 358 post(s)
This is mono bug of debian based distros. You can find detailed explanation about it at link below.

Regards

https://en.smath.com/forum/yaf_postsm75553_SMath-in-Linux.aspx#post75553
Offline vroberts  
#3 Posted : 29 September 2023 18:57:15(UTC)
vroberts

Rank: Newbie

Groups: Registered
Joined: 25/05/2010(UTC)
Posts: 7
Location: New York, USA

Originally Posted by: overlord Go to Quoted Post
This is mono bug of debian based distros. You can find detailed explanation about it at link below.

Regards

https://en.smath.com/forum/yaf_postsm75553_SMath-in-Linux.aspx#post75553


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.

Offline Spanky  
#4 Posted : 20 July 2024 11:05:00(UTC)
Spanky

Rank: Newbie

Groups: Registered
Joined: 20/07/2024(UTC)
Posts: 2
United States
Location: Under the Moon

Originally Posted by: vroberts Go to Quoted Post
Originally Posted by: overlord Go to Quoted Post
This is mono bug of debian based distros. You can find detailed explanation about it at link below.

Regards

https://en.smath.com/forum/yaf_postsm75553_SMath-in-Linux.aspx#post75553


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
Offline overlord  
#5 Posted : 20 July 2024 11:23:41(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,173
Turkey

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 Go to Quoted Post
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
Offline Giddyup  
#6 Posted : 03 August 2024 06:25:22(UTC)
Giddyup


Rank: Member

Groups: Registered
Joined: 15/03/2023(UTC)
Posts: 15

Originally Posted by: overlord Go to Quoted Post
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 Go to Quoted Post
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?
Offline overlord  
#7 Posted : 03 August 2024 09:55:00(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,173
Turkey

Was thanked: 534 time(s) in 358 post(s)
Originally Posted by: Giddyup Go to Quoted Post
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
Offline Spanky  
#8 Posted : 06 August 2024 07:59:10(UTC)
Spanky

Rank: Newbie

Groups: Registered
Joined: 20/07/2024(UTC)
Posts: 2
United States
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.
Users browsing this topic
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.