Author Archives: T4L

Search through your history with PgUp and PgDown

If you want to be able to search through your .bash_history inline, you can simply edit your ~/.inputrc file and add these two lines: “\e[5~”: history-search-backward“\e[6~”: history-search-forwardNow you can grep your .bash_history by using those two buttons.

Convert CHM files to PDF for Nook and Amazon Kindle

The downside to eReaders is generally the small screen. You open up a PDF file and the fonts are smaller than you’d wish them to be. You can always zoom, but why not prepare your file from the beginning? If you have a CHM file and you want to convert it to a PDF to… Read More »

Make Ubuntu sleep instead of hibernate

One of the few things you can’t easily configure in Ubuntu is the option to make the computer sleep instead of hibernate when idle for X minutes. Here’s how to do it: Press Alt+F2 and type gconf-editor then press Enter Go to /apps/gnome-power-manager/actions/critical_battery Change the value to whatever you wish. Possible values are hibernate, suspend,… Read More »