From 65a1cc3ee3df6baad39ec736583c39f7256a6bd3 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 22 Nov 2017 22:45:58 +0100 Subject: PLASMA5: set QtWebkit as the Konqueror rendering engine if available --- make_slackware_live.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index df19d29..4102500 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1765,6 +1765,17 @@ EOGL # Do not show the blueman applet, Plasma5 has its own BlueTooth widget: echo "NotShowIn=KDE;" >> ${LIVE_ROOTDIR}/etc/xdg/autostart/blueman.desktop + # Set QtWebkit as the Konqueror rendering engine if available: + if [ -f ${LIVE_ROOTDIR}/usr/share/kservices5/kwebkitpart.desktop ]; then + mkdir ${LIVE_ROOTDIR}/home/${LIVEUID}/.config + cat <> ${LIVE_ROOTDIR}/home/${LIVEUID}/.config/mimeapps.list +[Added KDE Service Associations] +application/xhtml+xml=kwebkitpart.desktop; +application/xml=kwebkitpart.desktop; +text/html=kwebkitpart.desktop; +EOT + fi + fi # End LIVEDE = PLASMA5 if [ "$LIVEDE" = "DLACK" ]; then -- cgit v1.2.3