Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[Solved] Waybar's tray isn't working

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
chinh4thepro
n00b
n00b
User avatar
Posts: 13
Joined: Mon Oct 17, 2022 2:51 am

[Solved] Waybar's tray isn't working

  • Quote

Post by chinh4thepro » Fri Oct 28, 2022 1:49 pm

I'm currently trying to configure waybar, but can't figure out how to get the tray working. Every time I launch waybar I get:

Code: Select all

[warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity
I have tried exporting the XDG desktop session to Unity but that did nothing. Could someone help me figure it out? Thanks!
Last edited by chinh4thepro on Fri Jan 06, 2023 4:38 am, edited 1 time in total.
Top
s0ulslack1
n00b
n00b
Posts: 31
Joined: Sun Mar 06, 2022 4:29 am

  • Quote

Post by s0ulslack1 » Fri Oct 28, 2022 1:59 pm

So echo $XDG_CURRENT_DESKTOP returns correctly and dev-libs/libappindicator are installed? Ignore the warning and minimize something
Top
chinh4thepro
n00b
n00b
User avatar
Posts: 13
Joined: Mon Oct 17, 2022 2:51 am

  • Quote

Post by chinh4thepro » Fri Oct 28, 2022 2:26 pm

Yes it is outputting correctly, and libappindicator is installed.
Top
grknight
Retired Dev
Retired Dev
Posts: 2557
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Fri Oct 28, 2022 2:32 pm

I know nothing about waybar, but reviewing the code shows that a warning is always output (without checking anything) for the tray in the code.

https://github.com/Alexays/Waybar/blob/ ... ay.cpp#L13

Beyond that, I will be of no help
Top
s0ulslack1
n00b
n00b
Posts: 31
Joined: Sun Mar 06, 2022 4:29 am

  • Quote

Post by s0ulslack1 » Fri Oct 28, 2022 3:31 pm

https://stackoverflow.com/questions/591 ... bmenu-icon
Does this basic lil script throw an icon in the tray area? You need some specifics here, like what you've tried etc
Top
chinh4thepro
n00b
n00b
User avatar
Posts: 13
Joined: Mon Oct 17, 2022 2:51 am

  • Quote

Post by chinh4thepro » Fri Oct 28, 2022 4:39 pm

Yes, it does, but any other application like discord or nm-applet doesn't appear.
Top
spica
Guru
Guru
Posts: 382
Joined: Fri Jun 04, 2021 6:12 pm

  • Quote

Post by spica » Fri Oct 28, 2022 11:20 pm

chinh4thepro wrote:nm-applet doesn't appear.
Try to emerge nm-applet with appindicator USE flag and then run with additional parameter:

Code: Select all

nm-applet --indicator
Top
chinh4thepro
n00b
n00b
User avatar
Posts: 13
Joined: Mon Oct 17, 2022 2:51 am

  • Quote

Post by chinh4thepro » Fri Oct 28, 2022 11:29 pm

That did not work, nm-applet doesn't show up in my tray area.
Top
chinh4thepro
n00b
n00b
User avatar
Posts: 13
Joined: Mon Oct 17, 2022 2:51 am

  • Quote

Post by chinh4thepro » Thu Jan 05, 2023 2:14 pm

Sorry for the bump but the tray works on Arch, but not on Gentoo. It shows nm-applet and steam's tray icons, but not discord's.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic