Pairing Bluetooth Mouse on Gentoo

Just a few a days ago, I wrote a blog post about Pairing Bluetooth Mouse on Command Line on a Fedora laptop. So why do I need to write another post about doing the same thing on Gentoo? Well, as it turned out, I need a bit more than just turning on the bluetooth service and pairing the mouse. My Gentoo’s installation is very minimal, and I think this gives me an excuse to document on how I’d solve or get this working on Gentoo. ...

September 13, 2020 · 6 min · 1148 words · kenno

Resizing a GPT Partition

One of my virtual machines runs out of disk space in the root (/) partition, and I want to remove the /home partition and using this free space to resize the root partition. Nowadays, for any serious systems, I’d use LVM with XFS on top. However, for this test VM, I have a virtual disk with 4 partitions without LVM. Managing partition on LVM is much easier than working the disk partition directly. I can’t remember the last time I had to do this, so here is something to remind my future-self if I need this information again. Hey, if you’re reading this now, this might be useful to you too. ...

September 10, 2020 · 3 min · 556 words · kenno

Passed EX415 Linux Security

The exam was 4 hour long. I managed to finish all questions in 3 hours. Fortunately, I found a mistake in the last hour. I think the EX415 exam wasn’t too difficult and pretty confident that I did well. The most difficult part: not knowing what I did wrong. Or how the marker scripts would like to see our answers. I suspected there was a mistake in a question, but who to ask since there is a NDA? If you’re reading this, I can’t even ask or share this suspicion with you. (Again, because of the NDA.) ...

September 10, 2020 · 1 min · 185 words · kenno

Pairing Bluetooth Mouse on Command Line

Ever since I’ve switched from Gnome to DWM on my main laptop, I have to perform most things on command line now. I know, right? :P Anyway, I need to pair a bluetooth mouse, Logi MX Anywhere 2S, with this Fedora laptop. I had a similar post a while back about connecting Bose QC35 to Fedora 29. So this is quite similar to that post. First, ensure that bluetooth.service is running: ...

September 9, 2020 · 2 min · 323 words · kenno

Pfl Provides whatprovides on Gentoo

On Fedora or CentOS, on way to find out what package providing a file we can use yum whatprovides [FILENAME] or dnf whatprovides [FILENAME] on a DNF-aware system. # dnf whatprovides tmux Last metadata expiration check: 2:33:06 ago on Wed 09 Sep 2020 09:45:07 PM AEST. tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer Repo : @System Matched from: Provide : tmux = 3.0a-2.fc32 tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer Repo : fedora Matched from: Provide : tmux = 3.0a-2.fc32 I really need this similar tool on Gentoo, and it looks like the emerge command doesn’t have this function built it. Fortunately, there is a utility called e-file (provided by pfl package) which kinda provides this whatprovides option as in yum and dnf. ...

September 4, 2020 · 2 min · 316 words · kenno