A bit of context/history: for those of you who follow Nate’s blog you might already know what I am talking about. Thanks to the awesome work done by aleasto on this MR, we closed this bug.
There are, of course, a few quirks to solve but essentially it works.
The @kdesig team has enabled a COPR repository for those who want to help us test the upgrades from F37 to F38.
BIG FAT WARNING: Fedora 38 is still in BETA
I will now explain shorty what are the steps you need to follow to perform the upgrade via Discover:
Now open Discover, go to the Update tab, click on Refresh and eventually on Update All:
Click on Restart Now to trigger the installation of our patched discover
Once you reboot, open Discover again and after a few seconds click on Upgrade to Fedora Linux 38:
Switch to the Update tab and wait until the progress bar finishes. Finally click on Update All:
Now be patient as many packages will need to be downloaded. When it finishes, you will be asked for your password:
Important note: there is a known bug which might trigger an error message at this point. If you see it, don’t panic, just close the message and click on Update All again. This time everything should work.
Time to Reboot, grab a coffee and after a few minutes… you shall boot into Fedora 38!!!
Please try it out and give us feedback on our Matrix room 🙂
I wanted to share with everybody how I use this amazing tool on my day to day on the terminal.
First of all, what exactly is fzf?
As you can see on the title of this post and on the fzf website:
fzf is a general-purpose command-line fuzzy finder.
And what does that exactly mean? Well, in short, it searches through a list without needing to be 100% accurate. You type a couple of letters and it will give you results based on likelihood:
Fedora Setup
To have a basic setup just install the software:
sudo dnf install fzf
And add these lines to your .bashrc:
if [ -f /usr/share/fzf/shell/key-bindings.bash ];then
source /usr/share/fzf/shell/key-bindings.bash
fi
if [ -f /etc/bash_completion.d/fzf ];then
source /etc/bash_completion.d/fzf
fi
The bash_completion will help you with:
whenever you want to use parameters whenever you call fzf by pressing tab:
Trigger fzf on another command with **
And the key-bindings:
CTRL-T – Paste the selected files and directories onto the command-line:
CTRL-R – Paste the selected command from history onto the command-line:
ALT-C – cd into the selected directory:
Customization
By default, fzf uses find but I’ve found ripgrep to be faster, let’s use it:
Enable the timer: systemctl --user enable --now clipclear.timer
Now our clipboard will be cleared on the clock at 0, 15, 30 and 45 minutes 🙂
pbcopy
Mac users are probably used to having this little helper pbcopy so I decided to create my own.
Create /usr/local/bin/pbcopy with the contents:
#!/usr/bin/env python
"""Copy input to clipboard."""
import os
import subprocess
if os.getenv("WAYLAND_DISPLAY"):
with subprocess.Popen(['wl-copy']) as proc:
proc.wait()
else:
with subprocess.Popen(['xsel', '--clipboard', '--input']) as proc:
proc.wait()