Ticket #17312 (closed defect: fixed)

Opened 4 months ago

Last modified 2 months ago

Broken WM_CLASS for X11 hosts -> fixed in 5.2.4

Reported by: dvalter Owned by:
Priority: trivial Component: host support
Version: VirtualBox 5.2.0 Keywords: X11, WM_CLASS
Cc: Guest type: all
Host type: Linux


After upgrading VirtualBox to VirtualBox-5.2-5.2.2_119230_fedora26-1.x86_64 (Fedora 26, KDE5, X11) I've found that windows are not related to .desktop file anymore. This breaks custom icons, pinning to taskbars, docks and so on. It can be easily fixed with adding

StartupWMClass=VirtualBox Manager

to the end of [Desktop Entry] section in virtualbox.desktop file

Change History

comment:1 Changed 4 months ago by socratis

This was a change implemented in 5.2.2 and it addressed issue #12534.

comment:2 Changed 3 months ago by D3M


unfortunately this broke my setup. Now I have for every single VM an icon in the left favorite bar of my gnome-shell. This leads the fav bar to be useless due the more icons appear, the icons gettin more and more tiny. There is no grouping of the icons under the icon of Vbox-Manager(I have a vbox-manage icon added to the fav list) Another point is that I cannot get the fav bar visible when I move the mouse to the upper left corner when a vm is in front(selected). I have to choose another window(like terminal) in front to have the usual behavior again. This is really annoying.

OS: Ubuntu 14.04 64 bit (up to date) gnome-shell: 3.10.4 vbox: 5.2.2 r119230 (Qt5.6.1)

kind regards


comment:3 Changed 3 months ago by michael

Please try 5.2.4.

comment:4 Changed 2 months ago by michael

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from Broken WM_CLASS for X11 hosts to Broken WM_CLASS for X11 hosts -> fixed in 5.2.4
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use