this post was submitted on 07 Aug 2023
35 points (94.9% liked)

Linux

48012 readers
923 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I saw from a post that you can basically host your own mini windows inside of linux to play games with, and you can choose what to share with that little windows so microsoft can't track you in any way. Does anyone have a tutorual/guide for that? Also what Distro would be best for it?

you are viewing a single comment's thread
view the rest of the comments
[–] garrett@beehaw.org 8 points 1 year ago

There are a few ways...

The easiest is using Steam, which handles everything for you (once you flip a switch in settings). The second easiest is using Bottles or Heroic, both of which lets you run Windows games and apps on Linux via Wine. The third is VMs, but that's just Windows itself running virtualized (in its own virtual machine) in Linux. The fourth way to use the same computer for Linux and games is to dual boot (reboot from one OS into the other) and stick with Linux except for particular games that might not work with other methods — which is thankfully very rare these days (as most games work in Linux via Proton or in Wine via Bottles or Heroic).

  1. Steam on Linux has a switch in the settings to enable Proton for all games. Flip that on, and it's basically transparent. For setting up Steam, the easiest way is to install it from Flathub.org. Depending on your distribution, it's most likely set up for you. If not, then follow the setup guide @ https://flathub.org/setup. Once Flathub is set up on your system, you can install the flatpak of Steam from your app store (GNOME Software, KDE Discover, etc.)

  2. An alternate method is to set up Wine outside of Steam. There are a few ways to do that; Bottles is the most straightforward and super easy way, letting you have different Wine environments for different apps or games (or just one for everything, if you'd rather)... Bottles is easy to use and has installers for a lot of common apps and launcher. Additionally, Heroic is also a good way to run GOG, Epic, and Amazon games on Linux. Both are on Flathub too.

  3. There's a third major way, and that's installing Windows as a virtual machine on Linux. You'd probably want to use GNOME Boxes or virt-manager for that. Boxes is easier (and on Flathub) and will give you adequate GPU performance for a lot of things (however, isn't ideal for high performance gaming), but if you have two GPUs (often one integrated and one discrete), then you can use GPU passthrough with virt-manager, but that's way outside the scope of this comment. 😉 Perhaps having a Windows install in a VM just for some games that don't work on Linux is what that person meant? But that would still get you tracked by Microsoft whenever you're using Windows in that VM. (So I'm guessing they're talking about Wine instead, which is option 1 and 2.)

  4. Dual boot is basically reusing the same hardware for two different operating systems, but only one at a time. When you're in Linux, Microsoft doesn't track you (unless you're using Edge on Linux or specifically using a Microsoft service). You'd want to minimize your time in Windows.

You could use any of the above or a combination (perhaps even all of the above), depending on what you want. I only use 1 and 2 myself. While I do play a lot of games, all on Linux, I don't play any that require Windows.

(There are only a few these days that don't work on Linux. The notable ones I'm aware of are Fortnite, Destiny 2, Genshin Impact, and a few others that rely on lootboxes where the maker didn't flip the switch to enable "anti-cheat" on Linux. Most everything else works these days, even a lot of other lootbox/pay-to-win games.)