That's the beauty of buying used! Less financial investment. In this case I went for knock-offs but I usually mod used controllers.
klay
Ah! This is a shell pipe! It's composing several smaller commands together, cool stuff.
-
ls -1
is the grep-friendly version of ls, it prints one entry per line, like a shopping list. -
head
takes a set number of entries from the head of a list, in this case ~~2 items.~~ negative two, meaning "all but the last two." -
xargs
takes the incoming pipe and converts it into extra arguments, in this case applying those arguments torm
.
So, combined, this says "list all the .dump files, pick ~~the first two,~~ all but the last two, and delete them." Presumably the first are the oldest ones and the last are the newest, if the .dump files are named chronologically.
Ironically enough, it's led to me playing more games on the living room television! The steam deck helped me adapt to playing with a gamepad, as opposed to mouse and keyboard.
Until they come out with a Steam Controller 2, I will say the best gamepad for steam is the Dualsense (a Dualshock 4 also works). It's got one touchpad instead of two, but Steam lets you map the left and right half separately, which covers my primary use cases. I also installed the RISE4 remap kit, a hardware mod that adds paddles on the back of the controller which can mimic any face button. Not as good as having actual new buttons, but it does mean I can run and jump without taking my thumb off the right stick.
That doesn't answer the question, they asked if it's open source. I agree, I don't want to replace one sketchy data-harvesting service with another, I'd be a lot more comfortable giving shutup10 control of my system if it was on github or gitlab.