Tag: Linux
Selecting the browser when opening links in Linux
This article describes how to setup a dialog for selecting what browser to use when opening a link in typical Linux desktop environments. The dialog is created with Zenity from a bash script. It shows up every time a URL is clicked from a non-browser application.
... read more ...Quick and dirty NGINX directory listing behind login and HTTPS
This guide explains how to set up a simple NGINX autoindex directory listing page behind HTTP digest authentication and a self-signed HTTPS certificate. The goal is to set up a "poor man's" directory listing with minimal dependencies and bare minimum authentication and HTTPS features.
... read more ...Docker containers as virtual machines for build environments
This article describes a way to use Docker containers as lightweight virtual machines suitable for building software. Containerizing build environments makes it possible to build with different Linux distributions and to isolate the build environment from the host system, with only a negligible performance penalty.
... read more ...Installing AWStats on Ubuntu 20.04 with Nginx
This is a guide for installing AWStats on an Ubuntu 20.04 server for website analytics of multiple virtual hosts served by Nginx.
AWStats is a venerable log analyzer going all the way back to year 2000. But it is still one of the better free web analytics solutions that …
... read more ...Enjoying Git without TortoiseHg workbench
Using Git as an experienced hg / Mercurial user can be frustrating. I can say that from personal experience. There is no free GUI for Git that match the power and ease of use of TortoiseHg workbench, and some terms in Git just annoy hg users to no end, like what …
... read more ...Copy-pasting files in the Linux terminal
The clipboard cut, copy and paste functions can be a great timesaver when organizing files.
But there didn't seem to be an obvious way to use those functions with the command line in Linux while targeting the main clipboard of the desktop environment such that files can be transferred between …
... read more ...hashstress - Hardware stress test using hash calculations
This post is about a little script I wrote named: hashstress
. It's intended for stressing and testing the correctness of disk I/O, cache, memory and processing subsystems for an extended period of time. The basic idea is to generate files with random content and repeatedly calculate hash checksums verifying …
Setting individual mouse pointer speeds in Linux with micetune
This post is about micetune, a Python script I wrote for setting individual pointer speeds for different mouse devices in Linux, with the ability to reduce the speed beyond what the control center setting allows. The script changes the real pointer speed without involving acceleration.
... read more ...