SMath Studio on Linux

SMath Studio on Linux - 消息

#1 已发布: 2023/2/8 19:55:53
Oichi

Oichi

4个赞,共35个帖子。

组: User

I downloaded SMath Studio AppImage from the website on ubuntu 22.04. Whenever I open it, it loads that green loading box attached below then it crashes. Any help please?. Thanks in advance
Screenshot from 2023-02-09 00-53-45.png
#2 已发布: 2023/2/9 08:28:22
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Try to run with sudo.
Whether appimage or regular, it won't run without sudo.
Well it will, but you must try a lot of times to make it run.
A link to a thread for further examination
This is a mono bug specific to debian distros except for one.
It is related with glibc and kernel version I suppose.
As far as I know due to my experience, only Debian based
distro I could run SMath without sudo is MXLinux (ahs).

If SMath doesn't run even, please run it under a terminal.
And post terminal output here, maybe it is a faulty plugin.

Regards
#3 已发布: 2023/12/12 18:51:26
mocarny_knur

mocarny_knur

0个赞,共1个帖子。

组: User

Hello,

I created account on this forum only to write that if You install in Ubuntu 22.04:
libmono-cil-dev
libmono-db2-1.0-cil
mono-dbg
mono-devel
mono-tools-devel

then it should work without sudo. This is some bug within mono and installing mono debugging allows it to run apparently.
#4 已发布: 2024/9/15 02:33:00
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

I am running SMath on my OrangePi-3b arm64 so far so good. Can anyone tell me how to use GTK themes for mono applications. SMath looks ugly
#5 已发布: 2024/9/16 00:49:21
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

I am running SMath on my OrangePi-3b arm64 so far so good. Can anyone tell me how to use GTK themes for mono applications. SMath looks ugly


Especially if your theme is dark for linux, SMath becomes unusable.
Buttons can't be seen, toolbars are too dark, etc.
So I edit smathstudio_desktop_mono file as below.

#!/bin/sh

HERE="$(dirname "$(readlink -f "${0}"""
cd "${HERE}"
export MONO_WINFORMS_XIM_STYLE=disabled; GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc exec mono "${HERE}//Solver.exe" "$@"
I use smath with a light default theme from /usr/share/themes/.
WINFORMS option also fixes ubuntu/debian crash.

Regards
#6 已发布: 2024/9/16 09:41:19
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

Thanks Overlord, the thing is that developers should move from MONO to dotnet6/7/8 these are available in all Linux distributions! Recently a popular photo editor Pinta moved from MONO to dotnet8 ...similarly calcpad also did that & is very usable in Linux
1位用户喜欢此帖子
Davide Carpi 2024/9/16 13:31:00
#7 已发布: 2024/9/16 16:12:13
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

these are available in all Linux distributions!


Actually, not every distribution has dotnet in their repository.
Some major ones like fedora or ubuntu have it, but rest doesn't.
#8 已发布: 2024/9/17 07:33:38
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

overlord, I did that (customised run script) but Rayleigh theme was not loaded. I tested location / files ...content is there but theme is not loaded. Any suggestions?
#9 已发布: 2024/9/17 18:15:18
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

If smath window is light themed, it should have ben loaded.
As far as I know, mono2 applications doesn't accept themes designs except colors.
#10 已发布: 2026/10/6 02:17:22
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

In 2026; I still face x5 year old issue https://smath.info/en-US/forum/topic/CmDw2o/Some-little-anomalies-on-linux https://smath.info/en-US/forum/topic/WhzbAL/Bad-behaving-without-installed-fonts

Luckily this script / font resources will correct everything https://www.mediafire.com/file/apzsx0mi01qi55r/smath_linux_font_bug.7z/file
#11 已发布: 2026/10/7 11:52:09
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

In 2026; I still face x5 year old issue https://smath.info/en-US/forum/topic/CmDw2o/Some-little-anomalies-on-linux https://smath.info/en-US/forum/topic/WhzbAL/Bad-behaving-without-installed-fonts

Luckily this script / font resources will correct everything https://www.mediafire.com/file/apzsx0mi01qi55r/smath_linux_font_bug.7z/file



That's nice to see actual solutions. Would be better for inspection and long term accesss to upload your package in a repository (our SVN or a public GIT repo).
已编辑 2026/10/7 11:53:18
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 已发布: 2026/10/20 23:14:06
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

Previous Font bug and detailed solution hosted on GitHub: https://github.com/defencedog/smath-devel/tree/main/font-pack

Print preview bug and CUPS virtual printer producing blank pages solved at: https://github.com/defencedog/smath-devel/tree/main/print-patch
#13 已发布: 2026/11/14 17:53:23
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

Another bug on Linux Mono is resolved by patching System.Windows.Forms.dll
Currently if I change File View (in file explorer) from default Tiles to Details (or something other) SMath closes. Problem is in Mono
Problem screenshoots and resolution is documented here https://github.com/defencedog/smath-devel/tree/main/winform-patch
  • 有新帖
  • 无新帖