Thursday, May 16, 2013

Combine multiple PDF files into single PDF file

The following command will combine all the PDF files in current folder into a single file called all.pdf.

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=all.pdf *.pdf

Friday, May 10, 2013

Launch Custom Script at Startup

Say the name of the script is checkconnection.
Create the file :

Add following lines to the file:

[Desktop Entry]

Permanently Save Brightness Settings

Issue the command: 
crontab -e

This will open vi editor. Type the following line, save and exit vi editor (:wq).

@reboot echo "5" > /sys/class/backlight/acpi_video0/brightness