rpl & regexxer: search, replace strings


Developers need to search and replace strings in multiple files frequently. While there are several combinations of commands, sed, awk etc. to do that, the default Ubuntu repos come with 2 relatively unknown specialized gems to search and replace text in several files at a time. Let’s check them out! Continue reading rpl & regexxer: search, replace strings

xara: Debian package manager


Most Ubuntu users prefer Software Center or synaptic for package management. Those who love the command-line definitely use apt all the time. In this article we will explore another package manager available in the default repos – xara. xara is written in GTK+ and has powerful capabilities. Continue reading xara: Debian package manager

Hacking noice: fast cmdline file browser

terminalnoice is a minimal file browser for those who don’t like to type cd ... to reach a file, then open it; or one who doesn’t like to open a file browser and keep clicking to find and open a file. noice reduces the effort to pressing the arrow keys. Originally noice is written as a utility having minimal interactions with X. For example, image files are opened with feh. Considering most people use X and love to use to GUI apps when it makes sense, I have forked a branch with some changes of my own. Continue reading Hacking noice: fast cmdline file browser

sbm: monitor network traffic

$ sbm -i wlp2s0 -c 10
wlp2s0:   0.00  bps Rx   0.00  bps Tx     0 pps Rx     0 pps Tx
wlp2s0:   5.54 kbps Rx  18.94 kbps Tx     6 pps Rx     8 pps Tx
wlp2s0:   2.78 Mbps Rx 122.69 kbps Tx   256 pps Rx   141 pps Tx
wlp2s0: 433.54 kbps Rx  45.22 kbps Tx    55 pps Rx    35 pps Tx
wlp2s0: 528.00  bps Rx 752.00  bps Tx     1 pps Rx     1 pps Tx
wlp2s0:  10.94 kbps Rx   5.50 kbps Tx     6 pps Rx     4 pps Tx
wlp2s0:   0.00  bps Rx   0.00  bps Tx     0 pps Rx     0 pps Tx
wlp2s0:  13.34 kbps Rx  26.10 kbps Tx    11 pps Rx    13 pps Tx
wlp2s0: 384.64 kbps Rx  57.70 kbps Tx    57 pps Rx    49 pps Tx
wlp2s0: 553.67 kbps Rx  51.35 kbps Tx    69 pps Rx    56 pps Tx

sbm (Simple Bandwidth Monitor) is a tiny utility to track your network traffic. It’s similar to slurm in functionality but shows a continuous log of transfer rates (upstream and downstream). The best use-case is the situation in which you want to figure out how much data an application transmits in isolation. With constant monitoring, you can also figure out easily if any application is sending information home. Continue reading sbm: monitor network traffic

imgd: multiprocessing image resizer and rotator

cool_penguin_smallNautilus Image Converter is a popular extension among Ubuntu users to batch resize and rotate images. While it’s handy, it’s tied to the Nautilus file manager and is not available for users who use other flavours of Ubuntu e.g. Xubuntu or Lubuntu. imgd (read imaged) is a multiprocessing command-line alternative written in Python3. It uses the PIL (Pillow) library and has many more additional features. Continue reading imgd: multiprocessing image resizer and rotator

Toggle touchpad on Ubuntu 16.04

ubuntu_logo_81x81Laptops with larger touchpad area pose a serious problem with typing. While we explored a way to reduce the effective touchpad area, sometimes turning off the touchpad is a better solution. The 14.04 way of setting synclient TouchpadOff to 0 or 1 doesn’t work on 16.04. So here’s a fresh technique with a little bit of scripting. Continue reading Toggle touchpad on Ubuntu 16.04

fmedia: play, record, convert audio

musicWith the abundance of processing power, multimedia players have turned more and more resource hungry. While it may be reasonable while playing a H265 encoded video, playing an MP3 file should not take ~50MB resident memory. Unfortunately, SMPlayer uses memory in that range. In our hunt for a lighter audio player we found fmedia, which delivers much more than playing audio. Continue reading fmedia: play, record, convert audio