Screen brightness after suspend in Ubuntu

Posted by & filed under Linux.

Many laptops have their screens dimmed after returning from “suspend” and cannot get back to their original brightness. The bug hasn’t been fixed for 3 years. A fix is provided in the bug report by putting something like the following in /etc/rc.local: brt=`cat /sys/devices/virtual/backlight/acpi_video0/brightness` abrt=`cat /sys/devices/virtual/backlight/acpi_video0/actual_brightness` if (( $brt != $abrt )) ; then echo… Read more »

Enable root account in Ubuntu?

Posted by & filed under Linux.

After my recent experience with broken su and sudo commands in a failed system upgrade, I realized that although disabling the root account has many advantages, one of the disadvantage is that I can’t login as root in the terminal when I’m physically in front of the system. This is a major issue if su,… Read more »

Test ram with Memtest86+ and ignore bad parts with badram in grub

Posted by & filed under Linux.

Recently, my computer kept freezing whenever I started conkeror (with 100+ buffers loading from a previous session). Folks over at #conkeror on freenode suggested that the problem might be due to faulty ram. They suggested testing my ram with Memtest86+. It is installed by default on Ubuntu. If you have multiple sticks of ram, test… Read more »

Encrypted zip files on Linux with PeaZip

Posted by & filed under Linux, Security.

I recently had the need to encrypt zip files. Ubuntu’s default archive manager, File Roller, has a password option. However, I was not able to find documentation on what is its encryption algorithm. To be on the safe side, I opted for PeaZip per this post. It works natively with KDE, but I’m using Gnome…. Read more »

Annotate or write on top of a pdf file

Posted by & filed under Linux.

Sometimes I need to annotate a pdf file, either to take notes or to fill it out as a form since I have ugly handwriting; for the latter, I’m referring to the case where the pdf file does not have form fields you can type in with Adobe Reader. This post describes some programs for… Read more »