You are not logged in.
You see, apps like discord, QQ TIM, Telegram, even blueman, will leave a icon in system tray when you run them. Recently, my plasma desktop (Wayland) is not showing any apps icons except system apps, like bluetooth, wifi...
This situation is the same as this: KDE: Apps not showing in the system tray. It is too old to repoen. I tried to reinstall plasma-desktop, or installed a suit of plasma applications, but nothing helped.
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: 21CX ThinkBook 14 G4+ IAP
`+oooooo: Kernel: 5.18.16-arch1-1
-+oooooo+: Uptime: 10 hours, 55 mins
`/:-:++oooo+: Packages: 1465 (pacman), 7 (flatpak)
`/++++/+++++++: Shell: bash 5.1.16
`/++++++++++++++: Resolution: 1920x1080
`/+++ooooooooooooo/` DE: Plasma 5.25.4
./ooosssso++osssssso+` WM: kwin
.oossssso-````/ossssss+` WM Theme: Layan-solid
-osssssso. :ssssssso. Theme: [Plasma], Breeze [GTK2/3]
:osssssss/ osssso+++. Icons: Tela-dark [Plasma], Tela-dark [GTK2/3]
/ossssssss/ +ssssooo/- Terminal: konsole
`/ossssso+/:- -:/+osssso+- CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz
`+sso+:-` `.-/+oso: GPU: Intel Alder Lake-P
It is interesting that if I run a new desktop using this below in terminal, the apps can show in the system tray normally!
dbus-run-session startplasma-wayland
Last edited by KafCoppelia (2022-08-10 03:54:10)
Offline
KDE Plasme with wayland is partly still very buggy. I recommend using the X server instead and wait a little bit till you finally switch, if you prefer a productive system.
Offline
I don't think Wayland is responsible for all of this. Because I created a new user, and in that user with Wayland, apps can stay in the system tray.
Offline
All right guys. I solved this problem. Please refer to this: applications-icon-missing-in-system-tray with detailed solution included.
1. Rename ~/.config to something else like ~/.config.backup
2. Reboot
3. Check if Cookies opens normally (or any of your other issues don’t exist).
4. If everything works, move a few files from ~/.config.backup back to ~/.config.
5. If something break, now you know which file/dir is the cause.
6. Repeat from 2 till ~/.config.backup is empty.
7. Profit!
Finally I found ~/.config/kwinrc is the culprit, which caused another issue I encountered before: AX210 cannot connect wifi normally. Yes this issue was one of symptoms.
Actually I found many "apps not showing in the system tray"-like issues in forums or manjaro forums. Maybe kwin blocked the communication between DBus and other apps, including wifi...?
My ~/.config/kwinrc is below:
[$Version]
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default,kwin.upd:overview-group-plugin-id,kwin.upd:animation-speed-cleanup
[Compositing]
OpenGLIsUnsafe=false
[Desktops]
Id_1=cb243d49-c96d-4eab-b49b-d86f92aa4398
Number=1
Rows=1
[NightColor]
Active=true
LatitudeAuto=28.1987
LongitudeAuto=112.9709
[TabBox]
LayoutName=com.github.vinceliuice.Layan
[TabBoxAlternative]
LayoutName=com.github.vinceliuice.Layan
[Wayland]
InputMethod[$e]=/usr/share/applications/org.fcitx.Fcitx5.desktop
VirtualKeyboardEnabled=true
[org.kde.kdecoration2]
theme=__aurorae__svg__Layan-solid
However, Idk how to dig in further.
Last edited by KafCoppelia (2022-08-09 08:48:58)
Offline
In my case autostart delay was helpful for telegram-desktop.
I saw in journalctl. And I think it's because of telegram is running earlier than some tray service.
telegram-desktop[5795]: qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
So, I just changed Exec string in my ~/.config/autostart/telegramdesktop.desktop file to
Exec=bash -c "sleep 2 && /usr/bin/telegram-desktop -workdir /home/username/.local/share/TelegramDesktop/ -autostart"
and it worked.
Offline