VirtualBox

Opened 11 years ago

Closed 7 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, 11 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, 7 years ago

(This issue is applicable to VirtualBox 5.1 as well as the version mentioned above)

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 for the machine manager, VirtualBoxVM for VMs and so-on.

Thanks!

Last edited 7 years ago by Will B (previous) (diff)

comment:4 by Michael Thayer, 7 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, 7 years ago

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette