Live data from Hacker News

Linux on the Desktop as a Web Developer

nolanlawson.com

31–40 of 78 posts

Re: Linux on the Desktop as a Web Developer

#31

I'm a backend developer but after switching for Windows to Mac (and from C# to Go) about 8 years ago, I recently (in the last 6 months) adopted an almost exclusive Linux-only approach. My MBP has been great but ever since the Touch Bar and finicky keyboards that kept needing repairs from authorized retailers, I started looking more and more at Linux. All the production code runs in Linux and, while Docker on Mac is p…

You should try 1password-linux from snap. It's essentially an Electron app but it works fine for me.

Re: Linux on the Desktop as a Web Developer

#33
I run Linux (Arch) on my personal Dell XPS13. I run Ubuntu 20.04 in a VM at work to do NodeJs/Springboot (backend) development and even in a VM, especially for node, the experience is better than colleagues running bare metal Windows.

Going back to the XPS13 the Linux experience is not perfect.

* the mess with the HiDpi support and font systems. I often go from the laptop docked to a Usb-C hub to using my laptop on my coach. And my external display and laptop screen don't share the same pixel density. And it is a mess to switch from one to the other without hurting my eyes. Fractional scaling is blurry under Wayland or X in Gnome. Also some apps rely on Gtk for font rendering and thus react to GDK_SCALE environment variables but some don't. Some understand the Xft.dpi X server font dpi setting, some don't... I stopped doing fractional scaling of the whole display and just automatically detect which display is connected (thus does not work on both) and change the Gnome font settings

* Worse Battery life. I kept the Windows10 partition just in case and sometimes spend a bit of time on it and I have a much longer battery life on Windows10 doing the same things. On Linux I get 6 to 8 hours, when on Windows it is more between 8 to 10 hours. I think the main reason for that is the lack of off-the-shelf hardware accelerated video decoder in the browsers on Linux (I watch quite a few youtube videos). Yes I know TLP, powertop, etc.

* No driver for the fingerprint reader. It is a shame since the same model is sold by Dell with Ubuntu but the driver is not available. It is something I really like on Windows.

* Worse bluetooth experience. On Windows10, my bluetooth headset or speakers connect instantly, on Linux it takes up to 30 seconds and I usually have to manually force it (completely random)

* More instabilities. Usually after a resume sometimes bluetooth or wifi stop working and I need to reboot (once or twice a week).

* Lack of Wayland compatible apps. (I run Gnome) and some apps do not work and sometimes don't have Wayland equivalent: OBS is buggy on Wayland, polybar (status bar) does not work. I moved back to Xorg but I find it less responsive.

That being said I experimented a bit WSL on Windows10, it is nice but I am still not coming back to Windows 10. I don't like the OS advertising apps that I don't want and WSL feels a bit like a workaround you don't get the full experience, cannot start services, mount filesystems or launch apps with a UI seamlessly.

Re: Linux on the Desktop as a Web Developer

#34

I'm a backend developer but after switching for Windows to Mac (and from C# to Go) about 8 years ago, I recently (in the last 6 months) adopted an almost exclusive Linux-only approach. My MBP has been great but ever since the Touch Bar and finicky keyboards that kept needing repairs from authorized retailers, I started looking more and more at Linux. All the production code runs in Linux and, while Docker on Mac is p…

If you’re open to swapping password managers, I use bitwarden. It’s solid with broad availability.

Re: Linux on the Desktop as a Web Developer

#35
post #5

I’ve found Linux to be a really good machine for development. Windows with Cygwin is a good mixture, but windows file locking, and the lack of bash (and some tools) really have made it a pain when developing back on Windows. At this point everything “just works” for me on Linux (Using Kubuntu) and is super stable. I don’t game much, and proton has worked for everything I need.

Have you tried WSL (Windows Subsystem for Linux)? After many years on Mac and then Linux, I switched to Windows and it's actually fine.

Having been on Linux the last 6 or so years (with Mac laptops sprinkled in), I’ve been very pleased playing with windows again. So much so that I’m trying to daily drive it just to know what it’s like anymore. Other than a few minor annoyances with WSL2 (such as systemd) it’s been going surprisingly well.

Re: Linux on the Desktop as a Web Developer

#36
Running MX Linux (Debian for power users) on my work laptop as a dev in the .NET ecosystem.

Two external 4K monitors plus the laptop screen with no problems. Running VMWare Workstation to do my Visual Studio work and Linux native VS Code or JetBrains tools (DataGrip in particular) for everything else.

Re: Linux on the Desktop as a Web Developer

#37
post #30

Like OP, I switched to a Dell XPS from Mac. First with the pre-installed Ubuntu, then Xfce + Debian and now Debian + i3. It comes with headaches. Ubuntu (16)'s window handling was sometimes buggy for me. Xfce was fast and worked very well, but I wanted something with better multi-monitor support and even more minimalistic. i3 fits that bill nicely. I would not want to go back to Windows, Mac or Ubuntu for that matter…

Did you mean Ubuntu 16 (from 2016)?

Yes. It was a while ago.

Re: Linux on the Desktop as a Web Developer

#39
I've worked as a web dev on Linux for nearly 15 years (most of it Ubuntu). My day job requires that I work on Windows 10 and I'm sorry to say this, but from a developer's perspective it does feel like an inferior user experience. To cope I've tried the WLS, but it didn't really do it, then I was able to somewhat cope a bit with Cygwin. Still it's not the same. I miss the extra desktops. I miss the ability to install a proper tiling window manager with sane keybindings (I use i3 so please don't even mention Power Toys). I miss simply configuring stuff with simple text files, instead of pointing and clicking to open layers after layers of windows to simply change one value, which can also turn even the simplest tutorial into a headache (try installing a wsgi server on IIS). I also miss having my configuration respected without agenda, rather than seeing some applications somehow capable of vetoing my choice of a browser, or my language preferences. I miss ubiquitous utilities that are just sort of expected to be there by anything you install, like cron. Oh, how I miss the shell (please don't even utter "PowerShell"), would you believe that I even miss Bash as a language after trying batch files?

I miss a whole lot of other things and looking for replacements on Windows, it's especially annoying that everything that MS produces is promoted as the next best thing to sliced bread, so you're never really sure if the solution you're being sold is just pure shite, or if it's really worth your time. And on that note, I would never believe that I would miss the capricious Linux community, because it doesn't matter how good Canonical gets it on a release, we're guaranteed to have laments about the millions things they got wrong this time. But it's only when you decide to take a stroll on the neighbor's grass that you realize how green yours really is, right?

Re: Linux on the Desktop as a Web Developer

#40
post #9

I’ve found it much easier than Windows. Can never get power shell to do what I want. Eg the other day a google QuickStart guide required setting a .sh as executable. Couldn’t figure that out. Been trying to install WSL2 for a month+ now. So now I’m just dual booting

WSL2 will be available in the Windows 10 May 2020 update that should be released end of May. I tried during lockdown WSL and was impressed by the ease of use and how fast it started but there are a few quirks. It is not a full featured Linux OS at your disposal. I tried the Ubuntu 20.04 LTS for instance and systemd did not work preventing from starting services with systemd (there are some workarounds), I couldn't mo…

This is understandable, since binaries in WSL run directly on Windows, with no virtualization/emulation, except for Linux syscalls.

With WSL2, Linux runs in a VM, and behaves exactly as a Linux box, so Docker/systemd/FUSE run as expected.

Post reply on HN