

Can’t wait for a new Brodie-video on this topic. Stay tuned for some comments.
I’m here to stay.
Can’t wait for a new Brodie-video on this topic. Stay tuned for some comments.
Why even bother with the Switch 2, if we are measuring the fastest display?
I had recently same issue, but with a different game. Out of nowhere the performance was bad. And it took me even a day to resolve this. My PC does not need power profiles actually, its not a laptop at all. Not sure why or how the profile changed, but it got me from say 100 fps to stutter-fest 17 or something like that. I think that there was a key combination in KDE I hit by accident maybe.
You don’t need to understand a command in order to copy paste an alias or Bash function. Especially newcomers could tend to do it, without knowing what the command actually does. We are also in a posting with helpful commands, so its double harmful. And you doubling down without adding any sort of disclaimer shows you don’t care.
Very nice. Also thanks for reporting back. Yes, in Linux filenames and extensions are case sensitive, unlike in Windows. Most programs (including Windows itself) treat lowercase and uppercase in filenames as the same thing. And because most developers and users are on Windows, they are used to it this way. So on Linux we have to take extra care and in some cases rename files.
Next would be to learn how to swap a Disc when the game asks to. I mean for games that are multi-disc, in case you play other games too: https://docs.libretro.com/guides/disc-swapping/
And I also recommend the official forum of RetroArch too, to ask questions if you have any (I am there too ;-)): https://forums.libretro.com/ Because there are lot of engaged users who know RetroArch pretty good and even developers of RetroArch and some cores respond and help there too. Have fun with Final Fantasy Tactics (one of my alltime favorites). BTW the game was announced to have a remaster.
There is one in the works right now: https://www.nexusmods.com/app
The only problem is, there are just 2 games supported at the moment; Stardew Valley and Cyberpunk 2077. Many more will follow, but it takes time. And updates can break your current setup, because its heavy on working and changes. So this is more of a future thing. I myself wait for this right now.
Here is on that I actually don’t use, but want to use it in scripts. It is meant to be used by piping it. It’s simple branch with user interaction. I don’t even know if there is a standard program doing exactly that already.
# usage: yesno [prompt]
# example:
# yesno && echo yes
# yesno Continue? && echo yes || echo no
yesno() {
local prompt
local answer
if [[ "${#}" -gt 0 ]]; then
prompt="${*} "
fi
read -rp "${prompt}[y/n]: " answer
case "${answer}" in
[Yy0]*) return 0 ;;
[Nn1]*) return 1 ;;
*) return 2 ;;
esac
}
For the newer version of program, that’s why we have the $PATH. You put your program into one of the directories that is in your $PATH variable, then you can access your script or program from any of these like a regular program. Check the directories with echo "$PATH" | tr ':' '\n'
My custom scripts and programs directory is “~/.local/bin”, but it has to be in the $PATH variable too. Every program and script i put there can be run like any other program. You don’t even need an alias for this specific program in example.
I’m not sure what you mean with the question. If you have any alias like alias rm='ls -l'
in your .bashrc in example, then you cannot use the original command rm
anymore, as it is aliased to something else. I’m speaking about the terminal, when you enter the command. However, if you put a backslash in front of it like \rm
in the terminal, then the alias for it is ignored and the original command is executed instead.
Edit: Made a more clear alias example.
Little tip: In case you need to use rm
directly, even with the alias in effect, you can put a backslah in front of the command to use its original meaning: \rm filename
A few days ago I posted a one-liner to do the same thing too. It will resolve aliases from your history and expand program paths to its fullpath. I thought you might be interested: https://beehaw.org/post/20584479
type -P $(awk '{print $1}' ~/.bash_history | sort -u) | sort
i also have the chmod one, but mine is named just x:
alias x='chmod +x'
I also have the yt-dlp "$(wl-paste)"
one, but its build around a custom script. So sharing it here makes no sense. Its funny how often we do same thing in different ways (extracting or creating archives in example). Often aliases get development into function and then they turn into scripts. For some of the more simple aliases, here a selection:
alias f='fastfetch -l none'
alias vim='nvim'
alias baloo='balooctl6'
Here is mine for EndeavourOS (based on Arch, BTW):
alias update='eos-update --yay'
alias updates='eos-update --yay ;
flatpak update ;
flatpak uninstall --unused ;
rustup self update ;
rustup update'
And related for uninstalling something:
alias uninstall='yay -Rs'
With how many new Linux users we get recently, I don’t like this joke at all without a disclaimer. Yes yes, its your own fault if you execute commands without knowing what it does. But that should not punish someone by deleting every important personal file on the system.
In case any reader don’t know, rm
is a command to delete files and with the option rm -r
everything recursively will be searched and deleted on the filesystem. Option -f
(here bundled together as -rf
) will never prompt for any non existing file. The /
here means start from the root directory of you system, which in combination with the recursive option will search down everything, home folder included, and find every file. Normally this is protected todo, but the extra option --no-preserve-root
makes sure this command is run with the root /
path.
Haha I know its funny. Until someone loses data. Jokes like these are harmful in my opinion.
2.69% +0.42%
Nice, the meaning of Life. This would be perfect, if it was 3.69 instead. But we can’t have it all, otherwise there would be no improvement possible and it gets stale.
This is how you challenge actual pirates and grow your real enemy, while you punish innocent civilians. Pirates will pirate, regardless of what Nintendo says, wants or does. The real losers are loyal customers who pay lot of money.
What or which WIFI regression is solved here? In the comments people point out the problem for the LCD model persist. As I have he LCD model, I’m curious, as mine maybe affected.
PS I hate to be the UUOC person. I’m sure you’re already aware and it was a deliberate choice.
I wish it was. I honestly forgot. yeah, shame on me. :D Before this, at the position of cat there was actually a different command, which I replaced with this. And I didn’t think of adding the file to awk instead. I’ll update the line with this suggestion and a suggestion from someone else.
I’m actually not sure what you mean by that. This script will only list the programs you used in the terminal. It prints the fullpath of each command. That’s all it does.
Do you want know if a program is currently running?
It’s not GUI, but I want to mention another alternative, as people mention commandline applications here too: kdotool, works under KDE Wayland without with normal user rights (no root). They still work on a few features, but it can do lot of windowing stuff already. A good addition to
ydotool
.