Posts published by: Alejandro Liu

libnss-db HOWTO

This mini-howto illustrate how to use libnss-db on a Ubuntu Linux system. Other installations should work to after adjusting package names and directory paths. I myself use as a "serverless" lightweight user directory. Essentially, I mount the db directory and the home directory from an NFS server. Package installation ...

Alpine Linux Custom Interface names

This article is a copy of this article and shows how to rename/change name of a network interface. Alpine Linux uses busybox mdev to manage devices in /dev. mdev reads /etc/mdev.conf and according to mdev documentation one can define a command to be executed per device definition. The command which is going to be used to change network interface name is nameif. ...

Migrated to NacoWiki Albatros

This edition marks the migration of my Blog from Pelican to NacoWiki Albatros. This is a mostly transparent change. I wrote Albatros specifically to migrate this web site from Pelican to a php based markdown implementation. As such, it uses a slightly modified version of the Pelican theme. ...

Local Startup

This is a method to control start-up of applications in a Linux Desktop session that are run by a local default configuration, but can also be overriden by the user. This is unlike the /etc/xdg/autostart which is mostly under the control of the distro packager. Aslo unlike the /etc/X11/profile.d directory, this runs inside the Desktop Session. /etc/X11/profile.d gets started before the Desktop session is available. ...

Pulse Audio control in python

I have been using a shell script to toggle pulse audio sinks for some time. It worked well enough for switching output among several profiles on a single audio card. I recently upgraded my set-up to new hardware. This hardware for some reason, reported the analog stereo output and the digital HDMI output as different sound cards. So my patoggle script did not work well enough anymore. Since parsing the output of the pacmd in shell script was becoming a pain, I decided to re-write ...

Global hotkeys

To make it easier to switch desktop environment I am using a Desktop Environment independant hot keys configuration using xbindkeys. This lets me use the same keybindings on different Window managers and Desktop Environments. This code can be found in github. Included are the follwoing: ...

XPrinterMgr

This is a small utility to manage a local printer(s) in a home office setting. It will show the state of the printer: accepting or rejecting jobs enable or disabled printing ...

Munin-tweaks

Small recipes to tweak munin configurations. Overriding critical and warning levels In the node configuration enter: plugin.field_name.critical value plugin.field_name.warning value The plugin name can be found by clicking in the graph with the value ...

Desktop Environments 2023

Around April 2023, I decided to look for a new Linux Desktop Environment for my personal void linux. So I tried these distros: lxqt: This is the one I eventually chose to switch to. I liked it that it was very small and light, and very modular, almost like a kit that you assemble yourself. Because I have thinking for some time that I would like to make my ...

NacoWiki

A few months ago I extensibly modify picowiki and creeated NanoWiki. After using NanoWiki for a few months, the code became somewhat of an spaghetti mess. This has to do that picowiki was designed as a single file, single class application with Plugin extension. Since every change went to a single class this quickly became difficult to manage. Additionally, I realized that "NanoWiki" was not a very good name as this ...

Home Assistant Wall Panel

For a while I was using TabletClock with old tablets. But this has not been updated in a while. I was thinking of writing my own version until I found WallPanel. Essentially it is purposely built web-browser with special features which makes it possible to use it to replaces TabletClock. Essentially, I could replace TabletClock with a web-page showing the time and a weather ...

RDP vs VNC

For years I have been using VNC for my remote desktop needs. This works usually well enough. The features that I like are: Basic set-up is easy Desktop sessions are persistent Can be used to view an actual X11.org desktop. ...