summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-11-22 22:45:58 +0100
committer Eric Hameleers <alien@slackware.com>2017-11-22 22:45:58 +0100
commit65a1cc3ee3df6baad39ec736583c39f7256a6bd3 (patch)
treecff8683d95df9f834ddb58d78aac161551e1d23a /make_slackware_live.sh
parent479fb8ac181567dc3a292eb89b89abb9da8e6051 (diff)
downloadliveslak-65a1cc3ee3df6baad39ec736583c39f7256a6bd3.tar.gz
liveslak-65a1cc3ee3df6baad39ec736583c39f7256a6bd3.tar.xz
PLASMA5: set QtWebkit as the Konqueror rendering engine if available
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh11
1 files changed, 11 insertions, 0 deletions
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 <<EOT >> ${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