Windows 11

Post

Posted
Rating:
#1 (In Topic #767)
Avatar
Guru
cogier is in the usergroup ‘Guru’
I have just installed Windows 11 as I am interested to see how the Linux integration is working, and I can report that for the most part it is quite good. I have managed to Pin Gambas to the Taskbar and run a couple of my programs.

Just thought it might be of interest..

<IMG src="https://www.cogier.com/gambas/Win11.png"> </IMG>
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
Does it require much setting up to get to work?
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Guru
cogier is in the usergroup ‘Guru’

Technopeasant said

Does it require much setting up to get to work?

This is from memory, so forgive me if I get it slightly wrong. This ONLY applies to Windows 11. You need to be connected to the internet.

Open the menu and search for CMD - Right click on Command Prompt and select Run as administrator
In the shell type wsl –install
I think this will also install Ubuntu as well, but if not you can get it from the Windows Store.
Close the Windows Command Prompt
Use the menu to find Ubuntu. This will open a Terminal session
In the Terminal, run sudo apt-get update then sudo apt-get upgrade
In the Terminal, run the following to get Gambas stable installed. sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update && sudo apt-get -y install gambas3
In the Terminal, run gambas3

That should open Gambas. I am still finding out what can and can't be done. I have discovered that my ScreenShot program does not work due to the Form Property Transparent not working.
The rest I leave to you.  8-)
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Enthusiast
GrayGhost is in the usergroup ‘Enthusiast’
It would be my choice run ubuntu in a virtual machine.

Enable Virtualization on Windows - Microsoft Support

Downloads – Oracle VirtualBox
Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Guru
cogier is in the usergroup ‘Guru’
 I got it to work on Win 11, but I don't use Windows at home. Even at work, I have a separate Linux machine. I just did it to see what it's like.  

My advice would be if you want to run a Windows program, run it on Windows and Linux programs on Linux.
Online now: No Back to the top

Post

Posted
Rating:
#6
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
Upgraded my partner's machine the other weekend, including jumping from Windows 7 to 11, so I was finally able to give WSL2 a go.

<IMG src="https://static.miraheze.org/pigalorewiki/6/66/Mosquito-WSL2.png"> </IMG>

It took only three commands to install WSL, containerized Ubuntu, and then Gambas.

Hardest part was that I had to update apt before it would install anything for some reason.

When in Rome, I decided to give Cygwin another go. I don't think I have tried since back when you had to build from source, so I was able to get it going this time just using the graphical installer, although knowing which packages I needed to install beyond Gambas itself could have been more intuitive. In the end, installing XFCE seemed to supply everything I needed.

<IMG src="https://static.miraheze.org/pigalorewiki/6/6d/Hull-Breach-Cygwin.png"> </IMG>

It seems to run a bit slower than WSL, but I had fewer issues running applications through it (specifcally, the mouse tracking in OpenGL does not seem to work in WSL, in Gambas and in other apps).

Both measures ran most of my games quite satisfactorily.

https://pigalore.mirah…ambas_Programs_in_Windows
Online now: No Back to the top

Post

Posted
Rating:
#7
Guru
BruceSteers is in the usergroup ‘Guru’
 Is the Ubuntu in wsl running x ?
If it's only Wayland then I could imagine things not working as expected like mouse polling and window positioning.
Online now: No Back to the top

Post

Posted
Rating:
#8
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
That is an interesting suggestion, as Cygwin/X is indeed working for that.
Online now: No Back to the top
1 guest and 0 members have just viewed this.