From 775eb16ba27d6683565d9fc45462620738dcb999 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 20 Oct 2020 18:06:18 +0200 Subject: XFCE: use Firefox as the PDF viewer --- make_slackware_live.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'make_slackware_live.sh') 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." # -------------------------------------------------------------------------- # -- cgit v1.2.3