Last modified 6 years ago Last modified on 2013-08-09 06:13:45

Installation of Kobra

This is based on Ubuntu 12.04 32-bit. We hoped to run 64-bit, but there are issues with calibration of the Phantom Desktop haptic device with the manufactureres 64 bit drivers.


  • If you boot the Ubuntu live cd and you just get a blinking cursor in the corner: boot the cd and hit F6 and select "nomodeset" (then ESC and install)
  • If when you have installed Ubuntu you get modern art all over the screen, it is probably because Ubuntu thought the open source nvidia drivers called Nouveau was a good idea for you. If you prefer a working os to modern art do: In grub, chose the so called "fail-safe" boot option. Then chose "start normal". This is weird, but normal here means normal fail-safe, so you will get into a sort of normal boot but with actual graphics. Now run all the software updates, reboot into the same normal failsafe mode, and now you can activate the proprietary Nvidia drivers in Systems Settings->Additional Drivers.

News: if you do not see proprietary drivers in additional drivers, this works:

sudo apt-get install nvidia-current
sudo -i

and paste following

echo 'Section "Screen"
        Identifier      "Default Screen"
        DefaultDepth    24

Section "Module"
        Load    "glx"

Section "Device"
        Identifier      "Default Device"
        Driver  "nvidia"
        Option  "NoLogo"        "True"
' > /etc/X11/xorg.conf

Magic script to install Kobra. To be completed

echo ""
echo "Welcome to Forsslund Systems magic install script"
echo "for Ubuntu 12.04 32 bit"
echo ""
echo "Make sure you have:"
echo "1. Installed Ubuntu 12.04 32 bit"
echo "2. Activated nvidia graphics drivers (System settings->Additional Drivers)"
echo "3. Have in this folder"
echo ""
echo "THEN, press any key to continue or ctrl-c to abort"
read asdf
echo "Here we go..."

sudo apt-get update
sudo apt-get upgrade
sudo reboot
sudo apt-get install subversion
svn co
svn co
cd forssim-0.3.0/dep/
mv ../../ .
chmod +x
./ -j5
cd ..
cd util/desktop
cd ..
sudo cp xorg.conf /etc/X11/xorg.conf
cd pedal
cd ..
cd ..
cd build
cmake .
make -j5
sudo make install
sudo ldconfig
cd ..
cd ..
cd wisdomlauncher
make -j5
sudo ln -s /home/kobra/wisdomlauncher/wisdomlauncher.desktop /usr/share/applications/
ln -s /home/kobra/wisdomlauncher/wisdomlauncher.desktop /home/kobra/Desktop/
echo ""
echo "DONE! Reboot and double click on wisdomlauncher on your desktop."

For fluxbox:

sudo apt-get install fluxbox

In ubuntu, chose logout, then click on the icon by your login name and chose Fluxbox. It will remember your choice next time. Start a terminal (right-click!) and do

cp ~/wisdomlauncher/startup ~/.fluxbox/

Click one time on the power to initate reboot.

If you want to have fancy H3DViewer (for development). Add this to /etc/apt/sources.list

deb precise universe
apt-key adv --fetch-keys
apt-get update
apt-get install libwxbase2.9-0-unofficial libwxbase2.9-dev libwxgtk2.9-0-unofficial libwxgtk2.9-dev wx2.9-headers wx-common libwxbase2.9-dbg libwxgtk2.9-dbg wx2.9-i18n wx2.9-examples wx2.9-doc