mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: April 12 2006,01:45 |
|
A lot of X applications default to the current directory for their file selectors, so one way to do this is to start xpdf with the command
Code Sample | cd /home/dsl/pdf && xpdf |
You could make this an alias if you want to do this every time:
Code Sample | alias xpdf='cd /home/dsl/pdf && xpdf' |
I can't recall if i've ever made an alias with "&&", so i'm not certain it would work. Another option that will work is to create a little script named xpdf and put it in front of your PATH
Code Sample | #!/bin/sh cd /home/dsl/pdf/ exec /path/to/real/xpdf "$@" |
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|