MPV is my favorite open source media player. On Fedora 42, the default display manager
is Wayland (as a replacement for X11). MPV does not play well with Wayland, playing videos is delay/lagging.
In addition, I am using an NVIDIA graphic card 3080. it could be a reason that my video playing is delay.
This post is all about customize mpv’s flags to work with Wayland and NVIDIA graphic card.
II. How to do?
Go to ~/.local/share/applications and create a new file named mpvfast.desktop.
Damn man, I really expected that after install dnf install autojump-zsh, everything should run without any modification, I can start using j
command. But no, command j not found. This post is all about installing autojump on Fedora.
Each user has their favorite shell, I am using zsh. this guide is all about setup autojump on zsh. The methodology is the same for fish or bash.
Hi, I am running Firefox on Fedora 41, my display manager is wayland by default. While using Firefox, sometime, I
can’t do mouse click on Firefox. This post will help you save 5 minutes.
First of all, the key point here is environment variable MOZ_ENABLE_WAYLAND=1. We need it before running firefox.
You can test by running this command. If it works, you can read futher, else, stop wasting your time reading my post.
$ export MOZ_ENABLE_WAYLAND=1
$ firefox
I assume that you have play with your firefox smoothly. Now, we will edit .desktop file. So what is it?
it’s a application shortcut for GNOME. You can find it /usr/share/applications.
Now, edit /usr/share/applications/org.mozilla.firefox.desktop, add env MOZ_ENABLE_WAYLAND=1 on Exec= line.
Remember that there are many places need to update.
As a consequence, I have to use CloudFlare WARP to dogde it. It’s fine till I have trouble pushing/cloning my source code to github. I am pretty sure that CloudFlare did
something as a middle man!
$ ssh -T git@github.com
# ssh: connect to host github.com port 22: Connection timed out
So, there are two choices:
[1] Turn off cloudflare’s warp client
[2] Change github ssh port from 22 to 443
This post is all about the second solution. Do ssh to ssh.github.com port 443 instead of github.com port 22.
If you run ssh -T -p 443 git@ssh.github.com and it works, you can continue reading this post. Else, this post is not for you cause ssh.github.com port 443 is also BLOCKED.
$ ssh -T-p 443 git@ssh.github.com
# Hi nguyenvinhlinh! You've successfully authenticated, but GitHub does not provide shell access.
If you see that message Hi nguyenvinhlinh! You've successfully authenticated, but GitHub does not provide shell access. You can alias ssh’s config and work around ssh's port 22, connection timeout error.
I will make it short! Edit file ~/.ssh/config with the following config.
Hostgithub.comHostnamessh.github.comPort443
And test it with: ssh -T git@github.com. You should see output like:
Hi nguyenvinhlinh! You've successfully authenticated, but GitHub does not provide shell access.