A trip on the rusty D-Bus

Intro 🚌 D-Bus is a message bus system and standard for inter-process communication, mostly used in Linux desktop applications. Both Qt and GLib have high-level abstractions for D-Bus communication, and many of the desktop services we rely on export D-Bus protocols. Also the omnipresent systemd can be only interfaced via D-Bus API. However, D-Bus has its shortcomings — namely a lack of documentation. In this article we’ll explore how to write our own D-Bus Service in Rust and connect it to our D-Bus client....

October 4, 2023 · Andrea Manzini

Quiet fans on Thinkpad P15

Intro The Thinkpad P15 laptop is a nice linux machine, but there is an annoying detail, as Arch wiki writes: “The default operation of fans is noisy, as they are basically at medium power all the time. The thinkfan program can be used to create a quieter operation, while retaining reasonable temperatures.” . Let’s make it quieter. Prerequisite Install thinkfan rpm package and enable the daemon: # zypper in thinkfan && systemctl enable --now thinkfan Make sure modules are loaded at startup with the options to override fan control and enable experimental features:...

September 1, 2023 · Andrea Manzini