(no title)
rpigab | 1 month ago
> Linux won't stop you if you try to use a command that deletes every file on your PC ("sudo rm -rf /").
It will definitely stop you from running that command because of "--preserve-root" that is enabled by default, if you want to break your system you have to opt out of it. Just don't try to put an asterisk after, pathname expansion will be a different case ("rm -rf /*").
MarsIronPI|1 month ago
Until you come across a system old enough that the coreutils' rm doesn't have that safeguard. And that is how I accidentally'd my OLPC XO's Fedora install.
rpigab|1 month ago
TBF, this safeguard has never saved me, being careful saved me. You can afford to take the time to be careful, because writing the powershell equivalent is probably at least ten times longer (just kidding, or am I?), and clicking buttons in the file explorer is a hundred times longer. Always write the "-rf" after writing the path! I never run rsync without a dry-run, too, even without --delete.
Johnny_Bonk|1 month ago
rpigab|1 month ago
To check for game compatibility, you should check :
- Steam store page for Steam Deck compatibility, be aware that sometimes a bad rating only means the in-game text is too small to read on small screens or that gamepad support is poor, also I've played multiple "not supported" games that ran just fine.
- ProtonDB, community rating, separate comments for Steam Deck and PC, troubleshooting for Nvidia/AMD specific issues, etc. -> This includes Valve's Steam Deck compatibility score https://www.protondb.com/app/1808500?device=pc
- https://areweanticheatyet.com/game/arc-raiders AWACY says ARC Raiders is not officially supported, but runs. You never know, it might break in the future or not.
- Be aware that the Steam Client is only officially supported on Ubuntu, though you might be fine with other distros as well. Don't use the open source "nouveau" GPU driver, use the proprietary Nvidia drivers, also I've had GPU hiccups during the transition from X.org to Wayland that might be related to NVIDIA, but now it's fine.
mixedCase|1 month ago
I've been running Linux for gaming for well over 15 years and have not missed much in the last 5 or so. There's way too many games out there to play that do run on Linux even if unemployed and have the time to dedicate it as your sole hobby.
freedomben|1 month ago
I wouldn't try to dual boot, mainly from past experience. Linux is very fine with it, but Windows can aggressively try to repair itself and break other things, or end up broken itself.
cheald|1 month ago
You could just buy another SSD and install Linux on that. Then, you have your Windows drive left untouched and pristine so you can swap back if you want, or you can pull data over as needed.
worksonmine|1 month ago
Prepare for some potential headaches, do some research and see what kind of problems you might encounter. And before blaming Linux watch this short clip[0].
[0]: https://www.youtube.com/watch?v=iYWzMvlj2RQ
queenkjuul|1 month ago
glitchc|1 month ago
canistel|1 month ago
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
rpigab|1 month ago
"rm -if" never prompts, "rm -fi" prompts. --preserve-root is an entirely different thing which will stop the command from deleting files even if you told it to.
When in doubt, you might want to activate xtrace with "set -x", run the command and see what it expanded to. then "set +x" to disable.godelski|1 month ago
I think for the average person this would be synonymous to "every file on your PC". It is all the files that they care about. It deletes everything they have permission for. Everything they* own. For the average user `rm -rf /` is no different than `sudo rm -rf --no-preserve-root /`
That said, some* systems have some protections. It is common to see the following aliases in the default .bashrc (check your /etc/skel/.bashrc) but also we have to ask the question "is this a bad thing?" I'm not so sure the answer is as clear as people like to suggest it is. But you're asking your computer to do something and either it is going to do that thing or it is going to refuse. I'm personally on the side that a computer refusing to do what you ask it to do is a worse thing, but I can also understand why people want to add in precautions to protect users. Sudo is even one of those!
I'd also suggest adding the following to your ~/.bashrc and would encourage distro makes to put this in /etc/skel/.bashrc
This can help reduce mistakes. It has saved me on multiple occasions and I've been using linux for over a decade. And honestly, I am deeply frustrated every time I have to touch a Windows machine. I have terrible experiences and it has never "Just worked". With my last work laptop with windows (2024) I learned that Windows Hello (login with fingerprint) likes to break Outlook. The fact that this was a known issue to my IT team kinda highlights how disorganized Microsoft is. FWIW I do also use a Macbook Air as a daily driver but to be frank, for any work it is an overpriced SSH machine. I haven't tried a linux netbook in a few years but that would be ideal if it can actually have long battery life. Biggest help is that Microsoft is inadvertently being less hostile to linux users by making everything cloud based. I hate cloud apps but at least I don't have to have their shitty software on my computer to read a Word document (and because people can't just normalize sending PDFs)