Live data from Hacker News

Windows Subsystem for Linux GUI

github.com

451–460 of 473 posts

Re: Windows Subsystem for Linux GUI

#451

Earlier quoted context omitted.

` ` from Windows, or `explorer.exe ` from WSL. As simple as that.

Hah, I was kinda hoping someone would know a trick I just hadn't found yet! Thanks for this. I set an alias so `open='explorer.exe'` which saves me some typing and muscle memory.

If you use powershell

  ii filename

Re: Windows Subsystem for Linux GUI

#452
post #11

WSL2 is essentially just.. Windows + Linux. I tried it and it is awesome. Cannot wait to see further progress that comes out of this. I really cannot leave Windows to be honest. The network effect is too strong. Coupled with recent Microsoft effort such as Visual Code, its looking like they are doing nothing but going towards the better direction than the old days. Who would have thought. Would you believe it if anyo…

It's about the culture. Windows doesn't respect your privacy and you are treated like a child, because most people who run Windows wants Microsoft to make all decisions for them, just like a parent.

[deleted]

Re: Windows Subsystem for Linux GUI

#453

I wonder what Linux exclusive software they are hoping to support. Everything I use in my Ubuntu daily driver has a Windows build or corollary app. I get how ‘you never have to leave Windows’ is a nice thing for their business, but I don’t see this being a reason I would stop dual-booting. The only reason I run windows in the first place is for a few apps, mostly games. Otherwise I really enjoy the bloat-free, ad-fre…

I just really like the OS experience of Ubuntu. I’d rather run a windows vm but the gpu doesn’t play very nice sometimes

Re: Windows Subsystem for Linux GUI

#454
post #334

Earlier quoted context omitted.

What's missing from the Linux Desktop experience for you? I currently use all three operating systems on a weekly basis, Ubuntu with i3 (a window tiling manager) is my daily driver. Everytime I switch to windows or Mac os, it always feels like a downgrade for me because I can't replicate the tiling experience. The one thing I love about mac, is the trackpad experience, I wish windows and Linux could get to that level…

1. Update glibc and everything breaks 2. Update Nvidia drivers and everything breaks 3. 99% of laptops have at least one device with missing or broken drivers. 802.11ac is very old in 2021, but the most popular ac chips still need an out-of-tree driver which will break when you update your kernel. Have fun copying kernel patches from random forums 4. Even the smallest of changes (ex: set display scaling to something…

This hasn’t been my Ubuntu experience at all. I’ve used it for years

Re: Windows Subsystem for Linux GUI

#455
post #412

Earlier quoted context omitted.

Well, ROS? I can't tell you how many people want to mess around with the robot operating system but don't want to dive head first into Linux. Hell, my very large robotics company won't even give you a linux machine. You're forced to use Mac or Windows or build it yourself. But in general, I haven't dual-booted my main machine since WSL got good, and I'm a linxu-first kind of person with a penchant for windows gaming.

I bet Microsoft would rather that they used Azure Sphere OS or Azure RTOS for that purpose.

Possibly, but that would be misguided. That's not even close to the niche ROS fills. ROS runs on Ubuntu pretty much exclusively, is essentially a mediocre messaging middleware and a mediocre build system, upon which 95% or more of the worlds decent robotics research is conducted. The main research tools, like Gazebo, require gobs of GPU processing that usually preclude virtual machines. So everyone dual boots or goes Ubuntu-native. I'm not saying that's why WSLg is being invented, but if it can produce native-ish GPU performance, that would be an amazing use case.

WSLg had an early demonstration of ROS simulations running, in fact. So I can double down on this being a use case.

Re: Windows Subsystem for Linux GUI

#456
post #11

WSL2 is essentially just.. Windows + Linux. I tried it and it is awesome. Cannot wait to see further progress that comes out of this. I really cannot leave Windows to be honest. The network effect is too strong. Coupled with recent Microsoft effort such as Visual Code, its looking like they are doing nothing but going towards the better direction than the old days. Who would have thought. Would you believe it if anyo…

> Coupled with recent Microsoft effort such as Visual Code Which is officially supported on Linux. There might be reasons to run Windows, but this is not one :)

[deleted]

Re: Windows Subsystem for Linux GUI

#457

Earlier quoted context omitted.

> Another reason to use windows is if you are on a laptop and care about battery life. Browsers on Linux still don't have hardware accelerated video playback. That's just not true. Might be a problem with some GPUs but not with all. At least I got hardware accelerated video playback on Chromium with my AMD GPU.

I happily found Chromium-VAAPI almost 2 years ago and it works great with Intel integrated GPU video acceleration on Arch Manjaro Xfce https://aur.archlinux.org/packages/chromium-vaapi

At least for AMD cards it works with no extra configuration. Besides installing the open-source driver if the distro doesn't do it automatically. I'm not sure which framework it's using VAAPI/VDPAU. My test method is: my GPU activity spike up when I hit play on a Youtube video. :) I'm on Arch/Gnome.

Re: Windows Subsystem for Linux GUI

#458

Earlier quoted context omitted.

If you're talking about Windows apps that keep me from switching to Linux, I have an oddball one: it's a keyboard re-mapper that I wrote back in Windows 3.1 and still use. It does the same re-mapping in every application (except for some reason in Microsoft Edge). It's not a simple 1-for-1 mapper, which I think is readily available in Linux. At the simplest level, it re-maps ^H to the left cursor arrow, ^N to PageDow…

That sounds pretty similar to the QMK firmware that runs on my keyboard (an Ergodox-EZ). It's been a blast to play around with. Best part is that it travels with the keyboard rather than the OS, so I can plug into a different computer and retain the same layout without needing to install anything. I've been slowly resetting all my OS hotkeys/shortcuts to their defaults, and customizing the position of those keys on m…

Might be a good solution, if it can output multiple keys with a single keystroke, but unfortunately my keyboard can't travel with me. In particular I can't plug it into my work computer.

Re: Windows Subsystem for Linux GUI

#459

Earlier quoted context omitted.

If you're talking about Windows apps that keep me from switching to Linux, I have an oddball one: it's a keyboard re-mapper that I wrote back in Windows 3.1 and still use. It does the same re-mapping in every application (except for some reason in Microsoft Edge). It's not a simple 1-for-1 mapper, which I think is readily available in Linux. At the simplest level, it re-maps ^H to the left cursor arrow, ^N to PageDow…

If you use Xorg you can use XInput2 and XIGrabKeycode[0] to grab specific key combinations and get notified (via event messages, they happen asynchronously) when they are pressed. Then you can use XTest and XTestFakeKeyEvent[1] to send the event you want. XInput2 and XIGrabKeycode should provide the highest priority grabbing under Xorg so that even applications that do server-wide grabs (e.g. games) will be bypassed.…

Hmm, looks like the sendkey.c thing might work. Although the documentation on XTestFakeKeyEvent() specifically says "This extension is not intended to support general journaling and playback of user actions", which is what (I think) I want. I wonder why the disclaimer.
Post reply on HN