Disable dock preview icon

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
pavera
Posts: 2
Joined: 18. Sep 2012, 17:52

Disable dock preview icon

Post by pavera »

On OS X Mountain Lion, I can't seem to find a way to disable the dock preview icon. This results in very high CPU usage with just a couple VMs running.

I see the option to change the icon by right clicking and selecting dock icon -> Show Application Icon, however it does not toggle, the Monitor Preview stays checked, and the monitor preview remains the dock icon. Furthermore, this seems a pretty bad solution, as every VM boot I have to go change the icon. It would be really nice if there was a default I could set somewhere in virtual box itself to always disable the preview icon... Maybe that exists and I just can't find it?

Thanks for any pointers.
pavera
Posts: 2
Joined: 18. Sep 2012, 17:52

Re: Disable dock preview icon

Post by pavera »

Sorry to reply to self, it seems that its an edge case with running VMs in full screen mode... If I exit full screen mode, then I can turn off the monitor preview mode, and then it appears to stay set for that VM which is good... even after changing back to full screen mode and through reboots/power off/power on...

Still a bit of an issue that the toggle doesn't appear to work in full screen mode.
PhilKMills
Posts: 4
Joined: 12. Jun 2012, 14:39

Re: Disable dock preview icon

Post by PhilKMills »

I'm seeing this problem with VirtualBox 4.2.6 on OS X 10.8.2. To further complicate things, right clicking on the VM's icon in the dock and attempting to change the "Dock Icon" setting to the application icon fails to have any visual effect and also fails to reduce Dock process CPU usage. This is **not only** using fullscreen mode but also when running in a normal window.

Is there any alternate access to this setting?
agodfrin
Posts: 37
Joined: 4. Jul 2012, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: WinXP, Linux,Win7
Location: Nice, France

Re: Disable dock preview icon

Post by agodfrin »

The issue still exists in 4.3.4. The workaround of turning off full-screen, disabling dock preview, then re-enabling full screen still works though.

Note that the issue only exists on Linux guest VMs. I also run Windows XP guests, and for those disabling the dock preview works fine, even when the VM is in full screen.
osxman1000
Posts: 1
Joined: 3. Sep 2014, 16:36

Re: Disable dock preview icon

Post by osxman1000 »

If you change it quick to 'Application Icon' during startup of the VM it will work. In the dock select: 'Dock Icon' -> 'Show Application Icon'.
It saves +/- 15-20% of my CPU usage on a MBP.
jrv
Posts: 32
Joined: 16. Sep 2007, 19:53
Location: Austin, TX
Contact:

Re: Disable dock preview icon

Post by jrv »

Yet another way to accomplish this from the command line is

Code: Select all

$ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage setextradata  VM_NAME GUI/RealtimeDockIconUpdateEnabled false
Change VM_NAME as required.
Post Reply