The "xpdf" postinst needs to add itself to the mailcap file so it can be spawned by web browsers.
I'd suggest the following in the postinst: if [ -x /usr/sbin/install-mime ] then install-mime --install --package=xpdf --content=application/pdf \ --view="/usr/bin/X11/xpdf %s" --test='test "$DISPLAY" != ""' \ --comment="A generic PDF viewer for X-Windows" fi And the following in the prerm: if [ -x /usr/sbin/install-mime ] then install-mime --remove --package=xpdf fi Brian ( [EMAIL PROTECTED] ) ------------------------------------------------------------------------------- In theory, theory and practice are the same. In practice, they're not.