xpra icon
Bug tracker and wiki

Opened 5 years ago

Last modified 5 months ago

#472 assigned enhancement

use the ubuntu launcher API to populate the correct icon

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: improbable
Component: platforms Version:
Keywords: ubuntu unity Cc:

Description (last modified by Antoine Martin)

With unity, the icon shown in the "dock" area is not the one we specify for the tray icon, but it should probably be.


  • this is an Ubuntu / Unity thing only (and they've caused us enough pain already)
  • the Python Launcher API is gtk3 only... (gobject introspection) so we would need some simple ctypes wrappers (or Cython, whatever is easiest)
  • the icons we have are probably too low-res to look good in the dock (that's not insurmountable)

See also: #508 and #228

Change History (6)

comment:1 Changed 5 years ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 4 years ago by Antoine Martin

Milestone: 1.00.15
Priority: minormajor
Last edited 4 years ago by Antoine Martin (previous) (diff)

comment:3 Changed 3 years ago by Antoine Martin

Milestone: 0.150.16

Too late, re-scheduling.

comment:4 Changed 3 years ago by Antoine Martin

Milestone: 0.160.17

I thought it should be relatively easy to query these menus via dbus, there is an "appmenu registrar" service after all and the interface looks sane, but querying it the path always comes up as "/".
Instead, it looks like we need to look for _UNITY_OBJECT_PATH,

And whilst we're dealing with this, it might make sense to forward appindicators: How does one find out which application is associated with an indicator icon?.

Not for this release.

comment:8 Changed 9 months ago by Antoine Martin

Hopefully Ubuntu will completely drop Unity and its APIs then we can focus on just one (gnome's): #476.

comment:9 Changed 5 months ago by Antoine Martin

Milestone: 0.17improbable
Note: See TracTickets for help on using tickets.