Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Waybar tray in Hyprland does not work as expected.
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
smgpie
n00b
n00b


Joined: 15 Apr 2024
Posts: 2

PostPosted: Mon Apr 15, 2024 6:58 am    Post subject: Waybar tray in Hyprland does not work as expected. Reply with quote

As said in the title, I'm using sddm and Hyprland, with waybar as the status bar.

In my Hyprland config, I have

Code:
exec-once = waybar
...
// exec other apps that show a tray icon


However, while waybar starts at launch, the tray icons (actually the whole tray module) do not show up.

Then if I do

Code:
pkill waybar
hyprctl dispatch exec waybar


Then the tray icons show up.

But usually, some apps that already launched still don't show.(like nm-applet), I will have to do the above restart of those apps for their tray icons to show up.

When I was using Arch Linux, I used exactly the same config and everything works as expected.

libappindicator is installed with gtk3 use flag.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31256
Location: here

PostPosted: Mon Apr 15, 2024 7:26 am    Post subject: Reply with quote

If you use OpenRC did you run Hyprland with the dbus-run-session Hyprland command?
See https://wiki.gentoo.org/wiki/Hyprland#Executing_Hyprland
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
smgpie
n00b
n00b


Joined: 15 Apr 2024
Posts: 2

PostPosted: Mon Apr 15, 2024 8:25 am    Post subject: Reply with quote

fedeliallalinea wrote:
If you use OpenRC did you run Hyprland with the dbus-run-session Hyprland command?
See https://wiki.gentoo.org/wiki/Hyprland#Executing_Hyprland


Well this indeed works when I invoke that from a tty. But since I am using sddm, how to configure sddm to use that command as well?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31256
Location: here

PostPosted: Mon Apr 15, 2024 8:34 am    Post subject: Reply with quote

smgpie wrote:
Well this indeed works when I invoke that from a tty. But since I am using sddm, how to configure sddm to use that command as well?

See this post.
_________________
Questions are guaranteed in life; Answers aren't.
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