일정한 볼륨 OSD? 16.04에

일정한 볼륨 OSD? 16.04에

이전에는 Ubuntu Gnome을 사용하고 있었기 때문에 시스템을 클린 부팅해야 했기 때문에 바로 Ubuntu 16.04를 사용했습니다.

다시 로드한 두 시스템에서는 일정한 볼륨의 OSD가 표시됩니다(약 2~4분마다 표시됨).

내 두 시스템의 유일한 공통점은 둘 다 볼륨 로커가 있는 Logitech G710+ 키보드를 공유한다는 것입니다.

볼륨 로커가 작동합니다.

이 문제의 원인을 진단하고 이상적으로 해결하려면 어떻게 해야 합니까? 실제로 볼륨을 변경할 때 유용하기 때문에 OSD를 비활성화하고 싶지 않습니다.

답변1

  1. Notify 호출에 대한 DBus 모니터링을 시작할 수 있으며, 이를 사용하여 깨끗한 출력을 표시할 수 있습니다.

    dbus-monitor "type=method_call","path=/org/freedesktop/Notifications","interface=org.freedesktop.Notifications","member=Notify"
    

    다음은 출력 예입니다.

    method call time=1466117414.215345 sender=:1.45 -> destination=:1.34 serial=51 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
       string "Xfce volume daemon"
       uint32 0
       string "audio-volume-low"
       string "Volume is at 25%"
       string ""
       array [
       ]
       array [
          dict entry(
             string "value"
             variant             int32 25
          )
       ]
       int32 -1
    method call time=1466117414.215449 sender=:1.49 -> destination=:1.34 serial=2065 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
       string "indicator-sound"
       uint32 0
       string "audio-volume-low"
       string "Volume"
       string "Headphones"
       array [
       ]
       array [
          dict entry(
             string "x-canonical-non-shaped-icon"
             variant             string "true"
          )
          dict entry(
             string "x-canonical-value-bar-tint"
             variant             string "false"
          )
          dict entry(
             string "x-canonical-private-synchronous"
             variant             string "true"
          )
          dict entry(
             string "value"
             variant             int32 26
          )
       ]
       int32 -1
    
  2. 원본과 대상을 확인하세요.

    가장 중요한 부분은 다음과 같습니다.

    method call time=1466117414.215345 sender=:1.45 -> destination=:1.34 ...
       string "Xfce volume daemon"
    ...
    method call time=1466117414.215449 sender=:1.49 -> destination=:1.34 ...
       string "indicator-sound"
    ...
    

    Open D-Feet → Session Bus: 각 버스 주소에 대한 PID 및 CMD를 확인합니다. 내 예에서는 다음을 발견했습니다.

    :1.34  2891  /usr/lib/x86_64-linux-gnu/notify-osd
    :1.45  2933  xfce4-volumed
    :1.49  2963  /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
    

    d-feer dbus 디버그

    indicator-sound-service 네, 볼륨을 변경할 때 마다 흔들림이 발생했습니다 xfce4-volumed(Unity 표시기가 활성화된 Xubuntu 16.04를 사용했습니다).

  3. 그 원인이 키보드일 수 있다고 생각한다면 다음을 사용 하거나 X 키보드 이벤트를 모니터링하는 xev것이 더 좋습니다 .sudo evtest

참조: https://wiki.ubuntu.com/DebuggingDBus

관련 정보