AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / computer / Perguntas / 1779520
Accepted
J. Mini
J. Mini
Asked: 2023-04-18 16:07:28 +0800 CST2023-04-18 16:07:28 +0800 CST 2023-04-18 16:07:28 +0800 CST

Como posso depurar um ícone do Discord que às vezes está faltando no painel do Xfce?

  • 772

No Xubuntu 22.04, eu uso o snap do Discord. Seu pequeno ícone às vezes está faltando no meu painel e às vezes não. Não tenho certeza se ele deve estar no plug-in Indicador ou nos ícones da bandeja de status; O menu de configurações para aqueles parece nunca mostrá-lo. Reiniciar o painel nunca parece corrigir o problema do ícone não aparecer no painel. Parece ser corrigido apenas por reinicializações.

Aqui está alguma saída de terminal relevante. O seguinte é um exemplo de quando o ícone não aparece.

~$ PANEL_DEBUG=1 xfce4-panel
xfce4-panel(main): version 4.16.3 on gtk+ 3.24.33 (3.24.29), glib 2.72.4 (2.68.3)
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(application): found window manager after 1 tries
xfce4-panel(base-window): 0x564b8f52ff30: rgba visual=0x564b8f4fad90, compositing=true
xfce4-panel(base-window): 0x564b8f52ff30: rgba visual=0x564b8f4fad90, compositing=true
xfce4-panel(display-layout): 0x564b8f52ff30: display=:0.0{comp=true}, screen-0[0x564b8f4ee020]=[3520,1080] (eDP1=[0,180;1600,900], HDMI2=[1600,0;1920,1080])
xfce4-panel(positioning): 0x564b8f52ff30: screen=0x564b8f4ee020, monitors=2, output-name=(null), span-monitors=false, base=720,11
xfce4-panel(positioning): 0x564b8f52ff30: working-area: screen=0x564b8f4ee020, x=0, y=180, w=1600, h=900
xfce4-panel(struts): 0x564b8f52ff30: top=201, start_x=0, end_x=1599
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/1
xfce4-panel(module): new item (type=external-wrapper, name=whiskermenu, id=1)
xfce4-panel(external): whiskermenu-1: child spawned; pid=8657, argc=7
xfce4-panel(module): new item (type=object-type, name=launcher, id=13)
xfce4-panel(module): new item (type=object-type, name=launcher, id=15)
xfce4-panel(module): new item (type=object-type, name=launcher, id=14)
xfce4-panel(module): new item (type=object-type, name=directorymenu, id=18)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=3)
xfce4-panel(module): new item (type=object-type, name=separator, id=4)
xfce4-panel(module): new item (type=object-type, name=clock, id=12)
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/6
xfce4-panel(module): new item (type=external-wrapper, name=notification-plugin, id=6)
xfce4-panel(external): notification-plugin-6: child spawned; pid=8658, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/17
xfce4-panel(module): new item (type=external-wrapper, name=systray, id=17)
xfce4-panel(external): systray-17: child spawned; pid=8659, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/2
xfce4-panel(module): new item (type=external-wrapper, name=indicator, id=2)
xfce4-panel(external): indicator-2: child spawned; pid=8660, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/9
xfce4-panel(module): new item (type=external-wrapper, name=power-manager-plugin, id=9)
xfce4-panel(external): power-manager-plugin-9: child spawned; pid=8661, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/10
xfce4-panel(module): new item (type=external-wrapper, name=pulseaudio, id=10)
xfce4-panel(external): pulseaudio-10: child spawned; pid=8662, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/16
xfce4-panel(module): new item (type=external-wrapper, name=xfce4-clipman-plugin, id=16)
xfce4-panel(external): xfce4-clipman-plugin-16: child spawned; pid=8665, argc=7
xfce4-panel(external): systray-17: child is embedded; 7 properties in queue
xfce4-panel(systray): rgba visual is 0x560cb9491590
xfce4-panel(systray): registered manager on screen 0
xfce4-panel(external): whiskermenu-1: child is embedded; 7 properties in queue
xfce4-panel(external): pulseaudio-10: child is embedded; 7 properties in queue
xfce4-panel(external): power-manager-plugin-9: child is embedded; 7 properties in queue
xfce4-panel(external): indicator-2: child is embedded; 7 properties in queue
xfce4-panel(external): xfce4-clipman-plugin-16: child is embedded; 7 properties in queue
xfce4-panel(external): notification-plugin-6: child is embedded; 7 properties in queue

(wrapper-2.0:8658): Gtk-WARNING **: 09:00:12.357: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

(wrapper-2.0:8660): Gtk-WARNING **: 09:00:12.430: Theme parsing error: <data>:1:46: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(wrapper-2.0:8660): Gtk-WARNING **: 09:00:12.430: Theme parsing error: <data>:1:78: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(wrapper-2.0:8660): Gtk-WARNING **: 09:00:12.430: Theme parsing error: <data>:1:108: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(wrapper-2.0:8660): Gtk-WARNING **: 09:00:12.430: Theme parsing error: <data>:1:136: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(wrapper-2.0:8662): Gtk-WARNING **: 09:00:12.431: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)

(wrapper-2.0:8657): Gtk-WARNING **: 09:00:12.464: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:8658): Gtk-WARNING **: 09:00:12.467: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:8665): Gtk-WARNING **: 09:00:12.485: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:8661): Gtk-WARNING **: 09:00:12.532: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PowerManagerButton)

Ao abrir o Discord no menu Whisker, as saídas acima aparecem no mesmo comando

