In an earlier post, I described how to use cups-pdf to print documents directly to PDF in Ubuntu 9.04. While playing around with cups-pdf, I discovered kword. This nifty piece of editor software allows you to convert PDF files to a format that could be edited. You can then convert it to PDF format again by ‘printing’ it to PDF using cups-pdf.
To get started, you have to install kword using the following:
sudo apt-get install kword
Now you invoke it using:
Applications -> Office -> kword
Here, use the File -> Import feature to import any PDF file into it. Happy editing!
Note: If the PDF is password protected, kword allows you to enter the password to decrypt it.
Recently at work I discovered PDFCreator with which any document can be printed into PDF. Alas, it is a Windows program and a LINUX port is not available. Fortunately, I found cups-pdf for Ubuntu.
Note: You can print to a Post Script file directly in LINUX, and then use ps2pdf13 to convert the .ps file to .pdf.
To install cups-pdf, type the following at the terminal or use Synaptic Package Manager:
sudo apt-get install cups-pdf
Now, Ubuntu 9.04 installs a ‘PDF’ pritner automatically – in earlier versions you have to manually install a PDF printer as described here http://www.ubuntugeek.com/how-to-create-pdf-documents-in-ubuntu.html.
Check your installation by going to:
System -> Administration -> Printing
You should see a printer with name PDF installed.
Now create a directory named PDF in your home directory and you are all set to print directly to PDF.
You can change the name of the default directory from PDF to anything of your choice by changing the configuration file which is located at:
I use GNOME in Ubuntu for windows management. A few days back I deleted a directory and it got stuck in the trash can. I mean literally. I could not permanently remove it from trash. It was one of those directories which had files whose permissions did not allow me to remove it.
I was then looking to see where the trash is stored and finally found it lurking in my home directory under
I used the following find command to find it:
find . -name Trash -print
The actual trashed files/directories are located under
Once, I found this out, I was able to remove it permanently with: sudo rm -r <dir-to-be-removed-permanently>