VirtualBox Ventrilo Controller

This application is used on Linux to send a keystroke from whatever your doing (playing WoW, typing a document, doing something outside of your VM, etc) to VirtualBox. Assuming your running Ventrilo inside your VM where there are no problems like there is when running Ventrilo in Wine, You can set Ventrilo to listen to LEFT_SHIFT (by default) and then set your preference of keystroke to listen to on the host system and then you can use vent while you do anything on your system. Quite convenient and easy to use.

Browse

browser:trunk/VBoxVentriloControl

Release

Checkout

svn co http://kevinfitzgerald.net/svn/trunk/VBoxVentriloControl/

Installation

  • Build the application by opening a terminal, and changing into the directory you have the extracted files in
  • Type make to build the application
  • Edit the configuration file config.sh (nano config.sh) or (gedit config.sh)
  • Change the values to your configuration
    • VBoxUsername = your username, or the username running your virtual machine
    • VBoxMachineName = the name of your virtual machine, as identified by VirtualBox (you can find this when you open the VirtualBox interface)
    • PressKeyScanCodes = the keyboard scan code to send to the virtual machine when you press-to-talk (default: 2a - LEFT_SHIFT)
    • ReleaseKeyScanCodes = the keyboard scan code to send to the virtual machine when you release your ptt key (default: aa - RELEASE of left-shift)
    • EventDevice = the DEVICE file your keyboard is. You can find this out by reviewing the output of the command cat /proc/bus/input/devices | less (q to quit) and look for an entry with a name like N: Name="AT Translated Set 2 keyboard" or something to that effect, which describes your keyboard. Then look for the Handlers line of that entry, and set the value of EventDevide to /dev/input/input#
    • InputKeyCode = the key code to listen for when you want to transmit in Ventrilo. use the included findkey application to find what code a key is.
    • RunUserCheck = Check on run if the running user might not have access to read the device (default: true)
    • RunAutoSudo = Specifies whether to automatically run with 'sudo' privileges if the input device cannot be opened as the current user
    • ConfigFinished = A "trick" configuration value that you need to explicitly set to prove to me that you finished reviewing the configuration. Sorry! ;)
  • Type ./run.sh to run the control application. Test that it works by hitting your key you want to transmit with and then you'll see a Transmitting... message. If you're running vent, you should hear the 'blip' sound it makes when you transmit.