indicator-sound-switcher icon indicating copy to clipboard operation
indicator-sound-switcher copied to clipboard

[BUG] No option to add it to panel

Open msangel opened this issue 1 year ago • 3 comments

Describe the bug A clear and concise description of what the bug is. Aren't started

To Reproduce Scenario 1 to reproduce the behavior:

  1. Install via custom deb repo
  2. Run
  3. Nothing happened
  4. Restart PC
  5. Nothing happened

Scenario 2 to reproduce the behavior:

  1. Install as snap package
  2. Run
  3. Nothing happened
  4. Restart PC
  5. Nothing happened

Expected behavior

  1. Can't add it to the panel as no such item in the widget selector (see screen)
  2. Killed the process, and start it from the command line. Expectations: application show debug messages to stdout, the process can be killed via ctrl+c (trapped and kill command seems ignored), see errors in stdout or stderr.

Screenshots Cant show something is not rendering

Desktop (please complete the following information):

  • OS: Xbuntu 22.04.2 LTS
  • XFCE 4.16
  • latest in repo
  • PPA and snap

Indicator config: No such file has been created.

Indicator log: In order to fetch it, quit the indicator from the menu ("Quit"), open Terminal and start it again as follows:

INFO     Starting indicator application
INFO     Configuration file /home/msangel/snap/indicator-sound-switcher/91/.config/indicator-sound-switcher.json not found, falling back to defaults
DEBUG    KeyboardManager.bind_keys()
DEBUG    .menu_append_item(): appending item `Inputs`
DEBUG    .menu_append_item(): appending separator
DEBUG    .menu_append_item(): appending item `Outputs`
DEBUG    .menu_append_item(): appending separator
DEBUG    .menu_append_item(): appending item `_Refresh`
DEBUG    .menu_append_item(): appending item `_Preferences…`
DEBUG    .menu_append_item(): appending item `_About`
DEBUG    .menu_append_item(): appending item `_Quit`
DEBUG    Trying to connect to PulseAudio daemon, attempt #1
INFO     Context connected
DEBUG      + Card[1] added: `alsa_card.pci-0000_00_1f.3`, driver: `module-alsa-card.c`
DEBUG        + Card profile added: `input:analog-stereo` (`Analog Stereo Input`), 0 sinks, 1 sources, priority: 32833
DEBUG        + Card profile added: `output:analog-stereo` (`Analog Stereo Output`), 1 sinks, 0 sources, priority: 39268
DEBUG        + Card profile added: `output:analog-stereo+input:analog-stereo` (`Analog Stereo Duplex`), 1 sinks, 1 sources, priority: 39333
DEBUG        + Card profile added: `output:hdmi-stereo` (`Digital Stereo (HDMI) Output`), 1 sinks, 0 sources, priority: 38668
DEBUG        + Card profile added: `output:hdmi-stereo+input:analog-stereo` (`Digital Stereo (HDMI) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 38733 -- Active
DEBUG        + Card profile added: `output:hdmi-stereo-extra1` (`Digital Stereo (HDMI 2) Output`), 1 sinks, 0 sources, priority: 5700
DEBUG        + Card profile added: `output:hdmi-stereo-extra1+input:analog-stereo` (`Digital Stereo (HDMI 2) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 5765
DEBUG        + Card profile added: `output:hdmi-surround-extra1` (`Digital Surround 5.1 (HDMI 2) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround-extra1+input:analog-stereo` (`Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `output:hdmi-surround71-extra1` (`Digital Surround 7.1 (HDMI 2) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround71-extra1+input:analog-stereo` (`Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `output:hdmi-stereo-extra2` (`Digital Stereo (HDMI 3) Output`), 1 sinks, 0 sources, priority: 5700
DEBUG        + Card profile added: `output:hdmi-stereo-extra2+input:analog-stereo` (`Digital Stereo (HDMI 3) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 5765
DEBUG        + Card profile added: `output:hdmi-surround-extra2` (`Digital Surround 5.1 (HDMI 3) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround-extra2+input:analog-stereo` (`Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `output:hdmi-surround71-extra2` (`Digital Surround 7.1 (HDMI 3) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround71-extra2+input:analog-stereo` (`Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `output:hdmi-stereo-extra3` (`Digital Stereo (HDMI 4) Output`), 1 sinks, 0 sources, priority: 5700
DEBUG        + Card profile added: `output:hdmi-stereo-extra3+input:analog-stereo` (`Digital Stereo (HDMI 4) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 5765
DEBUG        + Card profile added: `output:hdmi-surround-extra3` (`Digital Surround 5.1 (HDMI 4) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround-extra3+input:analog-stereo` (`Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `output:hdmi-surround71-extra3` (`Digital Surround 7.1 (HDMI 4) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround71-extra3+input:analog-stereo` (`Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `output:hdmi-stereo-extra4` (`Digital Stereo (HDMI 5) Output`), 1 sinks, 0 sources, priority: 5700
DEBUG        + Card profile added: `output:hdmi-stereo-extra4+input:analog-stereo` (`Digital Stereo (HDMI 5) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 5765
DEBUG        + Card profile added: `output:hdmi-surround-extra4` (`Digital Surround 5.1 (HDMI 5) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround-extra4+input:analog-stereo` (`Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `output:hdmi-surround71-extra4` (`Digital Surround 7.1 (HDMI 5) Output`), 1 sinks, 0 sources, priority: 600
DEBUG        + Card profile added: `output:hdmi-surround71-extra4+input:analog-stereo` (`Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input`), 1 sinks, 1 sources, priority: 665
DEBUG        + Card profile added: `off` (`Off`), 0 sinks, 0 sources, priority: 0
DEBUG        + Card port added: `analog-input-internal-mic` (`Internal Microphone`); priority: 8900; direction: 2; available: Yes
DEBUG          . Supported profile: `input:analog-stereo`
DEBUG          . Supported profile: `output:analog-stereo+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra4+input:analog-stereo`
DEBUG        + Card port added: `analog-input-headphone-mic` (`Microphone`); priority: 8700; direction: 2; available: No
DEBUG          . Supported profile: `input:analog-stereo`
DEBUG          . Supported profile: `output:analog-stereo+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra4+input:analog-stereo`
DEBUG        + Card port added: `analog-input-headset-mic` (`Headset Microphone`); priority: 8800; direction: 2; available: No
DEBUG          . Supported profile: `input:analog-stereo`
DEBUG          . Supported profile: `output:analog-stereo+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra4+input:analog-stereo`
DEBUG        + Card port added: `analog-output-speaker` (`Speakers`); priority: 10000; direction: 1; available: Yes
DEBUG          . Supported profile: `output:analog-stereo`
DEBUG          . Supported profile: `output:analog-stereo+input:analog-stereo`
DEBUG        + Card port added: `analog-output-headphones` (`Headphones`); priority: 9900; direction: 1; available: No
DEBUG          . Supported profile: `output:analog-stereo`
DEBUG          . Supported profile: `output:analog-stereo+input:analog-stereo`
DEBUG        + Card port added: `hdmi-output-0` (`HDMI / DisplayPort`); priority: 5900; direction: 1; available: Yes
DEBUG          . Supported profile: `output:hdmi-stereo`
DEBUG          . Supported profile: `output:hdmi-stereo+input:analog-stereo`
DEBUG        + Card port added: `hdmi-output-1` (`HDMI / DisplayPort 2`); priority: 5800; direction: 1; available: No
DEBUG          . Supported profile: `output:hdmi-stereo-extra1`
DEBUG          . Supported profile: `output:hdmi-stereo-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra1`
DEBUG          . Supported profile: `output:hdmi-surround-extra1+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra1`
DEBUG          . Supported profile: `output:hdmi-surround71-extra1+input:analog-stereo`
DEBUG        + Card port added: `hdmi-output-2` (`HDMI / DisplayPort 3`); priority: 5700; direction: 1; available: No
DEBUG          . Supported profile: `output:hdmi-stereo-extra2`
DEBUG          . Supported profile: `output:hdmi-stereo-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra2`
DEBUG          . Supported profile: `output:hdmi-surround-extra2+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra2`
DEBUG          . Supported profile: `output:hdmi-surround71-extra2+input:analog-stereo`
DEBUG        + Card port added: `hdmi-output-3` (`HDMI / DisplayPort 4`); priority: 5600; direction: 1; available: No
DEBUG          . Supported profile: `output:hdmi-stereo-extra3`
DEBUG          . Supported profile: `output:hdmi-stereo-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra3`
DEBUG          . Supported profile: `output:hdmi-surround-extra3+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra3`
DEBUG          . Supported profile: `output:hdmi-surround71-extra3+input:analog-stereo`
DEBUG        + Card port added: `hdmi-output-4` (`HDMI / DisplayPort 5`); priority: 5500; direction: 1; available: No
DEBUG          . Supported profile: `output:hdmi-stereo-extra4`
DEBUG          . Supported profile: `output:hdmi-stereo-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround-extra4`
DEBUG          . Supported profile: `output:hdmi-surround-extra4+input:analog-stereo`
DEBUG          . Supported profile: `output:hdmi-surround71-extra4`
DEBUG          . Supported profile: `output:hdmi-surround71-extra4+input:analog-stereo`
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ Internal Microphone` at index 1
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ Microphone` at index 2 (hidden)
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ Headset Microphone` at index 1 (hidden)
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ Speakers` at index 6
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ Headphones` at index 6 (hidden)
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ HDMI / DisplayPort` at index 6
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ HDMI / DisplayPort 2` at index 7 (hidden)
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ HDMI / DisplayPort 3` at index 8 (hidden)
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ HDMI / DisplayPort 4` at index 9 (hidden)
DEBUG    .menu_insert_ordered_item(): inserting item `    Built-in Audio ‣ HDMI / DisplayPort 5` at index 10 (hidden)
DEBUG      + Card[10] added: `alsa_card.usb-Logitech_USB_Headset_Logitech_USB_Headset-00`, driver: `module-alsa-card.c`
DEBUG        + Card profile added: `input:mono-fallback` (`Mono Input`), 0 sinks, 1 sources, priority: 1
DEBUG        + Card profile added: `output:analog-stereo` (`Analog Stereo Output`), 1 sinks, 0 sources, priority: 6500
DEBUG        + Card profile added: `output:analog-stereo+input:mono-fallback` (`Analog Stereo Output + Mono Input`), 1 sinks, 1 sources, priority: 6501 -- Active
DEBUG        + Card profile added: `off` (`Off`), 0 sinks, 0 sources, priority: 0
DEBUG        + Card port added: `analog-input-mic` (`Microphone`); priority: 8700; direction: 2; available: Yes
DEBUG          . Supported profile: `input:mono-fallback`
DEBUG          . Supported profile: `output:analog-stereo+input:mono-fallback`
DEBUG        + Card port added: `analog-output-headphones` (`Headphones`); priority: 9900; direction: 1; available: Yes
DEBUG          . Supported profile: `output:analog-stereo`
DEBUG          . Supported profile: `output:analog-stereo+input:mono-fallback`
DEBUG    .menu_insert_ordered_item(): inserting item `    H390 headset with microphone ‣ Microphone` at index 4
DEBUG    .menu_insert_ordered_item(): inserting item `    H390 headset with microphone ‣ Headphones` at index 14
DEBUG      + Source[3] added: `alsa_input.pci-0000_00_1f.3.analog-stereo`, card 1
DEBUG        + Source port added: `analog-input-internal-mic` (`Internal Microphone`); priority: 8900; available: Yes
DEBUG        + Source port added: `analog-input-headphone-mic` (`Microphone`); priority: 8700; available: No
DEBUG        + Source port added: `analog-input-headset-mic` (`Headset Microphone`); priority: 8800; available: No
DEBUG        * Activated source port `analog-input-internal-mic`
DEBUG      + Source[59] added: `alsa_input.usb-Logitech_USB_Headset_Logitech_USB_Headset-00.mono-fallback`, card 10
DEBUG        + Source port added: `analog-input-mic` (`Microphone`); priority: 8700; available: Yes
DEBUG        * Activated source port `analog-input-mic`
DEBUG      + Source output[1] added: `Input`
DEBUG      + Sink[47] added: `alsa_output.pci-0000_00_1f.3.hdmi-stereo`, card 1
DEBUG        + Sink port added: `hdmi-output-0` (`HDMI / DisplayPort`); priority: 5900; available: Yes
DEBUG        * Activated sink port `hdmi-output-0`
DEBUG      + Sink[48] added: `alsa_output.usb-Logitech_USB_Headset_Logitech_USB_Headset-00.analog-stereo`, card 10
DEBUG        + Sink port added: `analog-output-headphones` (`Headphones`); priority: 9900; available: Yes
DEBUG        * Activated sink port `analog-output-headphones`
DEBUG      + Sink input[52] added: `Output` -> sink 48
DEBUG    * Activated sink: `alsa_output.usb-Logitech_USB_Headset_Logitech_USB_Headset-00.analog-stereo`
DEBUG    * Activated source: `alsa_input.usb-Logitech_USB_Headset_Logitech_USB_Headset-00.mono-fallback`

image

msangel avatar Apr 03 '23 18:04 msangel

When installing from .deb, did it also install gir1.2-ayatanaappindicator3-0.1 or gir1.2-appindicator3-0.1? One of those is actually responsible for rendering a "system tray."

I'm not that familiar with XFCE, but nonetheless, the indicator is supposed to show up in the tray area.

yktoo avatar Apr 09 '23 19:04 yktoo

@yktoo when install from deb, no issue actually spotted.. seeing it shown for the first time! image

Install details: image

So looks like other install methods were affected.....

msangel avatar Apr 09 '23 19:04 msangel

gir1.2-ayatanaappindicator3-0.1 or gir1.2-appindicator3-0.1

XFCE has some legacy indicator issues. It has 3 widgets for the same. One old but with bugs, one new but with limited coverage, and one just for notifications. details

So that's why I have all of them. And had before! Maybe that's the reason it doesn't know what to use when installing from other sources.

msangel avatar Apr 09 '23 19:04 msangel

Closing until more details are provided.

yktoo avatar Aug 18 '24 11:08 yktoo