I accidentally hide the main Toolbar from my VirtualBox Manager UI? In my ubuntu 12.04 .
Can anyone let me know the detail steps to display the Toolbar again? I search the whole blogs but can't figure it out!
To re-enable the Toolbar right-click on the bottom line, then select and tick the Show Toolbar entry on the pop-up menu:
Do not disable both, the toolbar, and the statusbar.
When running Unity desktop the only way to restore them is to manually edit the VirtualBox.xml
file located in ~/.config/VirtualBox
or ~/.VirtualBox
.
Search for the following lines
<ExtraDataItem name="GUI/Statusbar" value="false"/>
<ExtraDataItem name="GUI/Toolbar" value="false"/>
to replace "false"
with "true"
.
Please make a backup of this file before you edit it, as all informations on your VMs are stored there as well. No instance of Virtual Box or VirtualBoxManager must run on editing this file because it will be overwritten otherwise.
I understand your frustration. It's very user unfriendly that you can remove the toolbar by right clicking it, and are seemingly supposed to right-click it again to view it, which isn't possible because it's invisible. :)
You can right-click the status bar and show the toolbar from there. If you've chosen to hide both the statusbar and the toolbar, then it's kinda difficult in Ubuntu, using Unity and Global Menus. If you're using som other desktop than Unity or you're using Unity and have deactivated Global Menus, then you can right-click the menubar to get the same options as you get on the toolbar and statusbar.
If you want to fix it manually, then you can open ~/.VirtualBox/VirtualBox.xml
in GEdit or something. Then locate VirtualBox/Global/Extradata
and add <ExtraDataItem name="GUI/Toolbar" value="true" />
. That should work, although you might possibly have to restart VirtualBox.
In Windows (and hopefully in Ubuntu, too) you can open the menu using your host key + Home key. From there you can access the "view" option to activate the menu/status bar again.
In VirtualBox 5.1 (running on Windows, it's probably the same on Ubuntu) I found that you can get this back by clicking Settings (in the main VirtualBox Manager window) for the relevant machine, and select User Interface in the left pane list. There you have check boxes for toggling the visibility of these bars. (Note that you can also toggle which specific items should be shown in menus and the status bar.)
Try Ctrl/Host + C it actually works, It's temporary but it works, it will show you the menu bar .
Tested on UBUNTU GNOME (17.04) host and Win7 guest:
HOST+Home-button
works perfectly, since it pops up a menu from which you can reset/configure the view of Menu and Status bars.
You can also check a config for certain workstation located in [machine_name].vbox
file in your machine directory. This file seems to override global VB config.
There are following two flags
<ExtraDataItem name="GUI/MenuBar/Enabled" value="false"/>
<ExtraDataItem name="GUI/StatusBar/Enabled" value="false"/>