Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9ebd33adc3
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 80 lines (53 sloc) 2.778 kb

About

This is a bash script to integrate Virtualbox to the Unity launcher. A 'friendly' fork of http://code.google.com/p/virtualbox-unity-launcher/, made available for your further forking and hacking pleasure here on GitHub (and thus in version control).

Original Credit

Thanks to Daniel Scholtus for starting this.

Installation

Tested under Ubuntu 12.04 and with VirtualBox 4.1.

  1. Create the folders needed (just in case they are not present):

    mkdir -p ~/.local/{bin,share/applications}
    
  2. Download this script and make it executable:

    cd ~/.local/bin
    wget https://github.com/davidjb/virtualbox-unity-launcher/raw/master/virtualbox-unity.sh
    chmod u+x virtualbox-unity.sh
    
  3. Run it - this will create the Launcher item:

    ~/local/bin/virtualbox-unity.sh
    
  4. Unlock VirtualBox from the Launcher and close any VirtualBox instance running (so its Launcher item disappears).

  5. Start VirtualBox and right-click its Launcher item - you will see your shiny saved sessions list.

  6. Click Lock to Launcher in this context menu to keep VirtualBox in your Launcher. See below about how to update the listing.

Updating

If you already have followed the instructions above, then the easiest way to update your Launcher item is to re-run the virtualbox-unity.sh script.

If you re-run the script whilst VirtualBox is still running, the Launcher item will update immediately. If VirtualBox is not running, the Laucnher item will disappear (but be available correctly once you start VirtualBox again). In either case, you will need to 're-lock' your Launcher item using the instructions above.

License

Copyright (c) 2012 David Beitey (and Daniel Scholtus)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.