WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xpdf: Saving settings  (Read 3419 times)

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Xpdf: Saving settings
« on: April 05, 2010, 01:03:41 AM »
I usually view pdf documents by downloading them to a directory on my USB stick and changing the filter in Xpdf to the document directory. I generally select continuous view as well. However if I exit Xpdf and run it again, these setting changes are lost. Is there a way to save them?

Offline combo3

  • Full Member
  • ***
  • Posts: 148
Re: Xpdf: Saving settings
« Reply #1 on: April 07, 2010, 02:57:41 PM »
To turn on continuous view:

1. Copy the config file to /home/tc

$ cp /usr/local/share/xpdf/sample-xpdfrc /home/tc/.xpdfrc

2. Add the following stanza to .xpdfrc

continuousView yes

http://linux.die.net/man/5/xpdfrc


I don't think you can change the default file directory.

The program searches for files in the directory from which it is launched.




Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Xpdf: Saving settings
« Reply #2 on: April 07, 2010, 04:18:36 PM »
Thanks. I'll try this.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Xpdf: Saving settings
« Reply #3 on: April 08, 2010, 10:34:28 PM »
There's also command line options (see -cont).

Quote
...changing the filter in Xpdf to the document directory
What filter do you mean?  If it's just the directory (as mentioned above), then you could use a script, i.e. `cd /some/path && exec xpdf`