3 ms·
I kind of think similarly on the subject. They make some beautiful hardware, but I've never been able to get comfortable on macos. I love linux, but that also h
by bostonsre 5y ago
I kind of think similarly on the subject. They make some beautiful hardware, but I've never been able to get comfortable on macos. I love linux, but that also has some drawbacks when running that as your desktop or laptop. I have been really liking WSL on windows 10. I don't need to worry about installing stuff on windows, but having linux as my shell has been pretty great. I wouldn't call it just a better integrated VM, it's almost like having a chimera of an OS that is both linux and windows.
e.g. I have this in my .bashrc in my centos container. It runs the windows powershell executeable to write to my windows clipboard. Not sure how they're doing it but, seems pretty magical.
function cb () {
powershell.exe -command "\$input | set-clipboard"
}
echo "hello" | cb # hello written to windows clipboard
All that being said, I'd be really interested in how well this project integrates the container on macs. Maybe this will be a good option for the future.
- vereis 5y agoI found the start up time for powershell to be quite noticeable in WSL for scripts like that. If copying is all you're after you can invoke `clip.exe` instead. Honestly though I just caved and ended up using an xserver with WSL for really smooth copy and paste support. Paste requires a powershell invocation without an xserver. Definitely recommending X410 (paid) or VcrXsrv (free) -- let's you launch x11 apps too! Once WSLu is released everything will be even more seamless though.
- bostonsre 5y agoWhat latency do you get? Haven't checked, but would guess I see ~100ms. I've been using centos 7 with bash.