Electronic whiteboard for Linux (ubuntu)

On August 9, 2009, in electronic, linux, ubuntu, whiteboard, by Dipin Krishna

How to convert our computer screen on to a digital electronic whiteboard, under Linux, could not be simpler. Only need a knob for Wii (Nintendo Console), an infrared emitter (such as a remote control), and the software for it (see the “Linux electronic whiteboard“).

Download list: Here is the list of available packages and versions for download

InstallingFromDebPackage

Normal INSTALL:

open a terminal: Applications > Accessories > Terminal and type:

$ sudo apt-get install libbluetooth3 libc6 libcairomm-1.0-1 libcwiid1 libgcc1 libglademm-2.4-1c2a libglib2.0-0 libglibmm-2.4-1c2a libgtk2.0-0 libgtkmm-2.4-1c2a libsigc++-2.0-0c2a libstdc++6 libx11-6 libxtst6

$ sudo dpkg -i whiteboard_x.x.x.x.-xxxxxxxxxxxx.deb

Replace x.x.x.x.-xxxxxxxxxxxx with the version you downloaded.

$ dpkg -l whiteboard

Alternately:

  • System > Administration > Synaptic Package Manager
  • install these packages: libbluetooth3 libc6 libcairomm-1.0-1 libcwiid1 libgcc1 libglademm-2.4-1c2a libglib2.0-0 libglibmm-2.4-1c2a libgtk2.0-0 libgtkmm-2.4-1c2a libsigc++-2.0-0c2a libstdc++6 libx11-6 libxtst6
  • in Nautilus, right-click on whiteboard_x.x.x.x.-xxxxxxxxxxxx.deb and open with GDebi Package Installer. Replace x.x.x.x.-xxxxxxxxxxxx with the version you downloaded.

HowToUseWhiteboard

Startup

  • Applications > Accessories > Wiimote Whiteboard
  • minimize or close instruction window to reveal Whiteboard application window

or

  • open a terminal: Applications > Accessories > Terminal
  • type “whiteboard &
  • minimize or close instruction window to reveal Whiteboard application window

Connect

  • click “Connect” button
  • follow instructions on screen

Calibrate

  • click “Calibrate” button
  • follow instructions on screen

If you are having trouble calibrating, adjust the position of the wii relative to your screen. The black square with the yellow dot shows where the wii thinks the IR device is relative to its viewing area. If you are still having troubles, try adjusting the right-click delay by click on “Select” to reveal the right-click delay dialog.

Activate

  • click “Activate” button

You can now use the wii as a whiteboard.

Deactivate

  • click “Deactivate” button

Disconnect

  • click “Disconnect” button

If the whiteboard application window is closed, you can right-click on the wii icon in the system tray.

BuildingWhiteboard

Instructions for building WHITEBOARD from CPP branch

To check out the CPP branch of Linux Whiteboard -which the dependencies below mostly apply to- issue the following command:

svn checkout http://linux-whiteboard.googlecode.com/svn/branches/cpp/ linux-whiteboard-read-only

To build whiteboard, you’ll need the usual toolchain (gcc, g++ and make – these are available in the build-essential package) and the following libraries. The names of the libraries are taken from Ubuntu’s database. If you’re using a different Linux distro, please change them according to yours:

  • libtool
  • libcwiid1-dev
  • libgtkmm-2.4-dev
  • libglademm-2.4-dev
  • libxtst-dev
  • libcairomm-1.0-dev
  • libsigc++-2.0-dev
  • libgnome2-dev
  • intltool
  • libbluetooth-dev

If you have checked out whiteboard from our SVN repository, you probably need those too:

  • autoconf
  • automake

Having gotten those installed, navigate to the program’s root directory and issue the following commands:

./autogen.sh
make
sudo make install

For Ubuntu Gutsy Gibbon users, you need to add CXXFLAGS=”-DCOMPATIBILITY_GUTSY” to autogen.sh like this:

./autogen.sh CXXFLAGS="-DCOMPATIBILITY_GUTSY"

To install to a different directory, so that you don’t need root permission when installing, add –prefix=

like this:

./autogen --prefix=~/whiteboard

After ‘make install’, whiteboard will be installed to the directory ‘whiteboard’ in your home directory.


To build a Debian/Ubuntu package (for Ubuntu Hardy Heron only, one needs to modify the ‘debian’ directory to account for version differences in other distros):

  • Install fakeroot if you haven’t got it already.
  • Issue these commands:
  • ./autogen.sh
    dpkg
    -buildpackage -us -uc -b -rfakeroot

BuildingWhiteboardMainTrunk

Instructions for building WHITEBOARD from Main Trunk
Building Whiteboard

First, check out the sources:

svn checkout http://linux-whiteboard.googlecode.com/svn/trunk/ whiteboard

The new build system is scons-based. Simply issue these commands:

scons PREFIX=/usr DESTDIR=/
scons install

See this video:

[youtube=http://www.youtube.com/watch?v=f9F2kYmq5eU&hl=en&fs=1&]

 

Leave a Reply

*

Search