.NET6 on UT
-
-
@dizzy does it have to be executed as root? What happens if you try it without sudo?
In case it does need root, then you need to provide the complete path to the executable.
It could also be that nothing is allowed to be executed in the Downloads folder.
-
@arubislander On Linux desktop it doesn't has to be as root but I got a "Permission denied" on UT.
This is the executable. It's a single file, self contained application. EDIT: Ah. You meen like this of cause: sudo ./home/phablet/Documents/Avalonia.UT. Have tried that too.
I have also tried it in Downloads and Documents.
EDIT: Added info.
This error was because I compiled it for alpine-arm64.
When compiled for linux-arm64 console app runs and Avalonia app at least tryes to. -
By the way, is it possible to run appimages on UT? Install flatpacks or snaps?
-
@dizzy none of the above is readily possible. AppImages could theoretically be made to work, but none had dedicated themselves to the effort.
-
@arubislander Yep, I'm starting to think it will only run on Plasma Mobile. I will try it again when my Pixel 3a arrives but then I don't have more time for it at the moment. Maybe in the future.
-
Thanks all!
By the way, I also found this article:
https://www.codingnagger.com/2021/02/14/linux-app-for-pinephone-with-pain-and-net-core/ -
@arubislander Thats actually an interristing thought. I wonder what it would take.
-
I have done some progress. .NET 6 ConsoleApp running on UT. This is on Pinephone. Sorry about the text
Error when launching Avalonia App:
-
@dizzy not .Net but c# or c++ inside Godot can do the job, IDK, Think about it.
-
@thousandtopics Actually, dotnet is working in UT. Just have not got it running with Avalonia as a UI framework yet and maybe I never will. I have got it running on Phosh though, even if the scaling was all off. It opened as a movable window. Im talking about created and built with no modifications and thats what Im interesting in. Uno Platform gave the same result.
I dont know what Godot is. -
@dizzy said in .NET6 on UT:
I dont know what Godot is.
You'll have to wait for it
Sorry for the joke ; couldn't resist.
Here is about the Gogot engine: https://godotengine.org/ -
@dizzy said in .NET6 on UT:
all off. It opened as a movable window. Im talking about created and built with no modifications and t
@dizzy as I am a professional .NET dev I would also be interested in this. The biggest challenge would be to get Avalonia to work with Mir instead of X - by the way, did you see https://docs.microsoft.com/en-us/dotnet/maui/what-is-maui - I think thats the future, and we should aim for this.
Avalonia is nice, but I dont feel there is much development happening.
@fredldotme maybe you can help with your expertise which API for rendering a UI we should use in the future (and, since 20.04 is "far", what we can do now in 16.04 :P)
-
@flohack I would recommend going the Wayland way in case we want to care less about Halium 7.1 and lower in the long run.
I know it's not nice but it's "the future". For VSCodium I let everything run through XMir and it shows. It's unstable, has issues that are hard to fix and changes the experience immensely depending on form factor.
If X11 is the only way then we should focus on getting XWayland working well.
With that being said, I don't expect anyone to support Mirclient any longer. We depend on it hard but I would not recommend it for new toolkits. It can be done but IMO the energy is best reserved for getting Wayland to work nicely.
-
@fredldotme fully agreed. MS seems to have ignored Linux support but people are already complaining https://github.com/dotnet/maui/discussions/339