dt.iki.fi

59 posts are tagged "linux"

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.....

FFmpeg Tips and Tricks

Cut a video without re-encoding... ...at keyframes only (forsaking time accuracy), and without messing up timestamps: ffmpeg -noaccurate_seek -ss [START_TIME] -i [INPUT] -t [DURATION] -c copy -avoid_negative_ts make_zero [OUTPUT] As always with ffmpeg, the order of the options is relevant. Either -s.....

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 .....

Setting up a ThinkPad x250 with Linux

Two chapters in this article are Debian-specific, the rest is more or less Archlinux-specific. It never grew into the device-specific alround tutorial I envisioned and has been partially superseded by this article. The ThinkPad itself is in daily use. No regrets there! BIOS Update The latest BIOS .....

Setup NFS Share on Debian

I did practically everything described here. However, for automating the whole process with fstab on both client & server, this provided important extra information, esp. about bind-mounting existing filesystems into a dedicated NFS folder, and also about /etc/fstab entries. That's it really; it.....

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.....