7

If you are hurrying to flag this question as a duplicate of this or this questions, please stop, the answers on those questions do not provide an answer to the question here.

After I asked this question I found that title and file name are pretty much different, so then I tried changing the pdf document's title to whatever I want to?.

I tried with Okular, but it doesn't let me change the title, I also tried GIMP but it just don't seem to have the option. I even tried verifying the document properties with Dolphin and it does not work either. How to change the title then?.

1

1 Answer 1

11

Solution:

After a deep web search using Google, I found a tool called pdftk (Title in the manual: pdftk - A handy tool for manipulating PDF). To install the pdftk use the below line on the command line;

 sudo apt-get install pdftk

then created a file named updateTitle.txt containing the following information:

InfoKey: Title
InfoValue: New Title

And saved it in the same location the PDF is, then I ran in a terminal (in the PDF’s location):

pdftk input.pdf update_info updateTitle.txt output output.pdf

The PDF’s title is now "New Title".

Not the answer you're looking for? Browse other questions tagged .