Closed rauldipeas closed 3 years ago
I think it's possible fixed with -panel
suffix:
https://github.com/falkTX/Cadence/blob/master/src/systray.py#L100
@falkTX can You implement this?
@rauldipeas it's already implemented. All libappindicator-apps used for tray icon -panel
suffix. Try make symlink cadence-panel
to any monochrome icon for test.
@rauldipeas it's already implemented. All libappindicator-apps used for tray icon
-panel
suffix. Try make symlinkcadence-panel
to any monochrome icon for test.
I made symlinks on all panel
folders, don't work.
clear icon cache and try env DESKTOP_SESSION=ubuntu cadence
Same results... :/
need run with AppIndicator
engine... maybe need set another environment options
I'm using classic systray on XFCE.
i'm add tray icons for experiments... try another env options: https://github.com/falkTX/Cadence/blob/master/src/systray.py#L32-L38
Another solution - added fallback icon (with fix icon size) for Qt engine:
# Get Icon from user theme, using our own as backup (Oxygen)
def getIcon(icon, size=22):
return QIcon.fromTheme("cadence-panel", icon, QIcon(":/%ix%i/%s.png" % (size, size, icon)))
Another solution - added fallback icon (with fix icon size) for Qt engine:
# Get Icon from user theme, using our own as backup (Oxygen) def getIcon(icon, size=22): return QIcon.fromTheme("cadence-panel", icon, QIcon(":/%ix%i/%s.png" % (size, size, icon)))
I'm sorry, i don't know how to do this...
I'm sorry, i don't know how to do this...
i'm already write this: Find this on systray.py:
# Get Icon from user theme, using our own as backup (Oxygen)
def getIcon(icon, size=16):
return QIcon.fromTheme(icon, QIcon(":/%ix%i/%s.png" % (size, size, icon)))
and replace:
# Get Icon from user theme, using our own as backup (Oxygen)
def getIcon(icon, size=22):
return QIcon.fromTheme("cadence-panel", icon, QIcon(":/%ix%i/%s.png" % (size, size, icon)))
I had to do like this to work...
# Get Icon from user theme, using our own as backup (Oxygen)
def getIcon(icon, size=24):
return QIcon.fromTheme("cadence-panel", QIcon(":/%ix%i/%s.png" % (size, size, icon)))
ok... it's not hardcode-tray issue. We not change app icons for launchers
How could I fix this?