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 Oichi  
#1 Posted : 09 February 2023 01:55:53(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
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

Edited by user 09 February 2023 01:59:33(UTC)  | Reason: Not specified

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

Offline overlord  
#2 Posted : 09 February 2023 14:28:22(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)
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
Offline mocarny_knur  
#3 Posted : 13 December 2023 00:51:26(UTC)
mocarny_knur

Rank: Newbie

Groups: Registered
Joined: 13/12/2023(UTC)
Posts: 1
Poland

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.
Offline ioncube  
#4 Posted : 15 September 2024 08:33:00(UTC)
ioncube


Rank: Advanced Member

Groups: Registered
Joined: 04/12/2017(UTC)
Posts: 66
Man
Pakistan

Was thanked: 3 time(s) in 3 post(s)
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
Offline overlord  
#5 Posted : 16 September 2024 06:49:21(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: ioncube Go to Quoted Post
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.

Code:
#!/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
Offline ioncube  
#6 Posted : 16 September 2024 15:41:19(UTC)
ioncube


Rank: Advanced Member

Groups: Registered
Joined: 04/12/2017(UTC)
Posts: 66
Man
Pakistan

Was thanked: 3 time(s) in 3 post(s)
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
thanks 1 user thanked ioncube for this useful post.
on 16/09/2024(UTC)
Offline overlord  
#7 Posted : 16 September 2024 22:12:13(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: ioncube Go to Quoted Post
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.
Offline ioncube  
#8 Posted : 17 September 2024 13:33:38(UTC)
ioncube


Rank: Advanced Member

Groups: Registered
Joined: 04/12/2017(UTC)
Posts: 66
Man
Pakistan

Was thanked: 3 time(s) in 3 post(s)
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?
Offline overlord  
#9 Posted : 18 September 2024 00:15:18(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)
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.
Users browsing this topic
Similar Topics
[SS-2344] Paste Error in Smath Studio on Linux Mint (Bugs & Problems)
by vkt 13/05/2016 20:10:58(UTC)
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.