Test EPSON TM-U220B in Linux

Test EPSON TM-U220B in Linux

The Epson TM-U220B (model M188B) is a receipt printer with a DB25-DB9 cable. It will be connected to the host via Serial port and recognized in Linux as /dev/ttyS[X] In this post is explained how to find out which device was detected by the operative system. In my...
Google Chrome unresponsive on Linux

Google Chrome unresponsive on Linux

My system has been freezing from time to time, today it became totally unresponsive even after a restart. I saw many services failing in the boot loading process. After checking the disk I found that /var was at 100%, checking the logs we must thank Chrome for such...
Debug initramfs, unpack – repack initrd.img and run-init

Debug initramfs, unpack – repack initrd.img and run-init

When working with a Linux system being loaded through PXE / tftpboot / NFS in a device without hard disk it could happen that we need to understand or fix problems at boot time process, part of it is initramfs. The procedure to unpack an initrd.img is simple: # create...
Grep not parsing the whole file because of NUL

Grep not parsing the whole file because of NUL

Today  I’ve found a nice problem to solve in stack overflow. There was this guy claiming why unix utility grep didn’t parse this file in his Linux. Long story short the file was being somehow «recognized» as binary for grep, because it had four NUL values....
Setup terminator default layout with custom commands

Setup terminator default layout with custom commands

I’ve been working with terminator for years and one of the best things you can do is personalize your own layout with custom commands in each window. Be careful, terminator version 1.90 won’t render layouts properly. I’m using terminator 1.91 In my...