Blog

Using HDMI for Audio Only

I prefer to use my TV (LG 32LE4600) as a monitor for almost everything, but I find it more practical to use the laptop screen when I’m facing my study desk.

avatar
Julio Batista Silva

Audio Streaming

Pulseaudio Way 1 - PULSE_SERVER Variable On the server (computer where the sound will come from, ip 10.0.0.3) Install paprefs julio@acer ~> sudo pacman -S paprefs Open paprefs and, …

avatar
Julio Batista Silva

Scanner

Install the programs sudo pacman -Ss sane xsane xsane-gimp hplip Add your user to the lp and scanner groups sudo gpasswd -a julio lp sudo gpasswd -a julio scanner Test if the …

avatar
Julio Batista Silva

Arch Linux Installation

In July 2012, a new image of Arch Linux (201207) was released, and on the same day, I decided to download and reinstall my system. Throughout the process, I noticed several changes …

avatar
Julio Batista Silva

Extract PDF Pages

Method 1 Simply print the pages you want as PDF. Most PDF viewers have this feature. The problem with this solution is that the page dimensions may be altered. Method 2 Install …

avatar
Julio Batista Silva

Find Duplicate Files

Duplicate files take up unnecessary space on the disk. Fortunately, there are tools that automate the search for duplicates. Fdupes Install fdupes: julio@acer ~> sudo pacman -S …

avatar
Julio Batista Silva

Hide Mouse

I rarely use mouse, in fact, since 2008 I don’t even have a mouse. After I bought my first notebook, the most I use to move the cursor is a graphics tablet, my keyboard shortcuts, …

avatar
Julio Batista Silva

Calculate Execution Time

In ZSH: julio@acer ~> time ./program Hello World! ./program 1.54s user 0.03s system 97% cpu 1.611 total julio@acer ~> type -a time time is a reserved word julio@acer ~> which time …

avatar
Julio Batista Silva

SSH Tunnel

Tunneling or tunneling is a very useful technique to bypass restrictions and create an encrypted channel for data traffic. SOCKS ssh -ND 8888 julio@host Parameters: -N: do not …

avatar
Julio Batista Silva

Security and Cryptography

The ability to securely share messages, keep secrets, and identify individuals has always been important to humanity. There are records showing that cryptography was already being …

avatar
Julio Batista Silva