SMath Studio on Linux

SMath Studio on Linux - Messages

#1 Posted: 2/8/2023 7:55:53 PM
Oichi

Oichi

3 likes in 35 posts.

Group: 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 Posted: 2/9/2023 8:28:22 AM
overlord

overlord

547 likes in 1330 posts.

Group: 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 Posted: 12/12/2023 6:51:26 PM
mocarny_knur

mocarny_knur

0 likes in 1 posts.

Group: 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 Posted: 9/15/2024 2:33:00 AM
usamakhan

usamakhan

3 likes in 75 posts.

Group: 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 Posted: 9/16/2024 12:49:21 AM
overlord

overlord

547 likes in 1330 posts.

Group: 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 Posted: 9/16/2024 9:41:19 AM
usamakhan

usamakhan

3 likes in 75 posts.

Group: 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 users liked this post
Davide Carpi 9/16/2024 1:31:00 PM
#7 Posted: 9/16/2024 4:12:13 PM
overlord

overlord

547 likes in 1330 posts.

Group: 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 Posted: 9/17/2024 7:33:38 AM
usamakhan

usamakhan

3 likes in 75 posts.

Group: 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 Posted: 9/17/2024 6:15:18 PM
overlord

overlord

547 likes in 1330 posts.

Group: 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.
  • New Posts New Posts
  • No New Posts No New Posts