News for hackers. Stuff that matters.
Re:Ask HN: Windows 10-based devs, are you upgrading to Windo... by ElevenLathe on Wednesday May 03, 2023 @04:22PM (#35807248)
I recently got a new laptop that came with Win11. I decided to test-drive it before wiping it and installing Linux. Honestly, once you set it up with a local account, it's much better than Win10 for one reason: it's easy to run Linux GUI programs alongside native Windows ones. This is possible on Win10 by installing a Windows Xll server and so on, but it's enough of a pain that I use the Cygwin W32 port of Emacs (my IT department no longer supports Linux workstations). With Win11 I can just use the real, Linux Emacs GUI from Ubuntu, which is a major improvement.

Yes, I know I can use a "native" Windows version of Emacs, but to be comfortable I need more than just Emacs itself: I also need a Unix-y environment for it to live in. WSL provides exactly that.

I am still going to run Linux on the laptop long-term, but it's changed my mind for the next corporate refresh cycle. We usually get a choice of a Dell Windows machine or a Mac. I was leaning toward Mac for this next round, but I may stick with the Dell if I can get it in Win11.

Re:Ask HN: Windows 10-based devs, are you upgrading to Windo... by Our_Benefactors on Wednesday May 03, 2023 @04:31PM (#35807371)
WSL exists in windows 10 also. What’s the advantage of 11?
Re:Ask HN: Windows 10-based devs, are you upgrading to Windo... by ElevenLathe on Wednesday May 03, 2023 @04:33PM (#35807390)
AFAICT there's no easy way to run Linux GUI apps in Win10 -- you need to run an X server in Windows and have the GUI apps connect over the "network". In Win11 it just works.
Re:Ask HN: Windows 10-based devs, are you upgrading to Windo... by minifigone on Wednesday May 03, 2023 @04:46PM (#35807539)
This actually changed somewhat recently (I'm not sure exactly when), but I tried it the other night and was able to run k3b gui from wsl2 on win10.
Re:Ask HN: Windows 10-based devs, are you upgrading to Windo... by justinclift on Wednesday May 03, 2023 @04:47PM (#35807567)
Apparently, WSLg does away with the need for a separate X server, making things easy to use:

https://github.com/microsoft/wslg

The "Apparently" is there because it's not something I've tried myself (I'm a Linux desktop user), instead it's something several of our users have tried and said works:

https://github.com/sqlitebrowser/sqlitebrowser/issues/2142#i...

Re:Ask HN: Windows 10-based devs, are you upgrading to Windo... by ElevenLathe on Thursday May 04, 2023 @09:16AM (#35814784)
This is great info. I'll definitely give it a try on the Win10 machine I have for work. I would love to get rid of Cygwin.