SMath Studio on Linux

SMath Studio on Linux - Messaggi

#1 Pubblicato: 08/02/2023 19:55:53
Oichi

Oichi

4 apprezzamenti in 35 post.

Gruppo: 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 Pubblicato: 09/02/2023 08:28:22
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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 Pubblicato: 12/12/2023 18:51:26
mocarny_knur

mocarny_knur

0 apprezzamenti in 1 post.

Gruppo: 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 Pubblicato: 15/09/2024 02:33:00
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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 Pubblicato: 16/09/2024 00:49:21
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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 Pubblicato: 16/09/2024 09:41:19
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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 utenti hanno apprezzato questo post
Davide Carpi 16/09/2024 13:31:00
#7 Pubblicato: 16/09/2024 16:12:13
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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 Pubblicato: 17/09/2024 07:33:38
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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 Pubblicato: 17/09/2024 18:15:18
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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 Pubblicato: 06/10/2026 02:17:22
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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 Pubblicato: 07/10/2026 11:52:09
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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).
Modificato 07/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 Pubblicato: 20/10/2026 23:14:06
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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
  • Nuovi post
  • Nessun nuovo post