Thursday, January 4, 2018

A simple apt-get based script to get upgradable packages change logs

I do upgrade packages manually on my machine because I want to control when and what to upgrade. Security freaks could argue that it is not secure not to update computers frequently but I believe that chances to get hacked because of an outdated package are less than receive an upgrade that bricks your computer. The recent Canonical fuck up with activating experimental Intel SPI drivers in kernel that bricked some Lenovo laptops is a very good example. Another reason is the time needed to upgrade packages because apt-get is really slow. So basically I need to check what has been changed and only upgrade if really needed.

Saturday, April 29, 2017

How to Connect the rtl_433 to a remote rtl_tcp server

One of the issues with the rtl_433 application is that it is not possible to connect it to a remote rtl_tcp server using syntax supported by other SDR application like gqrx. One of proposed solutions is to use the TCP enabled version of the librtlsdr which is a bit complicated. There's actually a much simpler solution.

Saturday, December 3, 2016

How to create gists from the command line

I was a bit astonished that I couldn't find a working example written in bash on the net that would create gists on the github from the command line. Some examples didn't work at all because they were using old github API or because the text escaping weren't properly implemented. The rest didn't have the functionality I needed.

Thursday, September 8, 2016

Visualization of live data streams with the gnuplot and bash (Part 2)

In my first article I have demonstrated the script and other utilities to feed the gnuplot with live data streams. Shown scripts are easy to use and if combined together they build powerful chains of data filters. The only problem with the script is that it can only display a continuous data stream updating the plot with each new incoming data sample. To display even more complex data like scatter or 3D plots a different approach of data feeding is needed. It would be necessary to update the plot blockwise and input data should also be fed in blocks. This new concept didn't match well with the script so I have written a new script because mixing both concepts in one script would make it unnecessary complex and unmaintainable. 

Sunday, May 22, 2016

Xubuntu 16.04 LTS minimal installation


Here is the next article from my "Minimal Xubunu Installation" serie. This time I'll be installing Xubuntu 16.04 LTS codename Xenial Xerus. Please read to the end before you start with installation.

Wednesday, February 17, 2016

Visualization of live data streams with the gnuplot and bash

This article describes a tiny framework consisting mainly of bash scripts to feed the gnuplot with live data. Different examples are presented to cover general use cases and usage scenarios.

Tuesday, January 5, 2016

How to fix broken power management in Xubuntu 15.10 (16.04)

As we know Ubuntu has switched to the new "shiny" init system called systemd since the release 15.04. But the integration of that new init system isn't yet completely finished because some things aren't working as before the switch. Power management that utilized pm-utils previously is completely broken for example and no alternative solution is offered. In this article I'll explain how to restore pm-utils's old behaviour as a temporary workaround that can be used until a new and of course better official solution will be implemented.

Sunday, October 25, 2015

Using the i3 tiling window manager with XFCE services

Since around a year or two I've been using i3 tiling window manager together with the xfce4 services as my desktop environment and I'm quite content with the result. The i3-wm can be installed on top of the xfce4 DE without any package conflicts. Such a combination allows to have both DE at the same time and share common settings and applications between them.

I can't remember exactly why I have chosen the i3-wm as my window manager but maybe it's because I have read that i3-wm has vim style movement keyboard shortcuts. As far as I'm a vim user I decided to 'take it for a spin'.

Saturday, February 14, 2015

Sound volume change notifications using pynotify

As I started to use the i3 window manager I wanted to have a visual feedback on sound volume change events. Usually it's done by a daemon that binds to specific keyboard combinations to adjust volume and to send notifications to a notify daemon. In xfce this is done by the xfce4-volumed. I should also point here to other lightweight volume daemons like volnoti or pa-applet. Without a dedicated daemon it is also pretty much simple to handle sound volume keys by a simple bash script which is bind to specific keyboard combinations.

Saturday, May 10, 2014

Minimal Xubuntu 14.04 LTS installation

I have previously described the process of minimal Xubuntu Desktop installation with versions 13.04 and 13.10. Now it's time to install Xubuntu 14.04 LTS!

Note: There's already a newer article – Xubuntu 16.04 LTS minimal installation