Indicio

From Technologia Incognita
Revision as of 16:24, 28 September 2013 by Narya (talk | contribs) (small note)
Jump to: navigation, search


Indicio
Hostname Indicio
IPv4 10.0.20.3
Function MPD Server
Location Below the mixer
Contact

Indicio supports a few space features:

  • MPD
  • XMBC
  • Printer server for the label printer and the laser printer

Inidicio is also permanently connected to the projector

Wiimote control for inidicio

Indicio can be controlled by wiimote, wciid runs in the background to connect it to uinput for X. At the moment all input from the wiimote is used for X controls.

  • wiimote controls the mouse by using it's IR camera, the leds on the wall need to be turned on for this to work.
  • turn the wiimote on by pressing the buttons 1 & 2 at the same time and wait untill the leds stop blinking
  • turn the wiimote off by pressing the powerbutton on the wiimote for a few seconds

Gnome MPC mappings

  • + = next song
  • - = previous song
  • home = play/pause
  • 1 = volume up
  • 2 = volume down

Beamer

Here folows a quick walktrough of using the beamer trough the indicio server

Start the beamer

There is a small switch on the beamer on the side of the kitchen, if you turn it the buttons should turn orange. Press the on button. Make sure the beamer is on RGB 1.

Setup the Xserver

You should be able to ssh in to the server. Use yout favorite editor to make a ~/.xinitrc file containing your favorite window manager, in this case awesome:

  1. ~/xinitrc
  2. -----------------------
  3. #!/bin/sh
  4. exec awesome

Now you should be able to start the x server by typing

$ xinit

If you want to start it in the background so you can continue using ssh use:

$ screen -dmS xserver xinit

You should see X starting on the beamer.

VNC

First install a vnc client on you own laptop, can't help you here.

than, while X is running, run the command x11vnc on the server, this will start a vnc server on the current X session. You should now me enable to connect to 10.0.20.3:0 with you vnc client.

!! x11vnc will only aloow one connect, you have to restart it if you close your viewer.

Stoping it

On the server run

$ pkill X

Than go to the beamer and pres the on/off button, do not switch it off yet! let it cool down for 5/10 minutes before switching it off with the switch on the side.

MPD

Update MPD database

mpc update