[GH-ISSUE #358] Tray icons only show text #4349

Closed
opened 2026-05-23 00:52:46 +01:00 by JakeStanger · 14 comments
Owner

Originally created by @chmanie on GitHub (Nov 13, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/358

Originally assigned to: @chmanie on GitHub.

Describe the bug
With a minimal config, I'm not getting any icons for the tray. This works in waybar.

To Reproduce
Steps to reproduce the behavior:
Open ironbar with the minimal config down below (probably not easily reproducible?) Please let me know what I can do to provide any more info about this.

I can provide the log though:

Log
2023-11-13T23:48:13.942934Z  INFO ironbar: 92: Ironbar version 0.13.0
2023-11-13T23:48:13.942954Z  INFO ironbar: 93: Starting application

(ironbar:361259): Gtk-WARNING **: 00:48:13.964: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
2023-11-13T23:48:13.985151Z  INFO ironbar::ipc::server: 43: Starting IPC on /run/user/1000/ironbar-ipc.sock
2023-11-13T23:48:13.985243Z  INFO ironbar: 231: Creating bar on 'eDP-1'
2023-11-13T23:48:13.985694Z  INFO ironbar::bar: 33: Creating bar bar-9
2023-11-13T23:48:13.987418Z  INFO system_tray::notifier_watcher: 34: Starting notifier watcher
2023-11-13T23:48:13.988694Z  INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 61: StatusNotifierHost registered: 'org.freedesktop.StatusNotifierHost-361259-ironbar-11'
2023-11-13T23:48:13.989725Z  INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.6/org/ayatana/NotificationItem/nm_applet'
2023-11-13T23:48:13.989822Z  INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.12/org/ayatana/NotificationItem/udiskie'
2023-11-13T23:48:13.990108Z  INFO system_tray::notifier_watcher: 170: Got 2 notifier items
2023-11-13T23:48:13.990441Z  INFO ironbar: 231: Creating bar on 'DP-2'
2023-11-13T23:48:13.990574Z  INFO ironbar::bar: 33: Creating bar bar-12
2023-11-13T23:48:13.991888Z  INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.6
2023-11-13T23:48:13.992310Z  INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.12

Expected behavior
There should be tray icons

System information:

  • Distro: NixOS
  • Compositor: Hyprland
  • Ironbar version: 0.13.0

Configuration

Config
position = "top"

[[start]]
type = "tray"

Styles

Screenshots

image

Originally created by @chmanie on GitHub (Nov 13, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/358 Originally assigned to: @chmanie on GitHub. **Describe the bug** With a minimal config, I'm not getting any icons for the tray. This works in waybar. **To Reproduce** Steps to reproduce the behavior: Open ironbar with the minimal config down below (probably not easily reproducible?) Please let me know what I can do to provide any more info about this. I can provide the log though: <details><summary>Log</summary> ``` 2023-11-13T23:48:13.942934Z INFO ironbar: 92: Ironbar version 0.13.0 2023-11-13T23:48:13.942954Z INFO ironbar: 93: Starting application (ironbar:361259): Gtk-WARNING **: 00:48:13.964: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class 2023-11-13T23:48:13.985151Z INFO ironbar::ipc::server: 43: Starting IPC on /run/user/1000/ironbar-ipc.sock 2023-11-13T23:48:13.985243Z INFO ironbar: 231: Creating bar on 'eDP-1' 2023-11-13T23:48:13.985694Z INFO ironbar::bar: 33: Creating bar bar-9 2023-11-13T23:48:13.987418Z INFO system_tray::notifier_watcher: 34: Starting notifier watcher 2023-11-13T23:48:13.988694Z INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 61: StatusNotifierHost registered: 'org.freedesktop.StatusNotifierHost-361259-ironbar-11' 2023-11-13T23:48:13.989725Z INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.6/org/ayatana/NotificationItem/nm_applet' 2023-11-13T23:48:13.989822Z INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.12/org/ayatana/NotificationItem/udiskie' 2023-11-13T23:48:13.990108Z INFO system_tray::notifier_watcher: 170: Got 2 notifier items 2023-11-13T23:48:13.990441Z INFO ironbar: 231: Creating bar on 'DP-2' 2023-11-13T23:48:13.990574Z INFO ironbar::bar: 33: Creating bar bar-12 2023-11-13T23:48:13.991888Z INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.6 2023-11-13T23:48:13.992310Z INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.12 ``` </details> **Expected behavior** There should be tray icons **System information:** - Distro: NixOS - Compositor: Hyprland - Ironbar version: 0.13.0 **Configuration** <details><summary>Config</summary> ``` position = "top" [[start]] type = "tray" ``` </details> <details><summary>Styles</summary> ```css ``` </details> **Screenshots** ![image](https://github.com/JakeStanger/ironbar/assets/2174084/67c0cd37-4f87-4e43-a0eb-e2774d024aa2)
JakeStanger 2026-05-23 00:52:46 +01:00
  • closed this issue
  • added the
    T:Bug
    label
Author
Owner

@yavko commented on GitHub (Nov 14, 2023):

Describe the bug
With a minimal config, I'm not getting any icons for the tray. This works in waybar.

To Reproduce
Steps to reproduce the behavior:
Open ironbar with the minimal config down below (probably not easily reproducible?) Please let me know what I can do to provide any more info about this.

I can provide the log though:

Log
2023-11-13T23:48:13.942934Z  INFO ironbar: 92: Ironbar version 0.13.0
2023-11-13T23:48:13.942954Z  INFO ironbar: 93: Starting application

(ironbar:361259): Gtk-WARNING **: 00:48:13.964: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
2023-11-13T23:48:13.985151Z  INFO ironbar::ipc::server: 43: Starting IPC on /run/user/1000/ironbar-ipc.sock
2023-11-13T23:48:13.985243Z  INFO ironbar: 231: Creating bar on 'eDP-1'
2023-11-13T23:48:13.985694Z  INFO ironbar::bar: 33: Creating bar bar-9
2023-11-13T23:48:13.987418Z  INFO system_tray::notifier_watcher: 34: Starting notifier watcher
2023-11-13T23:48:13.988694Z  INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 61: StatusNotifierHost registered: 'org.freedesktop.StatusNotifierHost-361259-ironbar-11'
2023-11-13T23:48:13.989725Z  INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.6/org/ayatana/NotificationItem/nm_applet'
2023-11-13T23:48:13.989822Z  INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.12/org/ayatana/NotificationItem/udiskie'
2023-11-13T23:48:13.990108Z  INFO system_tray::notifier_watcher: 170: Got 2 notifier items
2023-11-13T23:48:13.990441Z  INFO ironbar: 231: Creating bar on 'DP-2'
2023-11-13T23:48:13.990574Z  INFO ironbar::bar: 33: Creating bar bar-12
2023-11-13T23:48:13.991888Z  INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.6
2023-11-13T23:48:13.992310Z  INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.12

Expected behavior
There should be tray icons

System information:

  • Distro: NixOS
  • Compositor: Hyprland
  • Ironbar version: 0.13.0

Configuration

Config
position = "top"

[[start]]
type = "tray"

Styles

Screenshots

image

Looks like a NixOS problem, have you set you icon theme properly?

<!-- gh-comment-id:1809364397 --> @yavko commented on GitHub (Nov 14, 2023): > **Describe the bug** > With a minimal config, I'm not getting any icons for the tray. This works in waybar. > > **To Reproduce** > Steps to reproduce the behavior: > Open ironbar with the minimal config down below (probably not easily reproducible?) Please let me know what I can do to provide any more info about this. > > I can provide the log though: > > <details><summary>Log</summary> > > ``` > 2023-11-13T23:48:13.942934Z INFO ironbar: 92: Ironbar version 0.13.0 > 2023-11-13T23:48:13.942954Z INFO ironbar: 93: Starting application > > (ironbar:361259): Gtk-WARNING **: 00:48:13.964: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class > 2023-11-13T23:48:13.985151Z INFO ironbar::ipc::server: 43: Starting IPC on /run/user/1000/ironbar-ipc.sock > 2023-11-13T23:48:13.985243Z INFO ironbar: 231: Creating bar on 'eDP-1' > 2023-11-13T23:48:13.985694Z INFO ironbar::bar: 33: Creating bar bar-9 > 2023-11-13T23:48:13.987418Z INFO system_tray::notifier_watcher: 34: Starting notifier watcher > 2023-11-13T23:48:13.988694Z INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.945"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierHost"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 61: StatusNotifierHost registered: 'org.freedesktop.StatusNotifierHost-361259-ironbar-11' > 2023-11-13T23:48:13.989725Z INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.6"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.6/org/ayatana/NotificationItem/nm_applet' > 2023-11-13T23:48:13.989822Z INFO dispatch_message{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}:dispatch_method_call_try{msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.12"))), path: ObjectPath("/StatusNotifierWatcher"), iface: InterfaceName(Str(Borrowed("org.kde.StatusNotifierWatcher"))), member: MemberName(Str(Borrowed("RegisterStatusNotifierItem"))), body: Signature("s") }}: system_tray::dbus::notifier_watcher_service: 86: StatusNotifierItem registered: ':1.12/org/ayatana/NotificationItem/udiskie' > 2023-11-13T23:48:13.990108Z INFO system_tray::notifier_watcher: 170: Got 2 notifier items > 2023-11-13T23:48:13.990441Z INFO ironbar: 231: Creating bar on 'DP-2' > 2023-11-13T23:48:13.990574Z INFO ironbar::bar: 33: Creating bar bar-12 > 2023-11-13T23:48:13.991888Z INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.6 > 2023-11-13T23:48:13.992310Z INFO system_tray::notifier_watcher: 284: StatusNotifierItem updated, dbus-address=:1.12 > ``` > </details> > > **Expected behavior** > There should be tray icons > > **System information:** > - Distro: NixOS > - Compositor: Hyprland > - Ironbar version: 0.13.0 > > **Configuration** > > <details><summary>Config</summary> > > ``` > position = "top" > > [[start]] > type = "tray" > > ``` > </details> > > > <details><summary>Styles</summary> > > ```css > > ``` > </details> > > **Screenshots** > > ![image](https://github.com/JakeStanger/ironbar/assets/2174084/67c0cd37-4f87-4e43-a0eb-e2774d024aa2) > > Looks like a NixOS problem, have you set you icon theme properly?
Author
Owner

@chmanie commented on GitHub (Nov 14, 2023):

I have set an icon theme and it is being picked up by other tools (like waybar). Where would ironbar look for it, maybe the path is a different one?

<!-- gh-comment-id:1809774241 --> @chmanie commented on GitHub (Nov 14, 2023): I have set an icon theme and it is being picked up by other tools (like waybar). Where would ironbar look for it, maybe the path is a different one?
Author
Owner

@chmanie commented on GitHub (Nov 14, 2023):

Ok, I think it's a problem on my end. Closing this. I might report what and where icons need to go :)

<!-- gh-comment-id:1810427775 --> @chmanie commented on GitHub (Nov 14, 2023): Ok, I think it's a problem on my end. Closing this. I might report what and where icons need to go :)
Author
Owner

@chmanie commented on GitHub (Nov 14, 2023):

Actually, I have to reopen this. It might have something to do with librsvg but I'm not sure exactly. I fixed this on my end and I have icons in all bars now. Except for ironbar.

Here's what I found: I compiled the gtk-tray example and that works beautifully:

image

As ironbar depends on it, there's something weird going on, but I can't yet tell where exactly.

I also tried to build ironbar from scratch again (current master) but the result is the same as above

<!-- gh-comment-id:1811525739 --> @chmanie commented on GitHub (Nov 14, 2023): Actually, I have to reopen this. It might have _something_ to do with `librsvg` but I'm not sure exactly. I fixed this on my end and I have icons in all bars now. Except for ironbar. Here's what I found: I compiled the [gtk-tray example](https://github.com/JakeStanger/stray/tree/main/gtk-tray) and that works beautifully: ![image](https://github.com/JakeStanger/ironbar/assets/2174084/630f0637-d549-4201-b784-2d5be1674526) As ironbar depends on it, there's something weird going on, but I can't yet tell where exactly. I also tried to build ironbar from scratch again (current master) but the result is the same as above
Author
Owner

@ICE-GB commented on GitHub (Dec 1, 2023):

Me too, using NixOS, any progress?

<!-- gh-comment-id:1835401385 --> @ICE-GB commented on GitHub (Dec 1, 2023): Me too, using NixOS, any progress?
Author
Owner

@chmanie commented on GitHub (Dec 1, 2023):

Me too, using NixOS, any progress?

You can see the progress by looking at the linked PR. Sadly I have been quite busy these days, maybe I can give it another go this weekend.

<!-- gh-comment-id:1836479126 --> @chmanie commented on GitHub (Dec 1, 2023): > Me too, using NixOS, any progress? You can see the progress by looking at the linked PR. Sadly I have been quite busy these days, maybe I can give it another go this weekend.
Author
Owner

@daktras420 commented on GitHub (Dec 2, 2023):

Thank you that would be awsome. I noticed rust has a libnotify crate that
you could look at implementing hopefully the info and stuff i am doing
helps you and others. I may not be t be a programmer but i can trouble
shoot and therize therize possible solutions. Thanks for all your doing.

On Fri, Dec 1, 2023, 9:10 AM Christian Maniewski @.***>
wrote:

Me too, using NixOS, any progress?

You can see the progress by looking at the linked PR. Sadly I have been
quite busy these days, maybe I can give it another go this weekend.


Reply to this email directly, view it on GitHub
https://github.com/JakeStanger/ironbar/issues/358#issuecomment-1836479126,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOSDAZPOVREOJBIQQT2QJGLYHIFQTAVCNFSM6AAAAAA7J56OB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZWGQ3TSMJSGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

<!-- gh-comment-id:1836966406 --> @daktras420 commented on GitHub (Dec 2, 2023): Thank you that would be awsome. I noticed rust has a libnotify crate that you could look at implementing hopefully the info and stuff i am doing helps you and others. I may not be t be a programmer but i can trouble shoot and therize therize possible solutions. Thanks for all your doing. On Fri, Dec 1, 2023, 9:10 AM Christian Maniewski ***@***.***> wrote: > Me too, using NixOS, any progress? > > You can see the progress by looking at the linked PR. Sadly I have been > quite busy these days, maybe I can give it another go this weekend. > > — > Reply to this email directly, view it on GitHub > <https://github.com/JakeStanger/ironbar/issues/358#issuecomment-1836479126>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AOSDAZPOVREOJBIQQT2QJGLYHIFQTAVCNFSM6AAAAAA7J56OB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZWGQ3TSMJSGY> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@calops commented on GitHub (Feb 12, 2024):

I'm afraid this bug is still happening on the current master. Specifically for udiskie and nm-applet.

Also on NixOS with Hyprland.

<!-- gh-comment-id:1939812855 --> @calops commented on GitHub (Feb 12, 2024): I'm afraid this bug is still happening on the current `master`. Specifically for `udiskie` and `nm-applet`. Also on NixOS with Hyprland.
Author
Owner

@yavko commented on GitHub (Feb 13, 2024):

I'm afraid this bug is still happening on the current master. Specifically for udiskie and nm-applet.

Also on NixOS with Hyprland.

Have you defined an icon theme in home-manager?

<!-- gh-comment-id:1940204199 --> @yavko commented on GitHub (Feb 13, 2024): > I'm afraid this bug is still happening on the current `master`. Specifically for `udiskie` and `nm-applet`. > > Also on NixOS with Hyprland. Have you defined an icon theme in home-manager?
Author
Owner

@calops commented on GitHub (Feb 13, 2024):

Have you defined an icon theme in home-manager?

I have:

    gtk = {
      enable = true;
      iconTheme = {
        name = "Papirus";
        package = pkgs.papirus-icon-theme;
      };
    };

Is there another/better way to define it? It's working in other gtk programs.

<!-- gh-comment-id:1940732325 --> @calops commented on GitHub (Feb 13, 2024): > Have you defined an icon theme in home-manager? I have: ```nix gtk = { enable = true; iconTheme = { name = "Papirus"; package = pkgs.papirus-icon-theme; }; }; ``` Is there another/better way to define it? It's working in other gtk programs.
Author
Owner

@yavko commented on GitHub (Feb 13, 2024):

Have you defined an icon theme in home-manager?

I have:

    gtk = {
      enable = true;
      iconTheme = {
        name = "Papirus";
        package = pkgs.papirus-icon-theme;
      };
    };

Is there another/better way to define it? It's working in other gtk programs.

I thought I fixed this bug by wrapping with gtk wrapper, but ig that didn't fix it. Maybe try looking at the ironbar flake?

<!-- gh-comment-id:1942265776 --> @yavko commented on GitHub (Feb 13, 2024): > > Have you defined an icon theme in home-manager? > > I have: > > ```nix > gtk = { > enable = true; > iconTheme = { > name = "Papirus"; > package = pkgs.papirus-icon-theme; > }; > }; > ``` > > Is there another/better way to define it? It's working in other gtk programs. I thought I fixed this bug by wrapping with gtk wrapper, but ig that didn't fix it. Maybe try looking at the ironbar flake?
Author
Owner

@chmanie commented on GitHub (Feb 13, 2024):

So what I can say is that when starting ironbar in a nix-shell (or nix develop) it somehow doesn't have access to the system icon theme. Don't ask me why but I'm seeing the same. When installing it globally using the flake it does work for me though.

<!-- gh-comment-id:1942795516 --> @chmanie commented on GitHub (Feb 13, 2024): So what I can say is that when starting ironbar in a nix-shell (or `nix develop`) it somehow doesn't have access to the system icon theme. Don't ask me why but I'm seeing the same. When installing it globally using the flake it does work for me though.
Author
Owner

@yavko commented on GitHub (Feb 13, 2024):

So what I can say is that when starting ironbar in a nix-shell (or nix develop) it somehow doesn't have access to the system icon theme. Don't ask me why but I'm seeing the same. When installing it globally using the flake it does work for me though.

The gtk wrapper should still be working in those scenarios, right?

<!-- gh-comment-id:1942852742 --> @yavko commented on GitHub (Feb 13, 2024): > So what I can say is that when starting ironbar in a nix-shell (or `nix develop`) it somehow doesn't have access to the system icon theme. Don't ask me why but I'm seeing the same. When installing it globally using the flake it does work for me though. The gtk wrapper should still be working in those scenarios, right?
Author
Owner

@calops commented on GitHub (Feb 18, 2024):

I can't seem to find a single way to run ironbar with these icons working.

I've tried:

  • The official nixpkgs (unstable) package
  • nix run the flake in this repo
  • cargo run directly in the repo, both in debug and release mode
  • installing the flake globally in my home-manager config

Is there anything else I can try?

<!-- gh-comment-id:1950678572 --> @calops commented on GitHub (Feb 18, 2024): I can't seem to find a single way to run ironbar with these icons working. I've tried: - The official nixpkgs (unstable) package - `nix run` the flake in this repo - `cargo run` directly in the repo, both in debug and release mode - installing the flake globally in my home-manager config Is there anything else I can try?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#4349
No description provided.