How to compress/decompress LZMA/LZMA2 files in Linux

This post is complementary of a three years old post in which explanation about .xz file extension missing. LZMA/LZMA2 compression algorithms usually identifiable by .xz extension. In Linux several tools are available to support .xz files. The most famous one is tar. tar is indeed a multi-purpose tool that supports …

Low battery indicator in i3

I’ve been working with i3 around 9 months now and so far it is one my favorite WM so far. It is easy to use, elegant, hackerish and geeky. However, there was a problem for long time which was bugging me and that was lack of warning dialog for low …

How to manage multiple Openshift accounts using rhc

Openshift is one of the best PaaS from my point of view. In comparison with Heroku, Openshift I believe has upper hand and much superiority, particularly in CLI tool, ssh facility, and most importantly huge numbers of offered frameworks. Therefore, it totally makes sense to have different account for different …

How to download a vBulletin forum contents using Wget

Wget is the most powerful download manager which gives you tons of switches ranging from recursive, spider for various purposes. Though, from my point of view, Wget is slightly legacy/outdated which sometimes you need to use it with other tools to maximize its facilities. Enough background about Wget, now let’s …

Renaming files in Linux terminal in batch

Few days ago I have encountered a problem whereby I had to rename 10,000 files and remove a prefix (_BK). There are two approaches to handle such a problem, Rename files manually from GUI. Using a small bash script to do the job. Here, I talk about second approach as …

How to update youtube-dl in Ubuntu

Youtube-dl by far is the greatest tool to download Youtube videos, not to mention majority of Youtube downloader applications make use of it as their core engine. Youtube-dl is available in official Ubuntu repository. You simply can install it. However, there is a problem with the official repository. The package …

Getting started with Tmux

Tmux stands for terminal multiplexer. It is basically a great tool to divide one terminal to many different virtual terminals which gives capabilities to do tasks such as system administration in parallel. This is particularly useful when you connect to a remote server. Tmux allows you to detach and attach …

SSH access with private and public key

Using SSH access with password is so risky and most probably your server will be compromised in a day or two by brute force attack. The best approach to handle this issue is setting up key pairs and disable password access to server. To do so you need to do …

How to create Ubuntu indicator with Python

For a long period of time, I wanted to make a simple Ubuntu unity indicator just to learn how they work. Finally in Christmas holidays I got a chance to search on the internet and came up with a simple idea of having a weather indicator. The result was great …

i3 wm config file

Around a month ago while I was surfing the internet I became familiar with i3 window manager. It had first impression on me. Immediately, I have installed on my fresh Ubuntu 15.10. Fortunately, it is available in the official repository and therefore, my headache was minimized. I like i3 because …

My Story of Linux man page writing

Man pages are essential parts of Linux platform. Existence of the man pages started with Unix and then it moved to Linux. They are especially useful to get some quick information about commands and tools to getting things started. I have been always curious about how to write a man …

How to add show desktop shortcut for KDE

KDE is an amazing desktop environment and is one of my favorite after Unity and Cinnamon desktop environments. The biggest advantage of KDE is that it is totally customizable which is one of its downside as well. For me as an average Joe, I am not concerned about aesthetic respects …

Installing Teamviewer on OpenSUSE 42.1 Leap

Since last weekend I am working with openSUSE Leap and so far I have had a good experience. It is working perfectly, no glitch, freeze or funny bug. The only unresolved issue is the WiFi connection which I have not had time to go through and found a solution. As …