Archive for March 3rd, 2010

Merge multiple pdf’sinto a single pdf

Handling multiple pdf’s can be a pain, and combining multiple pdf’s is not as easy as merging doc files. So how to achieve this?

The simplest and the fastest way is using pdftk. Install Ubuntu if you are not a regular user, install this on a VirtualBox image and install pdftk on your instance by typing

sudo apt-get install pdftk

Once the installation is complete, you can now start merging pdf files on the fly by using the following command

pdftk *.pdf cat output merged.pdf

or

pdftk 1.pdf 2.pdf 3.pdf cat output merged.pdf

There are mutiple options to this which you can find out using man or using google :)

VN:F [1.9.13_1145]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

1 Comment

How to setup Linux VNC Server with KDE or Gnome

The default desktop for the VNC Server is “TWM”, though most people are used to KDE or Gnome instead. Here is how to change it:

Edit ~/.vnc/xstartup
For KDE, replace “twm &” with “startkde &”
For Gnome, replace “twm &” with “exec gnome-session &”
Kill any existing VNC servers with “vncserver -kill :x xx” where xxx is the display number.
Start a new server.

VN:F [1.9.13_1145]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

No Comments