dt.iki.fi

All Articles (123)

Make a screencast with ffmpeg

Several applications to record your desktop exist, but ffmpeg can do it all by itself, via its x11grab format specifier. But there were some challenges: Performance What ffmpeg does when recording your screen is to transcode the X11 video into compressed output, based on file extension. But I wanted.....

Customizing the Linux Console

A collection of tricks that also have an effect on the non-graphical environment, a.k.a. the console. Keep boot messages on tty1 I do not use a display manager or splash screen. When my computer boots, I see all messages, then a login prompt. By default the screen would clear before the login prompt.....

Arrange long Command Output in Columns

There's this one command whose output you need to look at again and again. It's a long list of short words and whizzes by too fast and using your terminal's scroll function is cumbersome. Of course there's more or less, but that is cumbersome, too! Searching the web for a solution only leeds to more.....

Convert man pages to HTML with the Ansi Html Adapter (aha)

I was having a hard time trying to find a man-to-html converter that does what I want: just properly translate what little formatting man uses. What I found (groff, troff, roffit, man2html) seemed to be either outdated (using inline- or even html-styling) or buggy or simply unable to preserve man's .....

Window Managers

Linux is somewhat famous for having so many different windowmanagers; this is not a complete list. My interest was in those that typically run in a standalone session (not as part of a desktop environment, like e.g. mutter for gnome) are somewhat maintained, not too obscure or specialized I also.....

Xmountaincolors

It's like Xmountains, but with configurable colors. See the Xmountaincolors project page on notabug or framagit. Screenshot Gallery Here's an example of what the original xmountains looks like (It is still possible to use xmountaincolors in this way by simply not providing .....

Download all files of (a) certain type(s) from a website

If you get a "Forbidden" error for certain folders, it might help to start at the root of the site. wget --recursive --no-directories --level=2 --accept pls,PLS,m3u,M3U \ --reject "*32.pls","*24.pls" \ http://somafm.com/ ; rm robots.txt This will download all playlists for all soma.fm radio stations.....

TempuraFlat GTK2, GTK3, Openbox and Tint2 Themes

This is based on a really old GTK2 theme, Tempura. I applied the colors and flat shapes to one of the excellent Bunsen themes. This was a manageable task for GTK2, but GTK3... that took me a while. The amount of config text must be about ten times of the GTK2 config text. Upside: It's all CSS. I cr.....