Commit 68f5bf86 authored by Nicolas Fella's avatar Nicolas Fella Committed by Arun Raghavan

daemon: Drop KDE-specific loading of module-device-manager

Newer versions of Plasma no longer use this module, and the consensus
seems to be that module-switch-on-connect works better for most cases.

Fixes: #509
parent 79a8efb4
Pipeline #60108 passed with stage
in 11 minutes and 19 seconds
......@@ -23,7 +23,10 @@ if [ x"$DISPLAY" != x ] ; then
@PACTL_BINARY@ load-module module-x11-cork-request "display=$DISPLAY" > /dev/null
if [ x"$KDE_FULL_SESSION" = x"true" ]; then
@PACTL_BINARY@ load-module module-device-manager "do_routing=1" > /dev/null
plasmaversion=`grep "X-KDE-PluginInfo-Version" $DESKTOP_SESSION.desktop | cut -d "=" -f2 | cut -d "." -f1,2 | tr -d "."`
if [ "$plasmaversion" -lt "517" ]; then
@PACTL_BINARY@ load-module module-device-manager "do_routing=1" > /dev/null
fi
fi
if [ x"$SESSION_MANAGER" != x ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment