diff options
author | Eric Hameleers <alien@slackware.com> | 2020-10-20 18:06:18 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-10-20 18:06:18 +0200 |
commit | 775eb16ba27d6683565d9fc45462620738dcb999 (patch) | |
tree | 2439d8a304bb4850d8782bb9e603039df700d5e2 | |
parent | 40f21df49785a2e4aec68b8bff1495628e7360b7 (diff) | |
download | liveslak-775eb16ba27d6683565d9fc45462620738dcb999.tar.gz liveslak-775eb16ba27d6683565d9fc45462620738dcb999.tar.xz |
XFCE: use Firefox as the PDF viewer
-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." # -------------------------------------------------------------------------- # |