No edit summary |
mNo edit summary |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Inventory | {{Inventory | ||
| | |Name=Slab | ||
| | |Owner=Talloak | ||
| | |Status=Infrastructure | ||
| | |Hostname=slab.nurdspace.lan | ||
| | |Location=Expedits | ||
| | |Picture=Slab.jpg | ||
|Tool=No | |||
|Map_x=80 | |||
|Map_y=53 | |||
}} | }} | ||
== Retired == | |||
== | This used to be our MPD server in Space 2. We now have [[SlabPi]]. | ||
== Summary == | == Summary == | ||
* Ubuntu 14.04 | |||
* Default user ''slabbetje'', with our known password | |||
* Fujitsu Siemens Amilo Pi 2515 mainboard | * Fujitsu Siemens Amilo Pi 2515 mainboard | ||
* 2Gb RAM | * 2Gb RAM | ||
* Hand-patched power button on micro-fine wires | * Hand-patched power button on micro-fine wires | ||
=== Pong === | == Touchscreen == | ||
Putting this in /etc/X11/xorg.conf.d/99-calibration.conf used to work: | |||
<pre> | |||
Section "InputClass" | |||
Identifier "calibration" | |||
MatchProduct "eGalax Inc. USB TouchController" | |||
Option "Calibration" "1890 223 1835 263" | |||
EndSection | |||
</pre> | |||
== Stuff running == | |||
=== Lightdm greeter autologin === | |||
Slab will do autologin as user slabbetje. It uses the session chosen at the last manual login. Possible sessions are defined in /usr/share/xsessions. See below for possibilities. The trick to change the default is: | |||
* move the active .desktop file away | |||
* restart lightdm | |||
* go to slab and change the session on the touchscreen | |||
* log in on the touchscreen | |||
* world domination | |||
The last chosen session will be default from now on. | |||
==== Pong ==== | |||
A mini pong game built in python and blessings. | A mini pong game built in python and blessings. | ||
Will attempt to display time, but throws an error every now and then due to rounding and then cycles around resetting itself. | Will attempt to display time, but throws an error every now and then due to rounding and then cycles around resetting itself. In xterm something is really borken ;). Needs some love... See /usr/share/xsessions/pong.desktop | ||
==== Lights application ==== | |||
Chromium is autostarted in kiosk mode with a web interface for the space lights. | |||
==== Gmpc ==== | |||
Mpd client for controlling the music. See /usr/share/xsessions/gmpc.desktop | |||
==== Ubuntu / Unity ==== | |||
Default Ubuntu Unity stuff. See /usr/share/xsessions/ubuntu.desktop | |||
=== MPD === | === MPD === | ||
This board runs | This board runs MPD and is connected to the [[Nexia_PM|Nexia PM]] which in turn is hooked up to the [[Altec_Lansing_9444A|amplifier]] and [[Tannoy_P30_Cherry_speakers|speakers]]. | ||
== Festival == | === Festival === | ||
=== Starting === | ==== Starting ==== | ||
In order to allow the !speak function of [[Nurdbot]] (which lives on [[tankstation]]) to connect to this machine, festival can be started in server mode as user slabbetje: | In order to allow the !speak function of [[Nurdbot]] (which lives on [[tankstation]]) to connect to this machine, festival can be started in server mode as user ''slabbetje'': | ||
<br><code>./start_festival.sh &</code><BR><BR> | <br><code>./start_festival.sh &</code><BR><BR> | ||
It should start after a reboot using slabbetje's crontab: | It should start after a reboot using ''slabbetje'''s crontab: | ||
=== Access control === | <br><code>@reboot /home/slabbetje/start_festival.sh &</code><BR><BR> | ||
==== Access control ==== | |||
Basic ACL is managed in /etc/festival.scm. | Basic ACL is managed in /etc/festival.scm. | ||
== | === Sound on next button click === | ||
The next button lying around in the space will trigger a sound. For this a script [[User:Zarya|Zarya]] made is started with this line in ''slabbetje''s crontab: | |||
<br><code>@reboot /home/slabbetje/next_button.py &</code> | |||
== | === Doorbell === | ||
Analog to next button, line in crontab: | |||
<br><code>@reboot /home/slabbetje/ | <br><code>@reboot /home/slabbetje/doorbell.py &</code> | ||
== | == Volume == | ||
Volume of mpd can be set independently of system volume (using NURDbot or mpd client). Volume of festival, doorbell and next button sound is the same as system volume and can be set using alsamixer. At the moment system volume is 100%. | |||
Latest revision as of 21:27, 28 January 2018
Slab | ||
---|---|---|
Owner | Talloak | |
Status | Infrastructure | |
Hostname | slab.nurdspace.lan | |
Location | Expedits | |
| ||
Tool | No | |
Tool category |
Slab.jpg {{{InventoryOwner}}}Property "Tool Owner" (as page type) with input value "{{{InventoryOwner}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Expedits
Retired
This used to be our MPD server in Space 2. We now have SlabPi.
Summary
- Ubuntu 14.04
- Default user slabbetje, with our known password
- Fujitsu Siemens Amilo Pi 2515 mainboard
- 2Gb RAM
- Hand-patched power button on micro-fine wires
Touchscreen
Putting this in /etc/X11/xorg.conf.d/99-calibration.conf used to work:
Section "InputClass" Identifier "calibration" MatchProduct "eGalax Inc. USB TouchController" Option "Calibration" "1890 223 1835 263" EndSection
Stuff running
Lightdm greeter autologin
Slab will do autologin as user slabbetje. It uses the session chosen at the last manual login. Possible sessions are defined in /usr/share/xsessions. See below for possibilities. The trick to change the default is:
- move the active .desktop file away
- restart lightdm
- go to slab and change the session on the touchscreen
- log in on the touchscreen
- world domination
The last chosen session will be default from now on.
Pong
A mini pong game built in python and blessings. Will attempt to display time, but throws an error every now and then due to rounding and then cycles around resetting itself. In xterm something is really borken ;). Needs some love... See /usr/share/xsessions/pong.desktop
Lights application
Chromium is autostarted in kiosk mode with a web interface for the space lights.
Gmpc
Mpd client for controlling the music. See /usr/share/xsessions/gmpc.desktop
Ubuntu / Unity
Default Ubuntu Unity stuff. See /usr/share/xsessions/ubuntu.desktop
MPD
This board runs MPD and is connected to the Nexia PM which in turn is hooked up to the amplifier and speakers.
Festival
Starting
In order to allow the !speak function of Nurdbot (which lives on tankstation) to connect to this machine, festival can be started in server mode as user slabbetje:
./start_festival.sh &
It should start after a reboot using slabbetje's crontab:
@reboot /home/slabbetje/start_festival.sh &
Access control
Basic ACL is managed in /etc/festival.scm.
Sound on next button click
The next button lying around in the space will trigger a sound. For this a script Zarya made is started with this line in slabbetjes crontab:
@reboot /home/slabbetje/next_button.py &
Doorbell
Analog to next button, line in crontab:
@reboot /home/slabbetje/doorbell.py &
Volume
Volume of mpd can be set independently of system volume (using NURDbot or mpd client). Volume of festival, doorbell and next button sound is the same as system volume and can be set using alsamixer. At the moment system volume is 100%.