VirtualBox

Opened 10 years ago

Closed 6 years ago

#12534 closed defect (fixed)

Set identifyable WM_CLASS to virtual machine windows => should be fixed, 21.11.17, 5.2 and later

Reported by: antitoxic Owned by:
Component: GUI Version: VirtualBox 4.3.6
Keywords: Cc:
Guest type: all Host type: Linux

Description

As far as I read WM_CLASS is used by modern linux desktops to identify and group windows.

That is useful in navigation. WM_CLASS helps with minimisation, grouping, setting icon per virtual machine.

Things that aid productivity and comfort.

VirtualBox however only sets 2 window classes to all of its windows:

WM_CLASS(STRING) = "Qt-subapplication", "VirtualBox"

That doesn't help with identifying different virutal machines.

Is it possible to add the name of the virtual machine as a WM_Class?

Change History (5)

comment:1 by Frank Mehnert, 10 years ago

Component: otherGUI

comment:2 by ttosttos, 9 years ago

Would really love a command line option to be implemented (a la "--wm-class <WM_CLASS>")

comment:3 by Will B, 6 years ago

There are several *nix window managers that need different name and class strings for WM_CLASS to identify multiple application windows, as explained above.

For example, my window manager, JWM, cannot discern between the VM Manager and a VM because the WM_CLASS name and class are both VirtualBox. I want to hide the title bar and borders for my VMs, but I'm also forced to hide these elements for the VM Manager because there's no way for the window manager to discern between the two windows.

It would be nice if the WM_CLASS name was VirtualBox and class was VirtualBoxManager or something similar.

Thanks!

Version 0, edited 6 years ago by Will B (next)

comment:4 by Michael Thayer, 6 years ago

Summary: Set identifyable WM_CLASS to virtual machine windowsSet identifyable WM_CLASS to virtual machine windows => should be fixed, 21.11.17, 5.2 and later

comment:5 by Michael Thayer, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use