Windows 11 WSL2 Performance Competitive Against Ubuntu 20.04 LTS / Ubuntu 21.10
phoronix.com
phoronix.com
When has Apple ever supported a computer for 10+ years like Windows routinely does? I have a 2012 iPad I can only use as a Kindle and PDF reader because the ancient Safari version on it doesn't support modern Javascript features like the "let" keyword that websites now use, and this is exactly what Apple wants: if I can't install Firefox on my iPad and if Apple won't update Safari, my only choice is to buy a new device. But I never again bought a new iPad, I learned my lesson.
My old iPad can still run the original Flappy Bird. New $1000+ iPad Pros can't do this, because Apple deliberately breaks old apps on new devices, to encourage developers to charge customers for an updated app that continues to work on new devices, which Apple gets its mandatory 30% cut of.
Apple also ties Xcode releases to the most recent macOS releases. Apple doesn't want you being able to run the newest Xcode on a 10 year old Mac so that you can keep your old iOS game you wrote in college still working, oh no, you have to buy a new Mac for that, and keep paying your $99/year membership dues.
Microsoft lets you run Visual Studio on very old computers, unlike Apple with Xcode.
High-profile ransomware attacks have made the news this year and so MS decided Win 11 should only be on computers that can secure the boot process so that ransomware can't encrypt your hard drive until you send bitcoins to Ukraine.
I'm genuinely interested in ransomware prevention.
So.
They have two choices. Either sell an addon, or bundle it with the next Windows version and try to hide the cost.
I'm guessing both would be unpalatable to folks like this, who want everything for free.
https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-a...
It is the best thing because it makes Linux so easy to install and get started with on Windows PCs which dominate the market.
It is the worst thing because desktop Linux users are no longer forced to dogfood and fix laptop hardware issues, and so these issues will continue to go unfixed, and native desktop Linux installs will thus continue to suffer.
Case in point: I've used desktop Linux for more than 20 years and I recently moved to using WSL on Windows because I love having all my hardware devices like my photo printer "just work" on Windows and I love getting great laptop battery life.
It looks like the Thinkpad X1 Carbon is the only killer laptop you can buy with Linux preinstalled that has a 4K UHD screen option, but Lenovo makes the buying experience extremely frustrating. Lenovo overprices Thinkpads most of the year and then occasionally does killer sales. And Lenovo has lately been suffering 4 month shipping delays on many Thinkpad configurations. I'm sick of wasting time waiting for the sales and then trying to buy before the reseller bots buy up the deals. So I bought a non-Thinkpad Win 10 laptop instead and I run WSL on it for my Linux needs.
Microsoft is basically telling us "Here you go, your developers can do their weird dev thingies now, so you don't have to bother with that Linux desktop stuff anymore. We've killed their last excuses."
I think this is a really bad thing to happen to Linux. Microsoft Loves Linux?? More like Embrace, Extend, Extinguish. They're trying again to displace the Linux desktop marketshare, small as it already is, by pushing it into the software dev niche.
Personally I use Linux because I don't want to use Windows, with their choices made on my behalf and telemetry that can't be turned off etc. It's because I like choosing my own desktop environment, because I like full control of my machine, because I like to choose whether I want to use a TPM or not. It's not because I wanted to use some dev toolchain or something. I want to use Linux because I love Linux. Not because Windows wasn't good enough for my purposes.
echo 'Xft.dpi: 192' | xrdb -merge
Is the first step to getting hidpi to work. But some 'modern' apps ignore this, but might respond to export GDK_SCALE=2
But then there are apps which respond to both of these settings and give you 400% scaling, or give you 400% scaling for some UI elements, 200% for other UI elements.... I just installed Windows, set my desktop to 200% scaling and I was all done and could finally start doing work again that actually makes money, and I even have more spare time for HN now that I don't have to constantly study the Arch Wiki to fix the next broken Linux thing.Windows is actually better for online privacy because a Windows browser is so much more mainstream. If you are broadcasting your "Linux" OS in your browser User-Agent string to every website you visit you are not terribly anonymous online because you are broadcasting you are among the elite 1% of computer users. Yes, you can install a browser extension to say your User-Agent is Windows, but have you?
Just use KDE or anything else. GNOME is not the only option.
> DPI scaling
Wayland.
> User agent
You don't need a browser extension for this. Enable Resist Fingerprinting for Firefox and it'll hide your user agent as a Windows user, similar to what the Tor Browser already does.
Wayland still isn't 100% there for nVidia yet. "Well don't use nVidia then!" Well, for many machine learning workflows and other use cases non-nVidia isn't 100% there yet. But yeah, Linux users should avoid nVidia to the maximum extent possible.
Your Firefox tip sounds good, thank you.
It's true that the mouse doesn't auto scale but you can manually make it bigger in settings. Same with the "taskbar" height. HiDPI is still a bit in development and I heard the next release 5.23 will bring a lot of goodies in October. But overall I think it's fine.. Where it falls down is mixed DPI (e.g. one screen at 200% and another at 100%). But even Windows is still very flakey with that. Only macOS covers that scenario perfectly.
One thing I love about KDE is the wealth of options. Gnome is heading the way of Apple: opinionated software and minimalism. Windows is heading the same way though not as strongly. That doesn't suit me. KDE is really my thing.
I just switched a few months ago (after having tried it n times over 20 years), and this is the first time I'm sticking with it. Gaming works (I haven't found any games in my steam library that don't run OOB with proton), all developer productivity tools work, office productivity is solved with the rise of O365/GDocs, as hated as electron is every (or almost every) electron app out there is cross platform.
The only things that I haven't found suitable replacements for is graphics editing (I use the affinity suite on a VM), and probably CAD products and the like. But for 95% of users, desktop linux works better than Windows atm, everything works perfectly after installation.
Regarding the printer, in Windows I have to go to brother's site and download a driver, I've never had windows auto detect and properly configure a printer + scanner (just the printer, if your lucky). On Linux I just click add printer, it auto detects it and installs it, including the scanner.
There was also a story 5 days ago that putting an XPS in a bag voids its warranty unless it is completely powered off. Dell says you can't just close the lid to put the laptop in a sleep state before throwing it in your backpack:
https://news.ycombinator.com/item?id=28639952
(Of course, this could just be a CYA cover-your-ass clause that Dell's lawyers said to throw in to reduce lawsuit losses from lithium battery fires that affect all laptop makers including Apple. If the sales losses from this CYA clause's bad publicity are less than the reduction in lawsuit losses then I guess it's a win for Dell's balance sheet. I haven't seen any evidence that Dells are more prone to fires than any other brand.)
EDIT: I was just reading the linked XPS thread and it sounds like the overheating issue is due to a change in how sleep states were traditionally handled (S1/S3 etc.). This affects all Windows laptops, not just the XPS. A Linux XPS can actually avoid the issue if Linux sleep states are configured correctly, according to posters in the discussion.
Linux: fast, private, under your control, user empowering. Windows: slow, spyware, under microsofts control and works to wrench power from the user.
Just blows my mind.
>under microsofts control and works to wrench power from the user
I think that you and I are alike in that we care how we use a computer, what that computer is, what kind of software runs on it and so on. The key bit of empathy we need to understand the reason why most people use something that "works to wrench power from the user" as you put it, is that in fact most users want that powered wrenched from them because with power comes responsibility and for most people that juice is not worth the squeeze.
You can now create documents, communicate with people and consume entertainment (that is to say, most of what most people use a computer for) by doing little more than poking at a limited selection of large rectangles on a screen. Most people are happy with this and it's pretty hard to convince someone that they should spend time from their life on the effort of learning a new UI or an alternative operating system, or even think at all about what their operating system is. Honestly I get their position, and if I didn't care about computers I probably would not either.
That being said I hate windows 11 and the choices made. While I love windows 10, as it mainly just works and was a big set up from 7.
I use Linux nearly 90% of the time in server space. With Windows VM's mostly for the AD Domain Controller and Print Server, as Windows AD in a Azure AD Hybrid setup works great for user control. Integrates into my Linux server for a synced user control. The Linux alt is a janky option. Keeping user accounts locked down is pretty important for production systems.
The Linux desktop scene however is a great deal better than it used to be. Back in the Day I used to rock opensuse on a IBM T61, everything worked out the box with that install. Something Ubuntu at the time did not do. But the lack of software was always an issue and wine was not what it is today. Office 2000 and other old windows apps ended up working fine.
Linux on the Server is by far the reality, and windows on the server is mostly for use as a domain controller or print server.
I still have virtualbox running a ton of OS's with the oracle virtualbox extension, that doesn't work with hyper-v, so no wsl2 for me.
Maybe in the the future.
https://news.ycombinator.com/item?id=26114194
Canonical knows everything an Ubuntu install at your IP address installs with "apt get" unless you change your repos to a mirror that you know for a fact doesn't share its logs with Canonical. And Canonical is pushing the Snap Store that it alone owns and controls, and which it can Big Brother monitor what every single IP addr installs.
So Canonical doesn't need closed source spyware to make money spying on you.
For the most part though, Canonical seems it will only use its spy data to market products developers are actually potentially interested in. If you download a bunch of container tools Canonical may wish to market to you that a certain service they make money from might work for your needs. And all things considered it actually might.
I do use Ubuntu btw, mostly in WSL though. I will go back to native Ubuntu though once all the art and music tools I need run as well on native Ubuntu as they do on Windows, and once Ubuntu is as hassle free on laptops as Windows is. I recently bricked a native Ubuntu install because I forgot to turn off secure boot, which somehow broke the proprietary nVidia drivers I need.
EDIT: Canonical seems to have closed down its Ubuntu One cloud storage product... I thought Canonical was still trying to offer an alternative to AWS/IBM/Google/Azure but it seems they are just focusing on their OS now. Someone correct me if I'm wrong.