Difference between revisions of "Church of Security at SIANA INT"
From Tmplab
(→Network setup) |
|||
| (26 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
Ubuntu | Ubuntu | ||
| − | * 157.159.16.190 cos1 | + | * 157.159.16.190 cos1 (serveur pulseaudio, slideshow images) |
| − | * 157.159.16.121 cos3 | + | * 157.159.16.135 cos2 (vp gauche, messe, username: cos and cos2==WARNING) |
| − | * 157.159.16.111 cos4 | + | * 157.159.16.121 cos3 (dans /root : bluetooth scanner+synthese vocale TTF, economiseur d'ecran enleve) |
| − | * 157.159.16.197 cos5 | + | * 157.159.16.111 cos4 (webcam droite) |
| + | * 157.159.16.197 cos5 (economiseur d'ecran enleve, webcam gauche) | ||
| + | * 157.159.16.153 cos6 (vp droite, videos, use eth0) | ||
| − | = | + | = Graphical = |
| + | == Screensaver == | ||
Pour laisser les écrans allumés : | Pour laisser les écrans allumés : | ||
| − | xset dpms | + | xset s off |
| + | xset -dpms | ||
| + | Suggestions community: | ||
| + | |||
| + | sudo killall gnome-screensaver | ||
| + | gconftool-2 --type boolean -s /apps/gnome_settings_daemon/screensaver/start_screensaver false | ||
| + | sudo chmod -x /usr/bin/gnome-screensaver | ||
| + | |||
| + | == Autostart of commands for Gnome/X == | ||
Gnome autostart: | Gnome autostart: | ||
http://ubuntuforums.org/showthread.php?t=308568 | http://ubuntuforums.org/showthread.php?t=308568 | ||
| Line 23: | Line 34: | ||
puis hcitool dev : le device doit apparaitre dans la liste | puis hcitool dev : le device doit apparaitre dans la liste | ||
| − | = Pulseaudio = | + | = Sound = |
| + | |||
| + | == Pulseaudio == | ||
* http://en.wikibooks.org/wiki/Configuring_Sound_on_Linux/Pulse_Audio/Remote_server#Client | * http://en.wikibooks.org/wiki/Configuring_Sound_on_Linux/Pulse_Audio/Remote_server#Client | ||
| + | === Client === | ||
| + | export PULSE_SERVER=157.159.16.190 | ||
| + | |||
| + | == Synthèse vocale == | ||
| + | |||
| + | * http://doc.ubuntu-fr.org/synthese_vocale | ||
| + | marche pas trop mal en francais avec : | ||
| + | espeak -x -v mb/mb-fr4 "le message" > texte.pho; mbrola -v .005 /opt/fr2/fr2 texte.pho /tmp/a.wav ; mplayer /tmp/a.wav | ||
| + | |||
| + | |||
| + | pour cos3 : | ||
| + | espeak -x -v mb/mb-fr1 "Bienvenue exclave de la securiter" > texte.pho; mbrola -v .5 /opt/fr1/fr1 texte.pho -.au | paplay | ||
Latest revision as of 18:53, 27 March 2009
Contents
Network setup
Ubuntu
- 157.159.16.190 cos1 (serveur pulseaudio, slideshow images)
- 157.159.16.135 cos2 (vp gauche, messe, username: cos and cos2==WARNING)
- 157.159.16.121 cos3 (dans /root : bluetooth scanner+synthese vocale TTF, economiseur d'ecran enleve)
- 157.159.16.111 cos4 (webcam droite)
- 157.159.16.197 cos5 (economiseur d'ecran enleve, webcam gauche)
- 157.159.16.153 cos6 (vp droite, videos, use eth0)
Graphical
Screensaver
Pour laisser les écrans allumés :
xset s off xset -dpms
Suggestions community:
sudo killall gnome-screensaver gconftool-2 --type boolean -s /apps/gnome_settings_daemon/screensaver/start_screensaver false sudo chmod -x /usr/bin/gnome-screensaver
Autostart of commands for Gnome/X
Gnome autostart: http://ubuntuforums.org/showthread.php?t=308568
Bluetooth
Pour ajouter un dongle Bluetooth : hciconfig hci0 up
puis hcitool dev : le device doit apparaitre dans la liste
Sound
Pulseaudio
Client
export PULSE_SERVER=157.159.16.190
Synthèse vocale
marche pas trop mal en francais avec : espeak -x -v mb/mb-fr4 "le message" > texte.pho; mbrola -v .005 /opt/fr2/fr2 texte.pho /tmp/a.wav ; mplayer /tmp/a.wav
pour cos3 :
espeak -x -v mb/mb-fr1 "Bienvenue exclave de la securiter" > texte.pho; mbrola -v .5 /opt/fr1/fr1 texte.pho -.au | paplay
