5 ms·
Not a hardware req, but I've recently become quite enamored with Win 10 + WSL (Windows Subsystem for Linux) after years of using a Mac. WSL lets you run a light
by tootie 9y ago
Not a hardware req, but I've recently become quite enamored with Win 10 + WSL (Windows Subsystem for Linux) after years of using a Mac. WSL lets you run a lightweight Linux shell (Ubuntu, SUSE, Kali are supported atm) without a VM. It's purely for command-line purposes, no X, but that's fine for me. Windows for UI, then I can run all my bash in the Ubuntu shell almost seamlessly. You can run the shell directly from start menu or just type 'bash' from cmd or powershell so it can easily work in the embedded terminal for Android Studio.
- philsnow 9y agoYears and years ago I used an X server on Windows named Hummingbird I think, could you use a native x server for Windows and run e.g. xterms under WsL?
- ronsor 9y agoYes. I use Xming with it.
- e12e 9y agoYeah you can - I think xming is still the best F/oss version. But for better or worse, you get ms windows window management. In their recent announcement, kali Linux showed off running xrdp, allowing log in via rdp to a local Linux desktop.
- gpvos 9y agoYes. I have used vcxsrv and it works fine. There is also xming.
- baq 9y agoA win32 X server like mobaxtrem absolutely works.
- gilbetron 9y agoIndeed, I love WSL, and find win10 to be a better interface than OS X. Updates for OS X just move things around and change the looks, Windows 10 adds great new things - like new options for Linux distros under WSL.
- ianai 9y agoWith frequent bad reports regarding windows hardware, what’s the hardware to run wsl? I really did not like my experience with the XPS13
- oaiey 9y agoWsl is no virtualization it is more like docker. Therefore, you do not need a extra beefy system to handle wsl.
- walterstucco 9y agoIt's more like Wine
- tootie 9y agoIt's a thin compatibility layer like git bash, not a VM. Super lightweight.
- ianai 9y agoI meant which laptops are popular. Ie non-horrible touchpad, screen, other issues.
- gilbetron 9y agoI have a Dell Precision 15", and it works great, as far as I can tell. I do ML stuff in docker Jupyter notebooks without a problem. Docker builds seem fast, definitely as fast as my previous laptop (a macbook pro retina from ...2014?).
- ianai 9y agoAnd how are the keyboard/trackpad?
- yulaow 9y agoI think that in the most recent versions X runs just fine. At least a collegue of mine is running the whole Kali linux (you now find it in the window store) inside WSL using the full desktop (and indeed just looking in the store right now it is showed with the full desktop active)
- merb 9y agowell the biggest problem basically is not X, more like systemd.
- donatj 9y agoI have numerous shell scripts which connect to open GUI apps via Apple Script. I feel like having a hard line separation between the two would be prettty limiting in usability.
- tootie 9y agoPowershell > Apple Script
- coredog64 9y agoI tried this at work. IT doesn't use the latest Win10 build (:rolleyes:), so the WSL experience leaves a lot of room for improvement. Docker for Windows is similarly disappointing. The private network docker uses for containers conflicts with our corporate network. I can set the bip for a Linux daemon, but DfW just hangs and then crashes when doing so.
- tootie 9y agoYeah, it's still kinda bleeding edge. I only run it at home. At work I can't use it and even Hyper-V is not stable because we're on some in-between build of Win 10. We'll catch up soon.
- roywiggins 9y agoMy work IT runs an old enough and locked down enough Win10 build that WSL isn't even available. Drives me bananas.
- saidmasoud 9y agoHave you tried defining a custom network using Docker Compose?
- joezydeco 9y agoYocto-built crosstool chains crash in spectacular fashion on Win10/WSL. Would not recommend.
- 147 9y agoI couldn’t find a terminal I liked on windows. Got any suggestions?
- modzu 9y agoconsole2
- Boulth 9y agoConEmu works great after some tweaking (there are numerous options).
- dyukqu 9y agoCmder - http://cmder.net/ http://cmder.net/
- cmonfeat 9y agoSame boat, I've tried alternatives but can't find anything I like as much as the plain old gnome terminal on my Linux box. The solution I keep coming back to simply installing an x server like vcxsrv on Windows and gnome terminal on WSL. A few hoops to jump through, but it allows me to have an experience that's very close to native Linux. One less context switch my mind has to adapt to when switchibg between OSes.
- dawnerd 9y agoHyper is nice too but its electron based if you're against that sorta thing.
- rcarmo 9y agowsltty. Accept no substitutes if you use WSL.
- Per_Bothner 9y agoDomTerm (https://domterm.org https://domterm.org) works pretty well on WSL. Here is an article specifically about it: https://dzone.com/articles/running-domterm-terminal-emulator-on-windows-using https://dzone.com/articles/running-domterm-terminal-emulator...
- 9y ago
- 147 9y agoI just thought of another question. What's everybody's workflow like on windows with WSL? If I use an editor like vscode then wouldn't I need the packages for linting, etc. on windows when I'm editing code in the WSL filesystem?
- tootie 9y agoYou can run VS Code and all the plugins from Windows. The terminal pane will actually let you choose Powershell or Bash from the drop-down.
- jaxn 9y agoI currently am using npm from Windows with VS Code for my Vuejs projects. There is good support for using npm in WSL in VS Code,but we are using Cypress for testing and that doesn't want to work. On the Rails side, I am using RubyMine from JetBrains and it has WSL support baked in. I am able to use chrome-driver to test. For me, the weirdest part has been using git from the editor instead of the command line.
- jaxn 9y agoI'll add a hardware rec to the Win10/WSL stack: the Microsoft Surface Book 2. The keyboard is great, screen is beautiful, battery life is great. It even has a magnetic power connector similar to the old MBPs. I don't use it as a tablet much, but I do use the touch screen a fair amount. It wasn't cheap, but neither is a MBP.
- mattbee 9y agoIt is a pretty nice trick, and I use the same i3 config between my laptop & Windows desktop so everything comes up the same. The filesystem is slow though, for e.g. Rails work you will feel the difference between WSL & normal Linux.
- tomxor 9y agoMy colleagues use WSL for git and a few other linux CLI tools necessary to their work that git bash just wont quite cut it for. I often help them out with CLI stuff and I can say as both a full Linux user and an old x mac user (not exactly a fan these days), it's not comparable to mac... maybe one day, sure it's a real linux userland, but whatever majik layer they built on top of their kernel makes it feel like WINE inverted, some stuff is fine, other just painfully slow or erratic, also the terminal application is just horrid. Sure mac is a weird mix of old bits of BSD tools and GNU but at least it's running natively, it's terminal application also has some crufty bits but it's still far more usable. Oh also creating and modifying files in windows causes all kinds of issues with linux, because a) permissions and b) windows arbitrarily locks files... this really fucks with git. Someone goes and git pull some stuff and find out later that windows silently didn't let it's canned linux update the working tree properly... and then at commit time things get messy (where I come in), they aren't that experienced with git so it makes for a pretty shitty learning experience, even as an experienced git user it would piss me off if i had to put up with that all the time. Anyway, if it was my choice and i _had_ to use windows for some reason, I would still stick linux in a VM or dual boot, you can trust it isn't half working that way.
- ljm 9y agoWSL will be fantastic when software catches up to it or makes an allowance for its existence. It's nothing you can't hack around manually, but it can still be troublesome to treat WSL as a totally transparent layer. For example, you'll probably deal with some frustrating git checkouts if you clone from windows but interchangeably do work from Windows-land and Linux-land. Windows natively supporting LF and allowing Linux binaries to be transparently called would wipe away most of those issues (I think you can still only call windows binaries from Linux and not vice versa), and then you just need some windows installers that can enable WSL instead of packaging Cygwin or MSYS2. That being said, the existence of WSL at all is fantastic and it's a much nicer experience than booting up a VM or setting your dev environment up in the cloud. I'm still not sure if my next machine will be a MacBook again because of it.