前几周,家里的Ubuntu下面的VirtualBox升级到SUN收购后的第一个升级版本v1.6,当时就看到宣传页面上已经写了“Seamless Windows...”,也没注意,升级之后,也没发现设置或单独的菜单涉及这方面。
今天突然调出VirtualBox的帮助来看,随便查了Seamless,发现居然已经实现了!
4.6. Seamless windows
With the "seamless windows" feature of VirtualBox, you can have
the windows that are displayed within a virtual machine appear
side by side next to the windows of your host. This feature is
supported for the following guest operating systems (provided
that the Guest Additions are installed):
- Windows guests (support added with VirtualBox 1.5);
- Linux or Solaris/OpenSolaris guests with an X.org server
version 1.3 or higher[8] (support added with VirtualBox 1.6).
After seamless windows are enabled (see below), VirtualBox suppresses
the display of the Desktop background of your guest, allowing you to
run the windows of your guest operating system seamlessly next to the
windows of your host:
...
To enable seamless mode, after starting the virtual machine, press
the Host key (normally the right control key) together with "L".
This will enlarge the size of the VM's display to the size of your
host screen and mask out the guest operating system's background.
To go back to the "normal" VM display (i.e. to disable seamless
windows), press the Host key and "L" again.
我实验了一下,太疯狂了,哈哈!
虚拟机启动完毕,按快捷键HOST+L之后,你就可以在Ubuntu的Gnome桌面上使用虚拟机里的XP系统,窗口无缝地在Gnome桌面上操作。好玩的是任务栏,当你的当前程序是VirtualBox的时候,XP的任务栏遮盖了Ubuntu的Gnome任务栏,但是当你点击Gnome桌面的时候,就出现了Gnome任务栏。
虚拟机仍然按照原来的共享方式访问主机的资源——这一点不够Seamless。
再来一张:我在Ubuntu下面跑基于.net的Live Writer,嘿嘿!