Skip to main content

Posts

Showing posts from June, 2024

Enable RPM Fusion

This will enable RPM Fusion's Free and Non-Free repositories: sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm sudo dnf update @core The second line is to update the Appstream metadata

Install Good Fonts in Fedora

I am against using unlicensed fonts. Please check the eligibility of each font that you want to use, especially for commercial purposes. Google Fonts Google share its fonts with us as they have a desire to make an open web. Google recommends to install its font using fnt which sadly not available in Fedora. Instead, we can go to sid.ethz.ch/fonts/ site to download the fonts we desire. It would download one family at a time. But, hey, a streamlined design use 2 fonts only, one for titles and headings and one for paragraph contents. Just download the RPM version. I think every desktop has its own RPM installer. We only need to click on the downloaded RPM to install. Microsoft Fonts There was a time when Microsoft desired an interopability web fonts. They shared some of their fonts to the world. I don't know what is the status of current license, but it is available for us to install at mscorefonts2 project. AFAIK, as long we don't distribute the fonts, it should be fi

Quest for Ultimate Fonts

After some readings where I forgot to write down the source, I settled with these fonts for my desktop. All of them are open fonts and free for commercials so I won't get sued someday when I use them on my official document. All fonts are installed to my Fedora 40 KDE Spin. I put anti-aliasing on with sub-pixel rendering sets to RGB and little hinting enabled. Common Fonts For non-monospace fonts, I choose to install Inter font from Rasmus Andersson . This font is mostly included in the top list of many font reviewers for UI. And I agree, the font is gorgeous and it has the right space for my KDE Fedora laptop. I used Monospace For monospace a.k.a coding font, I go with IBM Flex Mono font . It's a good font developed by folks at IBM. To get it, I use sparse-checkout to checkout from Github. git clone --filter=blob:none --no-checkout https://github.com/IBM/plex.git cd plex/ git sparse-checkout set --cone git checkout master git sparse-checkout set packages/plex-mono/fonts

Enabling OKD 4.15 on Fedora 40

I'm using the tutorial from this OKD on Fedora Workstation with CRC article. I skipped the first command because my KDE Spin already got a Network Manager. Later I found out that the CRC will install them when missing. The command I followed: wget https://developers.redhat.com/content-gateway/rest/mirror2/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz tar xvfJ crc-linux-amd64.tar.xz -C /tmp/ install /tmp/crc-linux-*-amd64/crc ~/.local/bin/crc At the time of writing, CRC is on version 2.37.1. And I have added my ${HOME}/.local/bin to my PATH in .bashrc Next setup: crc config set consent-telemetry no crc config set preset okd crc setup crc start This part I get this error: ... INFO Loading bundle: crc_okd_libvirt_4.15.0-0.okd-2024-02-23-163410_amd64... INFO Creating CRC VM for OKD 4.15.0-0.okd-2024-02-23-163410... INFO Generating new SSH key pair... INFO Generating new password for the kubeadmin user INFO Starting CRC VM for okd 4.15.0-0.okd-202

Goodix Fingerprint Firmware on Dual Boot

I don't know why I still keep my Windoze 11 Pro. I mean, yeah, sure I legitimately own the license as it is pre-installed with the notebook. Someday I'll wipe clean. Anyway, dual boot in Windoze seems making the firmware in the fingerprint hardware getting resetted. So, I need to do these steps when I'm back at Fedora. Assuming you forget the library used install these: sudo dnf install gcc git python-pip python-devel openssl Assuming you don't know the original source code, clone this: git clone --recurse-submodules https://github.com/goodix-fp-linux-dev/goodix-fp-dump.git cd goodix-fp-dump The Real Thing That's Need to be Done Create an isolated Python environment: python -m venv .v source .v/bin/activate Do the magic: sudo su pip install -r requirements.txt python run_55b4.py exit Install The Correct Driver For Goodix fingerprint, need to install different libfprint version. sudo dnf copr enable d-k-bo/libfprint-goodixtls sudo dnf upgrade libfpri

Fixing read-only Drive

I have a partition in NTFS so that I can put my whole documents there. Sometimes, Fedora mounts as read-only using fuseblk driver. The fuseblk seems like a kernel interface to all FUSE-based file system driver. It probably uses NTFS-3g. It seems it got nothing to do with my system. A quick search founds that it actually because the drive is marked as dirty. So, the system need to mount it read-only. TL;DR: To fix it: sudo ntfsfix /dev/nvme0n1p4 My laptop is running dual-boot. I still don't want to give up on the Windows Pro key. I mean, it's part of the cost that I spent to own the laptop. May be I would someday wipe it, but not now.

Installing Goodix Fingerprint Reader Driver on Fedora

I currently have a Lenovo Thinkpad L14 laptop equipped with fingerprint. I was `belok` from KDE Neon to use Fedora 40 because of someone. Now I am tempted to enable my fingerprint: lsusb | grep -i fingerprint Bus 001 Device 004: ID 27c6:55b4 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader Dump the firmware Assuming this is a fresh install, lets do some magic by getting some dependencies: sudo dnf install gcc git python-pip python-devel openssl Let's get the source code: git clone --recurse-submodules https://github.com/goodix-fp-linux-dev/goodix-fp-dump.git cd goodix-fp-dump Create an isolated Python environment: python -m venv .v source .v/bin/activate Do the magic: sudo su pip install -r requirements.txt python run_55b4.py exit There are some python scripts available. I run run_55b4.py because my device ID is 27c6: 55b4 . It will spell some nonsense, which is a good thing. That nonsense actually the firmware captured by our device. Also, I typed exit becaus