A few questions regarding ordering of the tray icons already have been asked (see here for example). This usually works great, electron apps behave somehow differently. When running an electron app (e.g. whatsie, gitter or Franz) the command
dbus-send --type=method_call --print-reply --dest=com.canonical.indicator.application /com/canonical/indicator/application/service com.canonical.indicator.application.service.GetApplications | grep "object path"
object path /org/ayatana/NotificationItem/D9C91CA1_0092_45B8_9F09_108CB12987B3/Menu"
for the running electron app. The number
D9C91CA1_0092_45B8_9F09_108CB12987B3 changes every time the app starts. Is there some structure behind that number which I can use to change
ordering-override.keyfile before the app starts? (Dropbox has a similar problem, but there are ways to fix this)