Posts

Use HDMI for audio only featured image

Use HDMI for audio only

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

avatar
Julio Batista Silva
•
Audio streaming featured image

Audio streaming

Pulseaudio Way 1 - The PULSE_SERVER variable On the server (the computer where the sound will come out, ip 10.0.0.1) Install paprefs julio@acer ~> sudo pacman -S paprefs Open …

avatar
Julio Batista Silva
•
Scanner featured image

Scanner

Install the programs sudo pacman -S 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 whether the …

avatar
Julio Batista Silva
•
Installing Arch Linux featured image

Installing Arch Linux

In July 2012 a new Arch Linux image (201207) was released and, the same day, I decided to download it and reinstall my system. Throughout the process I noticed there had been …

avatar
Julio Batista Silva
•
Extract pages from a PDF featured image

Extract pages from a PDF

Method 1 Simply print the pages you want as a PDF. Most PDF viewers have this function. The problem with this approach is that the page dimensions may change. Method 2 Install …

avatar
Julio Batista Silva
•
Find duplicate files featured image

Find duplicate files

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

avatar
Julio Batista Silva
•
Hide the Mouse featured image

Hide the Mouse

I rarely use mice — in fact, since 2008 I have not even owned one. Since I bought my first laptop, the most I use to move the cursor is a graphics tablet, my keyboard shortcuts and …

avatar
Julio Batista Silva
•
Measure Execution Time featured image

Measure Execution Time

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

avatar
Julio Batista Silva
•
SSH Tunnel featured image

SSH Tunnel

Tunneling is a very useful technique for getting around blocks and for creating an encrypted channel to move data through. SOCKS ssh -ND 8888 julio@host Parameters: -N: does not …

avatar
Julio Batista Silva
•
Security and Cryptography featured image

Security and Cryptography

Warning This post is from 2012, and much of it is outdated. I reviewed it and left a few notes and warnings. For new files, use age. (November 2026)

avatar
Julio Batista Silva
•