--- a/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py +++ b/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py @@ -364,7 +364,16 @@ class Equalizer: self.window.connect("destroy", self.destroy_equalizer) self.window.set_title(windowtitle + " [" + realstatus + "]") self.window.set_border_width(0) - icon = self.window.set_icon_from_file("/usr/share/icons/hicolor/scalable/apps/multimedia-volume-control.svg") + + icon_theme = Gtk.icon_theme_get_default() + if icon_theme.has_icon("multimedia-volume-control"): + self.window.set_icon_name("multimedia-volume-control") + elif icon_theme.has_icon("gnome-volume-control"): + self.window.set_icon_name("gnome-volume-control") + elif icon_theme.has_icon("stock_volume"): + self.window.set_icon_name("stock_volume") + else: + print("No icon found, the window will be iconless") menu = Gtk.Menu()