当我使用 Skype 时,我有 2 个用于声音的滚动条:
我怎样才能始终保留这 2 个滚动条,而不仅仅是在进行 Skype 对话时?当我不与 Skype 对话时,只有扬声器滚动条可见。
编辑1:
以下是输出sudo updatedb; locate -r indicator-sound-service$
:
/home/dusan/.local/share/Trash/files/build/src/indicator-sound-service
/home/dusan/.local/share/Trash/files/indicator-sound-12.10.2+14.04.20140401/build/src/indicator-sound-service
/home/dusan/.local/share/Trash/files/indicator-sound-12.2.10.2+14.04.20140401/build/src/indicator-sound-service
/home/dusan/.local/share/Trash/files/src/indicator-sound-service
/home/dusan/.local/share/Trash/files/src.2/indicator-sound-service
/home/dusan/.local/share/Trash/files/src.3/indicator-sound-service
/home/dusan/.local/share/Trash/files/src.4/indicator-sound-service
/usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
/usr/local/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
答案1
14.04
下载构建依赖项和源代码
sudo apt-get build-dep indicator-sound apt-get source indicator-sound
改变
src/volume-control.vala
修改默认从
false
为true
:/** true when a microphone is active **/ public bool active_mic { get; private set; default = true; }
使用以下方式设置隐藏变量的注释行
//
:case Context.SubscriptionEventType.REMOVE: //this.active_mic = false; break;
构建和安装
cd indicator-sound-12.10.2+14.04.20140313/ mkdir build cd build/ cmake .. make sudo make install
终止正在运行
indicator-sound-service
或注销/登录pkill -f indicator-sound-service
笔记:
由于某些原因,您可能想要跳过sudo make install
或不起作用,然后只需替换可执行文件:
sudo rm /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
sudo cp src/indicator-sound-service /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
pkill -f indicator-sound-service