Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma 6 vs claws-mail tray icon
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 299
Location: /earth/russia/moscow

PostPosted: Tue Sep 17, 2024 11:33 am    Post subject: Plasma 6 vs claws-mail tray icon Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9172

PostPosted: Tue Sep 17, 2024 11:44 am    Post subject: Reply with quote

plasma-workspace:6 contains xembedsniproxy.
Back to top
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 299
Location: /earth/russia/moscow

PostPosted: Tue Sep 17, 2024 12:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9172

PostPosted: Tue Sep 17, 2024 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 299
Location: /earth/russia/moscow

PostPosted: Tue Sep 17, 2024 2:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9172

PostPosted: Tue Sep 17, 2024 3:35 pm    Post subject: Reply with quote

Please check if installing dev-libs/libayatana-appindicator makes a difference for your Plasma Wayland session.
Back to top
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 299
Location: /earth/russia/moscow

PostPosted: Tue Sep 17, 2024 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 299
Location: /earth/russia/moscow

PostPosted: Wed Sep 18, 2024 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 56
Location: United States

PostPosted: Thu Sep 19, 2024 9:11 am    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9172

PostPosted: Thu Sep 19, 2024 9:17 am    Post subject: Reply with quote

Are you both using kde-plasma/plasma-meta with USE=gtk enabled?
Back to top
View user's profile Send private message
cz0
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 299
Location: /earth/russia/moscow

PostPosted: Thu Sep 19, 2024 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9172

PostPosted: Thu Sep 19, 2024 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum