1.编辑文件 /etc/pulse/default.pa,注释掉下列语句保存退出
1 2 3 |
#load-module module-bluetooth-discover |
2.打开文件 /usr/bin/start-pulseaudio-x11,找到下列内容并在其后添加语句
1 2 3 4 5 6 7 8 |
if [ x”$SESSION_MANAGER” != x ] ; then /usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null fi #在下面添加这条语句 /usr/bin/pactl load-module module-bluetooth-discover |
3.重启
1 2 3 |
reboot |