View previous topic :: View next topic |
Author |
Message |
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Tue Sep 17, 2024 11:33 am Post subject: Plasma 6 vs claws-mail tray icon |
|
|
Hi folks.
I managed to solve almost all pesky problems after update to KDE/Plasma 6. But some still remain.
I use claws-mail for managing my e-mails for over a decade and found, that previously the `kde-plasma/xembed-sni-proxy` was responsible for adding GTK-based apps icons to system tray. But it seems that it is masked for removal soon:
Code: |
!!! All ebuilds that could satisfy "xembed-sni-proxy" have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-plasma/xembed-sni-proxy-5.27.11::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2024-09-07)
# These packages are EOL in Plasma 6.
# Removal on 2024-10-07.
|
On my old laptop with 12" screen having just one extra window in task bar is no way and makes claws-mail extremely annoying. Before asking, I've checked what up-to-date alternatives I have and it came out, that only Thunderbird is available in portage currently, but this is no-way as it is 500Mb+ browser based monster that I don't want to see in my system just to read humble e-mail once a day.
So, I'm back with claws-mail back again.
Anyone knows solution on getting tray icon back?
Thank you! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
Posted: Tue Sep 17, 2024 11:44 am Post subject: |
|
|
plasma-workspace:6 contains xembedsniproxy. |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Tue Sep 17, 2024 12:19 pm Post subject: |
|
|
asturm wrote: | plasma-workspace:6 contains xembedsniproxy. |
I have this:
Code: |
emerge plasma-workspace -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 4.41 s (backtrack: 0/20).
[ebuild R ] kde-plasma/plasma-workspace-6.1.4-r1:6::gentoo USE="calendar fontconfig policykit wallpaper-metadata -appstream -debug -geolocation -gps -handbook -screencast -semantic-desktop -systemd -telemetry -test" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
|
And claws-mail with settings that should make tray icon visible (old setting that used to work on KDE/Plasma 6) and no tray icon with claws-mail running.
Am I missing something? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
Posted: Tue Sep 17, 2024 1:01 pm Post subject: |
|
|
Is it possible that the tray icon is not visible in your (now default) Plasma Wayland session, but visible in an X11 session? |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Tue Sep 17, 2024 2:19 pm Post subject: |
|
|
asturm wrote: | Is it possible that the tray icon is not visible in your (now default) Plasma Wayland session, but visible in an X11 session? |
Just checked X11 session and yes, this is exactly what is happening. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
Posted: Tue Sep 17, 2024 3:35 pm Post subject: |
|
|
Please check if installing dev-libs/libayatana-appindicator makes a difference for your Plasma Wayland session. |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Tue Sep 17, 2024 6:05 pm Post subject: |
|
|
asturm wrote: | Please check if installing dev-libs/libayatana-appindicator makes a difference for your Plasma Wayland session. |
I've emerged dev-libs/libayatana-appindicator with gtk3 use flag enabled as required, then restarted session, restarted claws-mail just for sure and nothing changed - the tray icon is missing. |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Wed Sep 18, 2024 8:10 am Post subject: |
|
|
Code: |
[ebuild R ] mail-client/claws-mail-4.3.0::gentoo USE="dbus gnutls imap libcanberra networkmanager nls notification oauth pdf pgp python spell svg -archive -bogofilter -calendar -clamav -debug -doc -ldap -libnotify -litehtml -nntp -perl -rss -session -sieve -smime -spam-report -spamassassin -startup-notification -valgrind -webkit -xface" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 0 KiB
|
Version 4.3.0 rolled in, still no tray icon in Wayland session. Should I enable libnotify maybe? |
|
Back to top |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Thu Sep 19, 2024 9:11 am Post subject: |
|
|
I just wanted to chime in and say, "Me too!" I'm with you cz0. I've got all the above suggested packages installed but still no joy. Version 4.3.0 got my hopes up, all in vain.
I also have blueman (soon to go), gajim and hp-systray icons in the system tray, all work fine. And they all seem to have little python programs that make them work, claws-mail does not. But then I also have hexchat system tray icon working, and it also doesn't employ a python program.
This is the best implementation of wayland I've seen, pretty much perfect except for that 1 thing, I love claws-mail, but thinking about giving kmail a try because of it. Fingers crossed. Onward and upward! _________________ sputnik@#gentoo |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
Posted: Thu Sep 19, 2024 9:17 am Post subject: |
|
|
Are you both using kde-plasma/plasma-meta with USE=gtk enabled? |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Thu Sep 19, 2024 6:29 pm Post subject: |
|
|
asturm wrote: | Are you both using kde-plasma/plasma-meta with USE=gtk enabled? |
I don't install *-meta since since kde-4 maybe - it brings tons of useless garbage.
But this is what portage will bring if I will to install meta:
Code: |
[ebuild N ] dev-libs/crypto++-8.9.0:0/8.9.0::gentoo USE="asm -static-libs -verify-sig" 9071 KiB
[ebuild N ] dev-cpp/range-v3-0.12.0::gentoo USE="-test" 570 KiB
[ebuild N ] dev-python/dbus-python-1.3.2::gentoo USE="-doc -examples -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 (-python3_13)" 592 KiB
[ebuild N ] dev-python/pycups-2.0.1-r1::gentoo USE="-debug -examples" PYTHON_TARGETS="python3_12 -python3_10 -python3_11" 62 KiB
[ebuild N ] dev-python/psutil-6.0.0::gentoo USE="-debug -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 500 KiB
[ebuild N ] dev-python/sentry-sdk-2.13.0::gentoo USE="-test" PYTHON_TARGETS="python3_12 -python3_11" 537 KiB
[ebuild N ] dev-python/versioneer-0.29-r1::gentoo USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 77 KiB
[ebuild N ] sys-fs/cryfs-0.11.4::gentoo USE="-test" 10177 KiB
[ebuild N ] x11-misc/appmenu-gtk-module-24.05-r2::gentoo USE="wayland -gtk2 -test" 41 KiB
[ebuild N ] app-admin/system-config-printer-1.5.18-r2::gentoo USE="-keyring -policykit" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 1365 KiB
[ebuild N ] kde-plasma/ocean-sound-theme-6.1.4:6::gentoo USE="-debug" 1182 KiB
[ebuild N ] kde-plasma/plasma-workspace-wallpapers-6.1.4:6::gentoo 97946 KiB
[ebuild R ] app-text/poppler-24.06.1:0/138::gentoo USE="cairo cxx introspection jpeg jpeg2k lcms nss qt6* tiff utils -boost -cjk -curl -debug -doc -gpgme -png -qt5* -test -verify-sig" 0 KiB
[ebuild N ] kde-frameworks/kfilemetadata-6.5.0-r1:6/6.5::gentoo USE="exif pdf -debug -doc -epub -ffmpeg -mobi -taglib -test" 581 KiB
[ebuild N ] kde-plasma/kwrited-6.1.4:6::gentoo USE="-debug" 24 KiB
[ebuild N ] kde-plasma/ksshaskpass-6.1.4:6::gentoo USE="-debug" 29 KiB
[ebuild N ] kde-plasma/qqc2-breeze-style-6.1.4:6::gentoo USE="-debug" 65 KiB
[ebuild N ] kde-plasma/kwallet-pam-6.1.4:6::gentoo USE="-debug" 22 KiB
[ebuild N ] kde-plasma/kmenuedit-6.1.4:6::gentoo USE="-debug -handbook" 851 KiB
[ebuild N ] kde-frameworks/purpose-6.5.0-r1:6/6.5::gentoo USE="-bluetooth -debug -test -webengine" 171 KiB
[ebuild N ] kde-plasma/kgamma-6.1.4:6::gentoo USE="-debug -handbook" 85 KiB
[ebuild N ] kde-plasma/kinfocenter-6.1.4:6::gentoo USE="usb -debug -gles2-only -handbook" 727 KiB
[ebuild N ] kde-plasma/kscreen-6.1.4:6::gentoo USE="X -debug -test" 205 KiB
[ebuild N ] kde-plasma/plasma-welcome-6.1.4:6::gentoo USE="-debug" 650 KiB
[ebuild N ] kde-plasma/plasma-vault-6.1.4:6::gentoo USE="networkmanager -debug" 197 KiB
[ebuild N ] kde-plasma/print-manager-6.1.4:6::gentoo USE="gtk -debug" 362 KiB
[ebuild N ] kde-plasma/kdeplasma-addons-6.1.4:6::gentoo USE="alternate-calendar -debug -handbook -share -webengine" 869 KiB
[ebuild N ] kde-plasma/plasma-disks-6.1.4:6::gentoo USE="-debug -handbook" 99 KiB
[ebuild N ] dev-debug/gdb-14.2-r1::gentoo USE="cet nls python server -debuginfod -guile -lzma -multitarget -sim -source-highlight -test -vanilla -xml -xxhash -zstd" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 23553 KiB
[ebuild N ] dev-python/pygdbmi-0.11.0.0::gentoo USE="-test" PYTHON_TARGETS="python3_12 -python3_11 (-python3_13)" 31 KiB
[ebuild N ] kde-plasma/drkonqi-6.1.4:6::gentoo USE="-debug -systemd -test" PYTHON_SINGLE_TARGET="python3_12 -python3_11" 852 KiB
[ebuild N ] sys-apps/xdg-desktop-portal-gtk-1.14.1::gentoo USE="X wayland" 385 KiB
[ebuild N ] gui-apps/xwaylandvideobridge-0.4.0::gentoo USE="-debug" 35 KiB
[ebuild N ] kde-plasma/plasma-browser-integration-6.1.4:6::gentoo USE="-debug" 218 KiB
[ebuild N ] kde-plasma/plasma-meta-6.1.4-r1:6::gentoo USE="browser-integration crash-handler crypt cups display-manager elogind gtk kwallet networkmanager sddm smart wallpapers xwayland -accessibility -bluetooth -colord -discover (-firewall) -flatpak -grub -oxygen-theme -plymouth -pulseaudio -qt5 -rdp -sdk -systemd -thunderbolt -unsupported -wacom -webengine" 0 KiB
|
BTW: gtk and gtk3 useflags are both not enabled for the world. But if I enable gtk globally, portage tries to build another ton of random stuff including ruby (WTF?), but packages that are already in system and should be rebuild because of gtk been enabled are:
Code: |
[ebuild R ] net-analyzer/mtr-0.95-r1::gentoo USE="filecaps gtk* ipinfo ipv6 ncurses -jansson" 0 KiB
[ebuild R ] app-text/ghostscript-gpl-10.03.1:0/10.03::gentoo USE="X cups dbus gtk* (unicode) -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB
[ebuild R ] media-gfx/fontforge-20230101-r2::gentoo USE="X gtk* jpeg python readline svg tiff -doc -gif -png -test -truetype-debugger -woff2" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 0 KiB
[ebuild R ] net-vpn/networkmanager-openvpn-1.10.2-r1::gentoo USE="gtk* -test" 0 KiB
[ebuild R ] dev-qt/qtbase-6.7.2-r4:6/6.7.2::gentoo USE="X concurrent cups dbus gtk* gui icu libinput libproxy network nls opengl sql sqlite ssl udev wayland widgets xml (zstd) -accessibility -brotli -eglfs -evdev -gles2-only -gssapi -journald -mysql -oci8 -odbc -postgres -renderdoc -sctp -syslog -test -tslib -vulkan" 0 KiB
[ebuild R ] app-crypt/pinentry-1.3.0-r3::gentoo USE="X caps gtk* ncurses qt6 wayland -efl -emacs -keyring -qt5 -verify-sig" 0 KiB
[ebuild R ] dev-qt/qtwidgets-5.15.14:5/5.15::gentoo USE="X dbus gtk* png -debug -gles2-only -test" 0 KiB
[ebuild R ] sys-auth/polkit-124-r1::gentoo USE="daemon duktape gtk* introspection pam -examples -kde (-selinux) -systemd -test" 0 KiB
[ebuild N ] net-libs/webkit-gtk-2.44.1-r410:4.1/0::gentoo USE="X gstreamer introspection jumbo-build pdf (seccomp) spell wayland (-aqua) -avif -examples -gamepad -jpegxl -keyring -lcms -systemd" 35431 KiB
[ebuild R ] net-vpn/networkmanager-openconnect-1.2.10-r1::gentoo USE="gtk*" 0 KiB
[ebuild R ] x11-misc/xdg-user-dirs-0.18::gentoo USE="gtk*" 0 KiB
[ebuild N ] x11-misc/xdg-user-dirs-gtk-0.11::gentoo 124 KiB
|
Anything interesting there? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
Posted: Thu Sep 19, 2024 6:39 pm Post subject: |
|
|
If you don't use plasma-meta, I can't really support you. Any runtime bugs or missing features are yours to debug. It does not contain garbage, it contains *only* the Plasma desktop as KDE have intended it, and is configurable where it makes sense and we know it will not break your system. It does not ship with any applications, since desktop (Plasma) and applications (Gear) and libraries (Frameworks) were split from another after KDE SC 4.
That said, I have plasma-meta installed, albeit with USE="-gtk", and I don't see a systray icon either. Since claws-mail is GTK-based, you may want to try out the integration plasma-meta[gtk] provides. That does not mean you have to enable gtk globally ... |
|
Back to top |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Fri Sep 20, 2024 1:10 am Post subject: |
|
|
I am. No deviation from stock usage.
Installed versions: 6.1.4-r1(6){tbz2}(22:57:05 09/06/24)(bluetooth browser-integration crash-handler crypt cups display-manager elogind gtk kwallet networkmanager pulseaudio qt5 sddm smart wallpapers xwayland -accessibility -colord -discover -firewall -flatpak -grub -oxygen-theme -plymouth -rdp -sdk -systemd -thunderbolt -unsupported -wacom -webengine)
I've also tried starting with GDK_BACKEND=x11, doesn't help.
Incidentally, I'm running a nearly identical setup on my AMD Rizen 7 desktop and my Intel laptop, it doesn't work on either. _________________ sputnik@#gentoo |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Fri Sep 20, 2024 4:18 am Post subject: |
|
|
yuyuyak wrote: | I am. No deviation from stock usage.
|
It looks like now you fight for me
Try installing this:
Code: |
USE='gtk gtk3' emerge dev-libs/libayatana-appindicator
|
Maybe this helps. |
|
Back to top |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Fri Sep 20, 2024 10:22 am Post subject: |
|
|
I got your back cz0
I already have that installed, it doesn't have those use flags.
Code: | dev-libs/libayatana-appindicator
Available versions: 0.5.92^t{tbz2} 0.5.93^t{tbz2} {test}
Installed versions: 0.5.93^t{tbz2}(09:23:17 08/27/24)(-test)
Homepage: https://github.com/AyatanaIndicators/libayatana-appindicator
Description: Ayatana Application Indicators (Shared Library) |
_________________ sputnik@#gentoo |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Sat Sep 21, 2024 3:39 pm Post subject: |
|
|
yuyuyak wrote: | I got your back cz0
I already have that installed, it doesn't have those use flags.
|
dev-libs/libdbusmenu that is pulled in as dep has both gtk and gtk3. This may or may not make sense:
Code: |
USE='gtk gtk3' emerge dev-libs/libayatana-appindicator -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 4.75 s (backtrack: 0/20).
[ebuild N ] dev-libs/ayatana-ido-0.10.2::gentoo USE="-test" 0 KiB
[ebuild N ] dev-libs/libdbusmenu-16.04.0-r2::gentoo USE="gtk gtk3 introspection -debug -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild N ] dev-libs/libayatana-indicator-0.9.4:3::gentoo USE="-test" 0 KiB
[ebuild N ] dev-libs/libayatana-appindicator-0.5.93::gentoo USE="-test" 0 KiB
|
|
|
Back to top |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Sun Sep 22, 2024 12:17 pm Post subject: |
|
|
Ah, ok, but it's all installed that way already.
Code: | dev-libs/libdbusmenu
Available versions: 16.04.0-r2^t{tbz2} {debug gtk gtk3 +introspection test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 16.04.0-r2^t{tbz2}(21:13:22 06/09/24)(gtk gtk3 introspection -debug -test ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
|
because claws-mail must've asked me to activate that use flag:
Code: | /etc/portage/package.use # grep libdbusmenu *
claws-mail.use:>=dev-libs/libdbusmenu-16.04.0-r1 gtk3 |
But good idea, I'm gonna check out all the dependencies. Big plasma update yesterday, another disappointment.
So what, are you saying you've got it working? _________________ sputnik@#gentoo |
|
Back to top |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Sun Sep 22, 2024 1:50 pm Post subject: |
|
|
I think we can forget about the tray icon for now. There is a surprisingly small amount of whining about it on the web, but this morning I made a more concentrated effort drilling down for it it. There's at least 2 complaints from other distros, SUSE I think and Fedora.
https://lists.claws-mail.org/pipermail/users/2024-March/032727.html
https://www.reddit.com/r/linuxquestions/comments/1fjq1mh/please_recommend_an_email_client_for_kderoot_user/
And the claws-mail bugzilla knows about it since May:
https://www.claws-mail.org/bugzilla/show_bug.cgi?id=4485
(BTW, I tried the GDK_BACKEND=wayland suggestion the reporter on the bugzilla suggests, no help)
It appears to be the claws-mail tray icon having a problem, not the distros or the desktop system. I also have a wayfire desktop I've been toying with for awhile, all tray icons work there too, except for claws-mail.
Looks like we have 2 choices. Find the source code and try to fix it or switch to kmail, at least until it's fixed. I plan to try both, will let you know what I find out. _________________ sputnik@#gentoo |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Mon Sep 23, 2024 8:59 pm Post subject: |
|
|
The last message at Claws-Mail bug tracker dated 2024-05-13 and still not a single response. Not so promising..
I found another link that may be useful: https://forums.insynchq.com/t/kde-plasma-wayland-tray-icon-missing-with-workaround/17696/12
I started xembedsniproxy manually and got:
Code: |
kde.xembedsniproxy: failed to claim ownership of Systray Manager
|
But that didn't change anything - that icon is still missing. |
|
Back to top |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Tue Sep 24, 2024 1:44 am Post subject: |
|
|
I don't have xembedsniproxy:5 installed but I still show this:
Code: | $ ps ax|grep xembed
7775 tty7 Sl+ 0:00 /usr/bin/xembedsniproxy
18254 pts/2 S+ 0:00 grep --color=auto xembed |
That's because it's been rolled into another package now. I get the same error message you get if I try to run it directly.
I installed kmail, it only took 47 support packages And some of those are non-trivial compiles, like mariadb.
It has a "migration tool" but it only kinda works, although once I got the hang of it most folders were migrated fine, had to manually set servers, ports, etc. I use a remote IMAP server so the email client is really just a "viewport" to it, the files don't actually exist here.
And ... it's ugly. But it will do the job. I'm on the fence about it, all those extra packages...
Actually the May 2024 posting at the claws-mail bugzilla is the second post. The 1st post is 2021 The bug says Assignee: users, which I guess means people like you and I are responsible for fixing it.
Another option I didn't think of is to have a quick launch for claws-mail, and just start it when you want to use it, no notifications but usable.
I have a hunch that plasma doesn't like the .xpm files that make up the icon in it's various notification stages. At least elsewhere in plasma it demands .svg scaleable pictures (at least for icons), don't know about system tray though. _________________ sputnik@#gentoo |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1685 Location: South America
|
Posted: Wed Sep 25, 2024 1:41 pm Post subject: |
|
|
The most revealing message in that thread, seemingly from a Claws Mail developer:
Paul wrote: | I think the problem here is that the SysTray Notification module is using GtkStatusIcon, which is deprecated and under wayland simply does not work. |
I suppose that it refers to this. The Gtk.StatusIcon class and related API has been deprecated indeed in GTK 3 and removed from GTK 4, but also, there's apparently no similar replacement in GTK.
The solution would seem to be having Claws Mail use a replacement for Gtk.StatusIcon. The Ayatana Application Indicators that asturm mentioned looks like one, but this won't happen just by installing the corresponding Gentoo package, code has to be ported to it.
EDIT: Hmm, not so sure because libayatana-appindicator uses GtkStatusIcons internally :/ _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 309 Location: /earth/russia/moscow
|
Posted: Wed Sep 25, 2024 9:05 pm Post subject: |
|
|
The good news is that we have more and more people involved.
The bad news - this problem is just a smidgen of problems Wayland brought. |
|
Back to top |
|
|
|