diff options
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 7d55138..73e60c4 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1961,6 +1961,16 @@ for SKEL in ${LIVE_TOOLDIR}/skel/skel*.txz ; do tar -xf ${SKEL} -C ${LIVE_ROOTDIR}/etc/skel/ done +if [ "$LIVEDE" = "XFCE" ]; then + # Since the XFCE ISO no longer has xpdf, use Firefox as the PDF viewer: + mkdir -p ${LIVE_ROOTDIR}/etc/skel/.config + cat << EOF > ${LIVE_ROOTDIR}/etc/skel/.config/mimeapps.list +[Default Applications] +application/pdf=mozilla-firefox.desktop +EOF +fi + + # -------------------------------------------------------------------------- # echo "-- Configuring KDE4." # -------------------------------------------------------------------------- # |