Discord 0.0.26
[8716:0418/090018.625660:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 8837: Permission denied (13)
libGL error: MESA-LOADER: failed to open i965: /snap/discord/151/gnome-platform/usr/lib/x86_64-linux-gnu/dri/i965_dri.so: cannot open shared object file: No such file or directory (search paths /snap/discord/151/gnome-platform/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: i965
Starting app.
Starting updater.
2023-04-18T08:00:18.641Z [Modules] Modules initializing
2023-04-18T08:00:18.641Z [Modules] Distribution: remote
2023-04-18T08:00:18.641Z [Modules] Host updates: disabled
2023-04-18T08:00:18.641Z [Modules] Module updates: enabled
2023-04-18T08:00:18.641Z [Modules] Module install path: /home/[my-user-name]/snap/discord/151/.config/discord/0.0.26/modules
2023-04-18T08:00:18.641Z [Modules] Module installed file path: /home/[my-user-name]/snap/discord/151/.config/discord/0.0.26/modules/installed.json
2023-04-18T08:00:18.642Z [Modules] Module download path: /home/[my-user-name]/snap/discord/151/.config/discord/0.0.26/modules/pending
[8837:0418/090018.704384:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[8716:0418/090018.713061:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 8874: Permission denied (13)
[8874:0418/090018.738772:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[8846:0418/090018.811681:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
2023-04-18T08:00:18.852Z [Modules] No updates to install
2023-04-18T08:00:18.859Z [Modules] Host is up to date.
2023-04-18T08:00:18.866Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
2023-04-18T08:00:19.055Z [Modules] No module updates available.
Optional module ./ElectronTestRpc was not included.
[8716:0418/090019.221117:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.147" (uid=1000 pid=8716 comm="/snap/discord/151/usr/share/discord/Discord --use-" label="snap.discord.discord (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1014 comm="/lib/systemd/systemd-logind " label="unconfined")
WEIGHT /home/[my-user-name]/snap/discord/151/.config/discord/0.0.26/modules/discord_krisp/NC_small_8k.thw
WEIGHT /home/[my-user-name]/snap/discord/151/.config/discord/0.0.26/modules/discord_krisp/NC_small_16k.thw
WEIGHT /home/[my-user-name]/snap/discord/151/.config/discord/0.0.26/modules/discord_krisp/c6.f.s.ced125.thw
WEIGHT /home/[my-user-name]/snap/discord/151/.config/discord/0.0.26/modules/discord_krisp/VAD_weight.thw
2023-04-18T08:00:21.698Z [Modules] Host is up to date.
2023-04-18T08:00:21.698Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
2023-04-18T08:00:21.701Z [Modules] No module updates available.

Como posso começar a depurar isso?

linux
  • 1 1 respostas
  • 30 Views

1 respostas

  • Voted
  1. Best Answer
    harrymc
    2023-04-18T17:20:01+08:002023-04-18T17:20:01+08:00

    Você pode ter se deparado com ícones de [Bug] não exibidos de forma confiável na bandeja do sistema .

    A conclusão foi que isso era um conflito com a aplicação do indicador ayatana.

    Também foi incluído um script para reiniciar o painel xfce4, que para algumas pessoas resolveu o problema:

    #!/bin/bash
    #Optionally sleep before restarting panel
    sleep ${1:-0}
    xfce4-panel -q
    xfce4-panel &
    
    • 1

relate perguntas

  • Como eu faria minha máquina Linux parecer que está executando o Windows?

  • Existe um equivalente a cd - para cp ou mv?

  • execute o contêiner do docker como root

  • Como ativar o sensor de impressão digital no domínio e no diretório ativo do Linux

  • Como alterar permanentemente Ctrl + C para Ctrl + K no CentOS 7?

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Como posso reduzir o consumo do processo `vmmem`?

    • 11 respostas
  • Marko Smith

    Baixar vídeo do Microsoft Stream

    • 4 respostas
  • Marko Smith

    O Google Chrome DevTools falhou ao analisar o SourceMap: chrome-extension

    • 6 respostas
  • Marko Smith

    O visualizador de fotos do Windows não pode ser executado porque não há memória suficiente?

    • 5 respostas
  • Marko Smith

    Como faço para ativar o WindowsXP agora que o suporte acabou?

    • 6 respostas
  • Marko Smith

    Área de trabalho remota congelando intermitentemente

    • 7 respostas
  • Marko Smith

    O que significa ter uma máscara de sub-rede /32?

    • 6 respostas
  • Marko Smith

    Ponteiro do mouse movendo-se nas teclas de seta pressionadas no Windows?

    • 1 respostas
  • Marko Smith

    O VirtualBox falha ao iniciar com VERR_NEM_VM_CREATE_FAILED

    • 8 respostas
  • Marko Smith

    Os aplicativos não aparecem nas configurações de privacidade da câmera e do microfone no MacBook

    • 5 respostas
  • Martin Hope
    Vickel O Firefox não permite mais colar no WhatsApp web? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke Por que os arquivos tar.xz são 15x menores ao usar a biblioteca tar do Python em comparação com o tar do macOS? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh Como posso reduzir o consumo do processo `vmmem`? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Pesquisa do Windows 10 não está carregando, mostrando janela em branco 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 Área de trabalho remota congelando intermitentemente 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney Por que colocar um ponto após o URL remove as informações de login? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension Ponteiro do mouse movendo-se nas teclas de seta pressionadas no Windows? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca Todos os meus complementos do Firefox foram desativados repentinamente, como posso reativá-los? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK É possível criar um código QR usando texto? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 Altere o nome da ramificação padrão do git init 2019-04-01 06:16:56 +0800 CST

Hot tag

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve