Creating Udev Rules
Scenario: Ignore a permanently connected backup drive Also see this related article. I have a WD USB drive - it's some cheapo variant, never get one of these! It's in an enclosure but can't be taken out and connected directly, like they used to, and suffers a lack of configurability as hdparm show...
Restoring Mimetype Associations
I deliberately deleted all mime*.* files I could find in ~/.local/share/applications /usr/share/applications ~/.config I might also have deleted /usr/share/mime/mime.cache. I definitely deleted the directory ~/.local/share/mime (it seemed to contain stuff only related to WINE). I was hoping to fix s...
Change XTerm's Window Icon
Venerable and versatile XTerm. Carrying cruft from four decades. I am a big friend of lightweight terminal emulators - I want them to pop up immediately, without having to run a daemon. Despite all its baggage, xterm is extremely fast. Change the Window Icon (pixmap) The default icon is absolutely h...
OpenNIC DNS updater script
This script will fetch a current list of DNS servers from api.opennicproject.org, filter them by countries if desired, sort by percentage, and write the result to files readable by various resolvers.
Change Application Window Icons Elegantly
The situation Sometimes you want to change the icon an application displays e.g. in the panel but cannot for some reason. Changing the icon theme does not help, and the application has no means of telling it to use another icon. Changing the icon referenced in the software's .desktop file (usually ...
Updating PicoCMS with Composer
How it works composer is installed locally on the server (Debian oldstable) via apt. All I had to do is navigate to the folder including the PicoCMS installation execute composer update $ composer update Loading composer repositories with package information Updating dependencies (including requ...
TWM Window Manager
twm is historical. It dates back to 1987, and is still maintained. I wanted to try it out and see what I can do with it, if I can customize it to my needs, both in functionality and looks. Screenshot Gallery click me! Installation It's in most Linux distros' repos. If it isn't, the source is availab...
Video Streaming without a Browser
The advice is twofold but simple: The python script youtube-dl is able to extract and download video and audio from many, many different sites The media player mpv automatically looks for youtube-dl when passed an internet URL to extract the media and play it directly. Additionally one can use a G...