SMath Studio on Linux

SMath Studio on Linux - Poruke

#1 Objavljeno: 8. 2. 2023. 19:55:53
Oichi

Oichi

4 svidjanja u 35 postova.

Grupa: 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 Objavljeno: 9. 2. 2023. 08:28:22
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 12. 12. 2023. 18:51:26
mocarny_knur

mocarny_knur

0 svidjanja u 1 postova.

Grupa: 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 Objavljeno: 15. 9. 2024. 02:33:00
usamakhan

usamakhan

7 svidjanja u 98 postova.

Grupa: 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 Objavljeno: 16. 9. 2024. 00:49:21
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 16. 9. 2024. 09:41:19
usamakhan

usamakhan

7 svidjanja u 98 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Davide Carpi 16. 9. 2024. 13:31:00
#7 Objavljeno: 16. 9. 2024. 16:12:13
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 17. 9. 2024. 07:33:38
usamakhan

usamakhan

7 svidjanja u 98 postova.

Grupa: 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 Objavljeno: 17. 9. 2024. 18:15:18
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 6. 10. 2026. 02:17:22
usamakhan

usamakhan

7 svidjanja u 98 postova.

Grupa: 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 Objavljeno: 7. 10. 2026. 11:52:09
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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).
Izmenjeno 7. 10. 2026. 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 Objavljeno: 20. 10. 2026. 23:14:06
usamakhan

usamakhan

7 svidjanja u 98 postova.

Grupa: 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 Objavljeno: 14. 11. 2026. 17:53:23
usamakhan

usamakhan

7 svidjanja u 98 postova.

Grupa: 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
  • Novi postovi
  • Nema novih postova