Hello all! I began working today, where the work is closely related to programming. Despite this, the work computer is set up as Windows (eww). I want to look for work-arounds, as installing linux on a work machine is a no-go.

I wonder, what is the way to minimize pain from having to use windows? Either that, or a way to maximize work done on linux-like stuffs. A linux server is given for us, and I think I can install WSL. Any recommendations on this setup?

Especially, I miss the virtual desktop feature, is there any way to use it? Is there a way I can run compositor through WSL? Also, should I install Pop! OS for the feature, or is it available on e.g. Ubuntu (default WSL)?

Sorry to ask a non-exclusively-linux question, but I think, hopefully, many linux people have experience to give me pointers what to do with a windows work environment.

EDIT: The Windows is Windows 10.

    • @[email protected]
      link
      fedilink
      13 hours ago

      I recently upgraded to Windows 11 and it’s absolutely fine. Admittedly I did some research, got the IoT LTSC version and enabled the Rufus options to remove account requirements etc. But after that it’s pretty much the same as Windows 10, just slightly swisher animations.

      • Cyborganism
        link
        fedilink
        18 minutes ago

        I’ve had my laptop reimaged at work with windows 11. It’s horrible. I miss windows 10 honestly.

  • @Olap
    link
    610 hours ago

    WSL2 with VSCode is really common. Windows Terminal is actually good. I use Ubuntu at work, and run Docker community edition and Vim. Firefox in the windows instance. Biggest issue is always the corporate firewall, good luck!

  • @[email protected]
    link
    fedilink
    English
    1112 hours ago

    Why aren’t you discussing this with your leadership?

    If you’re doing Linux dev work, there must be a reason your team is using Windows, and they have process around dev tasks. And your team must have process/tools for what your role does.

    This seems very much like an internal discussion around what your team does.

    • Cyborganism
      link
      fedilink
      13 minutes ago

      I tried at my job. Basically the IT guys are too incompetent and don’t know how to manage Linux computers.

      But the company had to be able to have control over what users install, they must also have a VPN and proxy set up in a way that they can monitor what employees do or what they browse. They currently use Zscaler.

    • @[email protected]OP
      link
      fedilink
      English
      2
      edit-2
      4 hours ago

      I see, I gotta talk about it with the leadership. For context, my work is just a small university lab (5~20 people), so I expect it to be less organized.

    • mox
      link
      fedilink
      35 hours ago

      +1 for bringing it up as serious discussion.

      The last time I had to ask permission for something like this, the issue turned out to be simply that the IT staff wasn’t trained in Linux and therefore couldn’t support it. I was more than capable of administering my own Linux box and ensuring that it wouldn’t become a risk to our company network, so we agreed that I would do that.

      It was a win-win result: I had the tool I needed to be most productive, and IT had fewer machines to support.

  • @[email protected]
    link
    fedilink
    English
    611 hours ago

    My boss lets me remote into a Linux VM hosted on a company server. You could just use a normal VM.

  • @[email protected]
    link
    fedilink
    English
    29 hours ago

    Have you asked whether they’d be okay with a dual-boot? I recently started work as well (gamedev) and while most of the studio is on Windows I was able to set up a NixOS install for productivity (and to test the game on more configs).

  • @[email protected]
    link
    fedilink
    English
    312 hours ago

    WSL, if not then msys2/git bash at bare minimum

    Poweshell 7 is okay if you have access to it but regular day to day shell scripting is like as 10x more verbose with powershell than bash

    I just use WSL at work, extremely fortunate to be able to despite IT locking down everything as much as possible

  • @[email protected]
    link
    fedilink
    514 hours ago

    Programming on Windows can be totally fine, if you’re working with a language that cares about Windows support. E.g. in my experience:

    • Good: Rust, Go, C#, Java, Deno, Dart
    • Okish: Python, C++, Node
    • Bad: Perl, OCaml

    If it’s in the “bad” category I would recommend installing WSL and using VSCode’s remote feature that lets you have a Windows copy of VSCode connect to WSL.

  • @[email protected]
    link
    fedilink
    716 hours ago

    A virtual machine with Linux might be an option or Remote Desktop to a linux machine.

    If its just about virtual desktops:

    Windows 11 has that, i think win+ctrl+d creates a new one and win+ctrl+left arrow/right arrow scrolls through the desktops.

    with that Docker and WSL(because powershell confuses me, and iam to lazy to learn it) i work pretty much the same as i would on a linux machine with a non-tiling window manager.

      • Victoria
        link
        fedilink
        English
        38 hours ago

        i remember powertoys offering tiling for win10

      • NeatoBuilds
        link
        fedilink
        English
        113 hours ago

        If your machine has nvidia you can install the nvidia window manager thing for nvidia tiling, I only used it for a bit so can’t really say it was good

  • @[email protected]
    link
    fedilink
    515 hours ago

    What exactly are you trying to get around? The question is kinda broad.

    If your issue is your program behaving differently or being hard to set up depending on the OS, a common strategy is Docker.

    PS: why is your employer forcing you to use old Windows that’s going to go end-of-life basically tomorrow morning? That’s odd.

  • Ephera
    link
    fedilink
    English
    110 hours ago

    If you’re allowed a VM, I would recommend using that. Trying to make Windows suitable for dev work is a bottomless pit…

  • @[email protected]
    link
    fedilink
    314 hours ago

    What kind of programming work are you doing?

    I’ve thought about situations like yours and what I would do if I were in that situation someday. For me, the plan is to try doing as much in the console as possible, which means Vim/Neovim for development and Tmux for window management.