Revisión 531
Añadido por Alfonso Pastor hace alrededor de 10 años
tareas_puppet/portatiles/wheezy/port_wheezy_dconf/manifests/init.pp | ||
---|---|---|
class port_wheezy_dconf {
|
||
|
||
file {"/etc/dconf/kk":
|
||
ensure => absent, force => true
|
||
}
|
||
|
||
file {"/etc/dconf/db":
|
||
ensure => directory, recurse => true,
|
||
source => "puppet:///port_wheezy_dconf/db",
|
||
}
|
||
|
||
file {"/etc/dconf/profile":
|
||
ensure => directory, recurse => true,
|
||
source => "puppet:///port_wheezy_dconf/profile",
|
||
require => File ["/etc/dconf/db"],
|
||
notify => Exec["actualizar-dconf"]
|
||
}
|
||
|
||
exec {"actualizar-dconf":
|
||
command => "/bin/rm -f /etc/dconf/db/local; /usr/bin/dconf update",
|
||
subscribe => File["/etc/dconf/db"],
|
||
refreshonly => true
|
||
}
|
||
|
||
}
|
tareas_puppet/portatiles/wheezy/port_wheezy_dconf/files/profile/user | ||
---|---|---|
user-db:user
|
||
system-db:local
|
tareas_puppet/portatiles/wheezy/port_wheezy_dconf/files/db/local.d/locks/00_configuracionies_locks | ||
---|---|---|
/org/gnome/desktop/screensaver/idle-activation-enabled
|
||
/org/gnome/desktop/screensaver/lock-enabled
|
||
/org/gnome/desktop/lockdown/disable-lock-screen
|
||
/org/gnome/gnome-session/logout-prompt
|
||
#/org/gnome/desktop/background/picture-uri
|
tareas_puppet/portatiles/wheezy/port_wheezy_dconf/files/db/local.d/00_configuracionies | ||
---|---|---|
[org/gnome/desktop/screensaver]
|
||
idle-activation-enabled=false
|
||
lock-enabled=false
|
||
|
||
[org/gnome/desktop/lockdown]
|
||
disable-lock-screen=true
|
||
|
||
[org/gnome/gnome-session]
|
||
logout-prompt=false
|
||
|
||
#[org/gnome/desktop/background]
|
||
#picture-uri='file:///ruta-archivo'
|
tareas_puppet/portatiles/wheezy/port_wheezy_dconf/leeme.txt | ||
---|---|---|
|
||
BREVE DESCRIPCION DE LA EJECUCION DEL MODULO
|
||
--------------------------------------------
|
||
|
||
Tarea para bloquear determinadas opciones del escritorio Gnome3 de los portátiles de alumnos.
|
||
|
||
Se bloquea:
|
||
|
||
[org/gnome/desktop/screensaver] -> impide que salte el salvapantallas
|
||
idle-activation-enabled=false
|
||
lock-enabled=false
|
||
|
||
[org/gnome/desktop/lockdown]
|
||
disable-lock-screen=true -> impide que se pueda bloquear la pantalla
|
||
|
||
[org/gnome/gnome-session] -> no pregunta nada al cerrar sesión.
|
||
logout-prompt=false
|
||
|
||
Se pueden añadir mas bloqueos en función de las necesidades de cada cual, editando los ficheros
|
||
guardados en files.
|
||
|
||
INSTRUCCIONES DE INSTALACION DEL MODULO
|
||
---------------------------------------
|
||
|
||
Desempaquetar en /etc/puppet/modules
|
||
|
||
Poner include "..." en la clase especifica correspondiente a los portatiles Wheezy donde
|
||
vayamos a aplicarla
|
||
|
||
|
||
Alfonso Pastor
|
||
IES Virgen de Guadalupe
|
||
Noviembre 2014
|
||
|
tareas_puppet/portatiles/wheezy/port_wheezy_instala_wifi/manifests/init.pp | ||
---|---|---|
define port_wheezy_instala_wifi {
|
||
|
||
file {"/etc/NetworkManager/system-connections/$name":
|
||
owner=>root, group=>root, mode=>600,
|
||
source=>"puppet:///port_wheezy_instala_wifi/$name",
|
||
}
|
||
|
||
}
|
||
|
tareas_puppet/portatiles/wheezy/port_wheezy_instala_wifi/files/A02-WIFI | ||
---|---|---|
[connection]
|
||
id=A02-WIFI
|
||
uuid=4f493240-6422-49bc-826f-9e868340442e
|
||
type=802-11-wireless
|
||
timestamp=1412674404
|
||
|
||
[802-11-wireless]
|
||
ssid=A02-WIFI
|
||
mode=infrastructure
|
||
security=802-11-wireless-security
|
||
|
||
[802-11-wireless-security]
|
||
key-mgmt=wpa-psk
|
||
psk=7Xu12I8Cd9
|
||
|
||
[ipv4]
|
||
method=auto
|
||
|
||
[ipv6]
|
||
method=auto
|
||
ip6-privacy=2
|
tareas_puppet/portatiles/wheezy/port_wheezy_instala_wifi/leeme.txt | ||
---|---|---|
BREVE DESCRIPCION DE LA EJECUCION DEL MODULO
|
||
--------------------------------------------
|
||
|
||
Instala una conexión del sistema en el NetworkManager para acceder a una wifi determinada.
|
||
|
||
|
||
INSTRUCCIONES DE INSTALACION DEL MODULO
|
||
---------------------------------------
|
||
|
||
Desempaquetar en /etc/puppet/modules.
|
||
|
||
En la clase especifica de los portatiles a aplicar añadir:
|
||
|
||
instala_wifi {"nombre-fichero en files":
|
||
}
|
||
|
||
Ejemplo:
|
||
|
||
instala_wifi {"A02-WIFI":
|
||
}
|
||
|
||
Habiendo añadido previamente el fichero A02-WIFI con los parámetros de la conexión
|
||
(extraidos de un ordenador donde se ha definido la conexión a mano) en la carpeta
|
||
files de la tarea.
|
||
|
||
El fichero A02-WIFI se conseguiría configurando la conexión a mano en un portátil,
|
||
haciéndola del sistema ("compartida para todos los usuarios"), probando que funciona
|
||
y recogiendola de la ruta:
|
||
|
||
/etc/NetworkManager/system-connections/<fichero>
|
||
|
||
Puede haber en files tantos ficheros de configuración de wifis como se desee.
|
||
|
||
Para aplicarla sobre determinados portátiles, dentro de la clase específica de los mismos se pone
|
||
un case filtrando por $hostame, según este ejemplo:
|
||
|
||
case $hostname {
|
||
/^a02-p.*$/ : { #Portatiles aula 02
|
||
instala_wifi { "A02-WIFI": }
|
||
}
|
||
/^a04-p.*$/ : { #Portatiles aula 04
|
||
instala_wifi { "A03-WIFI": }
|
||
}
|
||
"arodrigo01", "psanchez04", "mrubio12":
|
||
{ #Portatiles desdoble
|
||
instala_wifi { "A05-WIFI": }
|
||
}
|
||
default: {
|
||
instala_wifi { "GENERAL-WIFI": }
|
||
}
|
||
}
|
||
|
||
|
||
Para borrar la conexión WIFI de un portatil simplemente hay que borrar el fichero que la define con la
|
||
regla:
|
||
|
||
file { "/etc/NetworkManager/system-connections/A02-WIFI": ensure => absent }
|
||
|
||
|
||
------------------------------------------------
|
||
|
||
28-Febrero-2012.
|
||
Alfonso Pastor.
|
||
tareas_puppet/portatiles/wheezy/port_wheezy_wifi/files/replace.pp | ||
---|---|---|
# common/manifests/defines/replace.pp -- replace a pattern in a file with a string
|
||
# Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
|
||
# See LICENSE for the full license granted to you.
|
||
|
||
# A hack to replace all ocurrances of a regular expression in a file with a
|
||
# specified string. Sometimes it can be less effort to replace only a single
|
||
# value in a huge config file instead of creating a template out of it. Still,
|
||
# creating a template is often better than this hack.
|
||
#
|
||
# This define uses perl regular expressions.
|
||
#
|
||
# Use this only for very trivial stuff. Usually replacing the whole file is a
|
||
# more stable solution with less maintenance headaches afterwards.
|
||
#
|
||
# Usage:
|
||
#
|
||
# replace { description:
|
||
# file => "filename",
|
||
# pattern => "regexp",
|
||
# replacement => "replacement"
|
||
#
|
||
# Example:
|
||
# To replace the current port in /etc/munin/munin-node.conf
|
||
# with a new port, but only disturbing the file when needed:
|
||
#
|
||
# replace {
|
||
# set_munin_node_port:
|
||
# file => "/etc/munin/munin-node.conf",
|
||
# pattern => "^port (?!$port)[0-9]*",
|
||
# replacement => "port $port"
|
||
# }
|
||
define replace($file, $pattern, $replacement) {
|
||
$pattern_no_slashes = regsubst($pattern, '/', '\/', 'G', 'U')
|
||
$replacement_no_slashes = regsubst($replacement, '/', '\/', 'G', 'U')
|
||
|
||
exec { "replace_${pattern}_${file}":
|
||
command => "/usr/bin/perl -pi -e 's/${pattern_no_slashes}/${replacement_no_slashes}/g' '${file}'",
|
||
onlyif => "/usr/bin/perl -ne 'BEGIN { \$ret = 1; } \$ret = 0 if /${pattern_no_slashes}/ && ! /\\Q${replacement_no_slashes}\\E/; END { exit \$ret; }' '${file}'",
|
||
alias => "exec_$name",
|
||
}
|
||
}
|
tareas_puppet/portatiles/wheezy/port_wheezy_wifi/files/10-org.freedesktop.NetworkManager.pkla-obsoleto-no-usar | ||
---|---|---|
[Adding or changing system-wide NetworkManager connections]
|
||
Identity=unix-user:*
|
||
Action=org.freedesktop.NetworkManager.settings.modify.system
|
||
ResultAny=no
|
||
ResultInactive=no
|
||
ResultActive=no
|
tareas_puppet/portatiles/wheezy/port_wheezy_wifi/leeme.txt | ||
---|---|---|
|
||
BREVE DESCRIPCION DE LA EJECUCION DEL MODULO
|
||
--------------------------------------------
|
||
Dado que la imágen wheezy de los portátiles viene configurada de tal forma que
|
||
se pueden ver y editar las conexiones de red del sistema, se cambian las políticas
|
||
de edición para que los usuarios no puedan visualizar las contraseñas de conexiones wifi.
|
||
Además se borran la contraseña del depósito de claves .gnome2/keyring/* para que los usuarios
|
||
puedan conectarse a las redes propias y les recuerde la clave.
|
||
Se utiliza el "define" replace.pp, si no está hay que colocarlo en /etc/puppet/defines/
|
||
|
||
|
||
Se aplica a equipos
|
||
--------------------------------
|
||
Portátiles de alumno con imágen wheezy
|
||
Ficheros de la tarea (dentro del directorio servidor:/etc/puppet/modules/nombre-tarea/):
|
||
----------------------------------------------------------------------------------------
|
||
files/
|
||
replace.pp el define debe estar colocado en /etc/puppet/defines/
|
||
leeme.txt
|
||
manifests/ -> init.pp: la tarea propiamente dicha
|
||
|
||
|
||
|
||
|
||
INSTRUCCIONES DE INSTALACION DEL MODULO
|
||
---------------------------------------
|
||
|
||
Desempaquetar en /etc/puppet/modules
|
||
|
||
|
||
Para instalar la tarea:
|
||
Poner cada fichero en su sitio.
|
||
Modificar :
|
||
/etc/puppet/manifest/classes/portatil-alumno/clase-especifica-squeeze.pp (servidores de aula ltsp con squeeze)
|
||
/etc/puppet/manifest/classes/clase-especifica-departamentos.pp o ddonde cada uno tenga la de workstations (para workstation)
|
||
|
||
/etc/puppet/manifest/classes/especifica-miniportatil-2011.pp (portatiles con imagen miniportatil todos acer, xtrem, ticnova, msi, apd)
|
||
|
||
línea: include nombre-tarea (dentro de las llaves de class especifica9
|
||
|
||
Pero siempre es aconsejable probarlo antes en un sólo portátil, así es que se añadirán las líneas:
|
||
node "nombre_equipo" inherits default {
|
||
include nombre-tarea
|
||
}
|
||
(fuera de las llaves de class especifica-portatil-alumno, al final, y dejándole las comillas al "nombre_portatil_alumno")
|
||
|
||
Jose Miguel Medina
|
||
IES Matías Ramón Martínez (Burguillos del Cerro)
|
||
Noviembre 2014
|
||
|
||
*Modificado por Miguel A. Santos Santana:
|
||
-Se borran todos los alumnos, no solo el que coincida con el nombre del equipo.
|
||
-También se borrar los ficheros de /etc/skel.
|
tareas_puppet/portatiles/wheezy/port_wheezy_wifi/manifests/init.pp | ||
---|---|---|
import "/etc/puppet/defines/*.pp"
|
||
|
||
class port_wheezy_wifi {
|
||
|
||
replace { "poolkit10":
|
||
file => "/etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla",
|
||
pattern => "ResultActive=yes",
|
||
replacement => "ResultActive=no",
|
||
}
|
||
|
||
|
||
file { "/etc/polkit-1/localauthority/50-local.d/10-org.freedesktop.NetworkManager.pkla":
|
||
alias => "poolkit50",
|
||
ensure => "absent",
|
||
}
|
||
|
||
exec { "borra-claves-usuario":
|
||
# command => "for i in `ls /home/alumnos`; do rm /home/alumnos/$i/.gnome2/keyrings/*; done; for i in `ls /etc/skel`; do rm /etc/skel/$i/.gnome2/keyrings/*; done",
|
||
command => "ls /home/alumnos/*/.gnome2/keyrings/* -1 -d | xargs rm; ls /etc/skel*/.gnome2/keyrings/* -1 -d | xargs rm ",
|
||
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||
refreshonly => true,
|
||
subscribe => [Replace["poolkit10"],File["poolkit50"]]
|
||
}
|
||
|
||
}
|
||
|
||
|
||
|
||
|
||
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_adormir/files/adormir.sh | ||
---|---|---|
#/bin/bash
|
||
|
||
#Poner en el crontab para que se ejecute cada minuto.
|
||
#Comprueba si hay alguien logueado en el terminal o bien está ejecutandose
|
||
#el cañon vlc de Aulalinex o el vnc-proyector
|
||
|
||
|
||
#Opciones para ver si hay alguien logado
|
||
# logado=$(ps aux | grep "ssh.*192.168.0.254" | grep -v grep | wc -l)
|
||
# logado=$(cat /var/run/ltsplogin192.168.0.254) <-devuelve el login del usuario que ha entrado, lo malo es que si sale de sesión no se borra.
|
||
# locado=$(ps aux | grep "LTSP_CLIENT" | grep -v grep | wc -l) <-se usaba en Squeeze, pero a veces falla en Wheezy
|
||
# Y la que usamos:
|
||
|
||
logado=$(ps aux | grep sshfs | grep -v grep | wc -l) #Si alguien esta logado, tiene montado su home por sshfs
|
||
|
||
#Otra opcion es ver si hay algo en /home/alumnos/* o /home/profesor/*. Será el home del usuario montado por sshfs. De ahí podemos sacar su login
|
||
#ademas.
|
||
|
||
|
||
#Numero de minutos de espera para apagar el equipo si nadie ha hecho login.
|
||
#Si no queremos que se apaguen nunca , ponemos un valor muy alto, inalcanzable en una clase normal (1000 minutos, por ejemplo)
|
||
#El script es invocado cada minuto por cron, eso puede hacer que tarde hasta
|
||
#un minuto más de lo indicado en apagarse.
|
||
TIMEOUT=5
|
||
|
||
testigo=/tmp/ocioso
|
||
segundos_timeout=$(expr $TIMEOUT \* 60 - 1)
|
||
logado_root=$(who | grep root | wc -l) #Si el root ha iniciado sesión por consola o ssh
|
||
vlcenuso=$(ps aux | grep vlc | grep -v grep | wc -l) #Por si se está proyectando video sin alumnos logados.
|
||
vncenuso=$(ps aux | grep vnc | grep -v grep | wc -l) #Por si se está proyectando escritorio sin alumnos logados.
|
||
mensajeuso=$(ps aux | grep mensaje-ltsp | grep -v grep | wc -l) #Por si está en uso mensaje-ltsp
|
||
if [ $logado -ge 1 -o $vlcenuso -ge 1 -o $vncenuso -ge 1 -o $logado_root -gt 0 -o $mensajeuso -gt 0 ]
|
||
then
|
||
test -e $testigo && rm $testigo
|
||
else
|
||
if [ ! -e $testigo ]
|
||
then
|
||
touch $testigo
|
||
else
|
||
seg1=$(stat -c%X $testigo)
|
||
seg2=$(date +%s)
|
||
segundos=$(expr $seg2 - $seg1)
|
||
if [ $segundos -gt $segundos_timeout ]
|
||
then
|
||
# hora=$(date)
|
||
# echo "$hora -> Voy a apagarlo" >> /root/adormir.log
|
||
export XAUTHORITY=$(find /var/run/* -name Xauthority)
|
||
gxmessage -display :7 -timeout 30 -center -button "No apagar" "Este ordenador no se esta usando. El sistema se apagara en 30 segundos."
|
||
if [ $? -ne 101 ]
|
||
then
|
||
/sbin/ethtool -s eth0 wol g 2>/dev/null
|
||
/usr/bin/killall -9 xfce4-session
|
||
/sbin/poweroff -fp &
|
||
else
|
||
touch $testigo
|
||
fi
|
||
fi
|
||
fi
|
||
fi
|
||
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_adormir/files/adormir | ||
---|---|---|
|
||
*/1 * * * * root /usr/bin/adormir.sh
|
||
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_adormir/LEEME | ||
---|---|---|
BREVE DESCRIPCION DE LA EJECUCION DEL MODULO
|
||
--------------------------------------------
|
||
|
||
Destino : Servidores de aula Wheezy.
|
||
|
||
Acción : Instala el script adormir.sh para apagar los thinclients si durante 5 minutos
|
||
nadie hace login sobre ellos.
|
||
El tiempo de espera se puede cambiar editando el script adormir.sh
|
||
|
||
INSTRUCCIONES DE INSTALACION DEL MODULO
|
||
---------------------------------------
|
||
|
||
Desempaquetar en /etc/puppet/modules
|
||
Incluir la linea include "nombre_modulo" en la clase específica pertinente.
|
||
|
||
------------------------------------------------
|
||
|
||
Creado por:
|
||
|
||
Alfonso Pastor
|
||
Administrador Informático del IES Virgen de Guadalupe.
|
||
|
||
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_adormir/manifests/init.pp | ||
---|---|---|
class ltsp_wheezy_adormir {
|
||
|
||
|
||
file { "/opt/ltsp/i386/usr/bin/adormir.sh":
|
||
owner=> root, group=> root, mode => 755,
|
||
source => "puppet:///ltsp_wheezy_adormir/adormir.sh",
|
||
notify => Exec ["crear-imagen-adormir"],
|
||
}
|
||
|
||
file { "/opt/ltsp/i386/etc/cron.d/adormir":
|
||
owner=> root, group=> root, mode => 644,
|
||
source => "puppet:///ltsp_wheezy_adormir/adormir",
|
||
notify => Exec ["crear-imagen-adormir"],
|
||
}
|
||
|
||
exec { "instala_gxmessage":
|
||
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||
command => "chroot /opt/ltsp/i386 apt-get install -y --force-yes gxmessage",
|
||
unless => "chroot /opt/ltsp/i386 dpkg -l | grep gxmessage | grep ii",
|
||
notify => Exec["crear-imagen-adormir"]
|
||
}
|
||
|
||
|
||
exec { "crear-imagen-adormir":
|
||
command => "/root/prepara-imagen-thinclient",
|
||
refreshonly => true,
|
||
}
|
||
|
||
}
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/lts.conf.ok | ||
---|---|---|
# This is the default lts.conf file for ltsp 5. For more information about
|
||
# valid options please see lts.conf(5) man page, available in the ltsp-docs
|
||
# package.
|
||
#
|
||
# Note that things like sound and local device support are auto-enabled if the
|
||
# corresponding packages are installed, there is no need to manually set these
|
||
# options anymore.
|
||
|
||
[default]
|
||
SERVER=192.168.0.254
|
||
|
||
LTSP_CONFIG = True
|
||
LOCAL_APPS = True
|
||
REMOTE_APPS = True
|
||
LOCAL_APPS_EXTRAMOUNTS = /home/instituto
|
||
USE_LOCAL_SWAP = True
|
||
NBD_SWAP = True
|
||
LOCAL_APPS_MENU = True
|
||
LOCAL_APPS_MENU_ITEMS = netsurf,iceweasel,vlc
|
||
LOCAL_STORAGE=Y
|
||
SOUND = True
|
||
LOCALDEV = True
|
||
LOCALDEV_DENY_CD = False
|
||
#LOCAL_DEVICE_01 = /dev/sr0:cdrom
|
||
|
||
CONFIGURE_X = True
|
||
X_MODE_0 = 1024x768
|
||
X_COLOR_DEPTH = 16
|
||
X_HORZSYNC = 30-54
|
||
X_VERTREFRESH = 50-120
|
||
X_MOUSE_DEVICE = "/dev/psaux"
|
||
X_MOUSE_PROTOCOL = "ExplorerPS/2"
|
||
X_MOUSE_RESOLUTION = 400
|
||
X_MOUSE_BUTTONS = 3
|
||
XkbModel = pc105
|
||
XkbLayout = es
|
||
X_VIDEORAM = 8192
|
||
X_RAMPERC = 80
|
||
X_OPTION_01 = "\"AccelMethod\" \"sna\""
|
||
X_OPTION_02 = "\"XAANoOffscreenPixmaps\" \"True\""
|
||
X_OPTION_03 = "\"DRI\" \"on\""
|
||
X_OPTION_04 = "\"Shadow\" \"True\""
|
||
#Cierra la sesion del alumno si ya tiene otra abierta
|
||
LDM_LIMIT_ONE_SESSION=true
|
||
LDM_LIMIT_ONE_SESSION_PROMPT=false
|
||
#Si queremos activar la opcion del mensaje podemos ponerlo en español editando /opt/ltsp/i386/usr/share/ldm/rc.d/S15-userLoginCheck
|
||
|
||
LDM_DIRECTX = True
|
||
LDM_SYSLOG = False
|
||
LDM_LANGUAGE = es_ES.UTF-8
|
||
LDM_SESSION = /usr/bin/xfce4-session
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/org.freedesktop.upower.policy | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!DOCTYPE policyconfig PUBLIC
|
||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
||
<policyconfig>
|
||
<vendor>The UPower Project</vendor>
|
||
<vendor_url>http://upower.freedesktop.org/</vendor_url>
|
||
<icon_name>system-suspend</icon_name>
|
||
|
||
<action id="org.freedesktop.upower.suspend">
|
||
<description>Suspend the system</description>
|
||
<description xml:lang="fr">Mettre le système en veille</description>
|
||
<description xml:lang="it">Sospende il sistema</description>
|
||
<description xml:lang="pl">Wstrzymanie systemu</description>
|
||
<description xml:lang="sv">Försätt systemet i vänteläge</description>
|
||
<message>Authentication is required to suspend the system</message>
|
||
<message xml:lang="fr">Vous devez vous identifier pour mettre le système en veille</message>
|
||
<message xml:lang="it">È richiesto autenticarsi per sospendere il sistema</message>
|
||
<message xml:lang="pl">Wymagane jest uwierzytelnienie, aby wstrzymać system</message>
|
||
<message xml:lang="sv">Autentisering krävs för att försätta systemet i vänteläge</message>
|
||
<defaults>
|
||
<allow_inactive>no</allow_inactive>
|
||
<allow_active>no</allow_active>
|
||
</defaults>
|
||
</action>
|
||
|
||
<action id="org.freedesktop.upower.hibernate">
|
||
<description>Hibernate the system</description>
|
||
<description xml:lang="fr">Mettre le système en hibernation</description>
|
||
<description xml:lang="it">Iberna il sistema</description>
|
||
<description xml:lang="pl">Hibernacja systemu</description>
|
||
<description xml:lang="sv">Försätt systemet i viloläge</description>
|
||
<message>Authentication is required to hibernate the system</message>
|
||
<message xml:lang="fr">Vous devez vous identifier pour mettre le système en hibernation</message>
|
||
<message xml:lang="it">È richiesto autenticarsi per ibernare il sistema</message>
|
||
<message xml:lang="pl">Wymagane jest uwierzytelnienie, aby zahibernować system</message>
|
||
<message xml:lang="sv">Autentisering krävs för att försätta systemet i viloläge</message>
|
||
<defaults>
|
||
<allow_inactive>no</allow_inactive>
|
||
<allow_active>no</allow_active>
|
||
</defaults>
|
||
</action>
|
||
|
||
</policyconfig>
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/xscreensaver.desktop | ||
---|---|---|
|
||
[Desktop Entry]
|
||
Type=Application
|
||
Name=Screensaver
|
||
Name[ar]=حافظة الشاشة
|
||
Name[bg]=Предпазител на екрана
|
||
Name[ca]=Salvapantalles
|
||
Name[cs]=Spořič obrazovky
|
||
Name[da]=Skærmskåner
|
||
Name[de]=Bildschirmschoner
|
||
Name[el]=Προφύλαξη οθόνης
|
||
Name[en_GB]=Screensaver
|
||
Name[es]=Salvapantallas
|
||
Name[eu]=Pantaila-babeslea
|
||
Name[fi]=Näytönsäästäjä
|
||
Name[fr]=Économiseur d'écran
|
||
Name[gl]=Protector de pantalla
|
||
Name[hr]=Čuvar zaslona
|
||
Name[hu]=Képernyővédő
|
||
Name[id]=Penyimpan Layar
|
||
Name[it]=Salvaschermo
|
||
Name[ja]=スクリーンセーバー
|
||
Name[kk]=Экран қорғауышы
|
||
Name[ko]=화면 보호기
|
||
Name[lt]=Ekrano užsklanda
|
||
Name[nl]=Schermbeveiliging
|
||
Name[nn]=Skjermsparar
|
||
Name[pl]=Wygaszacz ekranu
|
||
Name[pt]=Proteção de ecrã
|
||
Name[pt_BR]=Protetor de tela
|
||
Name[ro]=Protector de ecran
|
||
Name[ru]=Заставка
|
||
Name[sk]=Šetrič obrazovky
|
||
Name[sr]=Чувар екрана
|
||
Name[tr]=Ekran Koruyucu
|
||
Name[ug]=ئېكران قوغدىغۇچ
|
||
Name[uk]=Зберігач екрану
|
||
Name[zh_CN]=屏幕保护
|
||
Name[zh_TW]=螢幕保護程式
|
||
Comment=Launch screensaver and locker program
|
||
Comment[ar]=شغّل برنامج حافظة الشاشة
|
||
Comment[bg]=Стартиране на предпазителя на екрана програмата за заключване
|
||
Comment[ca]=Llança el salvapantalles i el programa de blocatge
|
||
Comment[cs]=Spustí spořič obrazovky a aplikaci pro uzamykání obrazovky
|
||
Comment[da]=Start programmet skærm-skåner og -lås
|
||
Comment[de]=Bildschirmschoner und -sperre aufrufen
|
||
Comment[el]=Εκκίνηση προφύλαξης οθόνης και προγράμματος κλειδώματος
|
||
Comment[en_GB]=Launch screensaver and locker program
|
||
Comment[es]=Ejecutar protector de pantalla y el programa de bloqueo
|
||
Comment[eu]=Abiarazi pantaila-babeslea eta blokeo programa
|
||
Comment[fi]=Käynnistä näytönsäästäjä ja lukitusohjelma
|
||
Comment[fr]=Verrouiller et lancer l'économiseur d'écran
|
||
Comment[hr]=Pokreni čuvara zaslona i zaključavanje
|
||
Comment[hu]=Képernyővédő és -zároló program indítása
|
||
Comment[id]=Jalankan program penyimpan layar dan pengunci
|
||
Comment[it]=Avvio il salvaschermo e il programma di blocco
|
||
Comment[ja]=スクリーンセーバーおよび画面ロックプログラムを起動します。
|
||
Comment[kk]=Экран қорғауыш және блоктау бағдарламасын жөнелту
|
||
Comment[ko]=화면 보호기 및 잠금 프로그램 실행하기
|
||
Comment[lt]=Paleisti ekrano užsklandą ir užrakinimo programą
|
||
Comment[nl]=Programma voor schermbeveiliging en -vergrendeling starten
|
||
Comment[nn]=Start skjermsparar- og skjermlåsprogrammet
|
||
Comment[pl]=Uruchamianie wygaszacza ekranu i programu blokującego ekran
|
||
Comment[pt]=Lançar proteção de ecrã e programa de bloqueio
|
||
Comment[pt_BR]=Lança protetor de tela e programa de bloqueio de tela
|
||
Comment[ro]=Porniți programul de protecție a ecranului
|
||
Comment[ru]=Запуск заставки и блокировка рабочего стола
|
||
Comment[sk]=Spustiť šetriť obrazovky a aplikáciu pre zamykanie obrazovky
|
||
Comment[sr]=Покрените чувар екрана и програм за закључавање
|
||
Comment[tr]=Ekran koruyucuyu çalıştır ve programı kilitle
|
||
Comment[ug]=ئېكران قوغدىغۇچ ۋە قۇلۇپلىغۇچ پروگراممىسىنى قوزغات
|
||
Comment[uk]=Запустити програми зберігача і замикання екрану
|
||
Comment[zh_CN]=启动屏幕保护和锁定程序
|
||
Comment[zh_TW]=啟動螢幕保護程式與上鎖程式
|
||
Icon=preferences-desktop-screensaver
|
||
Exec=xscreensaver -no-splash
|
||
TryExec=xscreensaver
|
||
OnlyShowIn=XFCE;
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/greeter.gsettings | ||
---|---|---|
# These are the options for the greeter session that can be set
|
||
# through GSettings. Any GSettings setting that is used by the
|
||
# greeter session can be set here.
|
||
|
||
|
||
# Theming options
|
||
# ===============
|
||
# - Change the GTK+ theme
|
||
# [org.gnome.desktop.interface]
|
||
# gtk-theme='Adwaita'
|
||
# - Use another background
|
||
# [org.gnome.desktop.background]
|
||
# picture-uri='file:///usr/share/themes/Adwaita/backgrounds/stripes.jpg'
|
||
# picture-options='zoom'
|
||
# - Or no background at all
|
||
# [org.gnome.desktop.background]
|
||
# picture-options='none'
|
||
# primary-color='#000000'
|
||
|
||
[org.gnome.desktop.background]
|
||
picture-uri='file:///usr/share/backgrounds/gnome/background.png'
|
||
picture-options='stretched'
|
||
|
||
|
||
# Greeter session choice
|
||
# ======================
|
||
# Use 'gdm-shell' for the GNOME Shell version.
|
||
# Never use anything not starting with 'gdm-'.
|
||
[org.gnome.desktop.session]
|
||
session-name='gdm-fallback'
|
||
#session-name='gdm-shell'
|
||
|
||
# Login manager options
|
||
# =====================
|
||
[org.gnome.login-screen]
|
||
logo='/usr/share/icons/gnome/48x48/places/icono-inicio.png'
|
||
fallback-logo='/usr/share/icons/gnome/48x48/places/icono-inicio.png'
|
||
|
||
# - Disable user list
|
||
disable-user-list=true
|
||
# - Disable restart buttons
|
||
disable-restart-buttons=true
|
||
# - Show a login welcome message
|
||
banner-message-enable=false
|
||
#banner-message-text='Bienvenido'
|
||
|
||
#Bloqueo del menú de accesibilidad, para impedir que se active orca.
|
||
[org.gnome.desktop.a11y.applications]
|
||
screen-reader-enabled=false
|
||
|
||
# Prevent the power management icon from showing up
|
||
[org.gnome.power-manager]
|
||
icon-policy='never'
|
||
|
||
# Disabling sound in the greeter
|
||
[org.gnome.desktop.sound]
|
||
event-sounds=false
|
||
|
||
# The metacity compositor doesn’t go well with the greeter
|
||
# so just to be sure
|
||
[org.gnome.metacity]
|
||
compositing-manager=false
|
||
|
||
# No workspaces
|
||
[org.gnome.desktop.wm.preferences]
|
||
num-workspaces=1
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/jclic | ||
---|---|---|
#!/bin/sh
|
||
|
||
# jclicplayer wrapper script
|
||
# code for java detection based on tuxguitar code
|
||
# but adding detection of alternatives for jclic
|
||
|
||
if [ -z $JAVA_HOME ] ; then
|
||
|
||
ALTERNATIVE=`ls -l /etc/alternatives/java|grep sun`
|
||
if [ -z "$ALTERNATIVE" ]; then
|
||
ALTERNATIVE=`ls -l /etc/alternatives/java|grep openjdk`
|
||
fi
|
||
|
||
if [ -z "$ALTERNATIVE" ]; then
|
||
t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
|
||
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
|
||
t=/usr/lib/jvm/java-7-icedtea && test -d $t && JAVA_HOME=$t
|
||
JAVA=${JAVA_HOME}/jre/bin/java
|
||
fi
|
||
fi
|
||
|
||
# detect pulseaudio with $DISPLAY and "pactl stat"
|
||
REMOTE_DISPLAY=$(echo $DISPLAY| awk -F ":" '{print $1}')
|
||
if [ "x${REMOTE_DISPLAY}" != "x" ]; then
|
||
# remote PULSEAUDIO
|
||
if [ -x /usr/bin/padsp ] && [ -x /usr/bin/pactl ] && pactl stat >/dev/null 2>&1; then
|
||
PULSE_AUDIO="padsp -s $REMOTE_DISPLAY -n JClic -m JClic-stream"
|
||
fi
|
||
else
|
||
# local PULSEAUDIO
|
||
if [ -x /usr/bin/padsp ] && [ -x /usr/bin/pactl ] && pactl stat >/dev/null 2>&1; then
|
||
PULSE_AUDIO="padsp"
|
||
fi
|
||
fi
|
||
|
||
|
||
export JAVA=${JAVA:=java}
|
||
|
||
exec $PULSE_AUDIO $JAVA -jar /usr/share/java/jclic.jar "$@" >/dev/null 2>&1
|
||
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/lts.conf.iestellez | ||
---|---|---|
# This is the default lts.conf file for ltsp 5. For more information about
|
||
# valid options please see lts.conf(5) man page, available in the ltsp-docs
|
||
# package.
|
||
#
|
||
# Note that things like sound and local device support are auto-enabled if the
|
||
# corresponding packages are installed, there is no need to manually set these
|
||
# options anymore.
|
||
|
||
[default]
|
||
SERVER=192.168.0.254
|
||
|
||
LTSP_CONFIG=True
|
||
LOCAL_APPS = True
|
||
REMOTE_APPS=True
|
||
LOCAL_APPS_EXTRAMOUNTS = /home/instituto
|
||
USE_LOCAL_SWAP = True
|
||
NBD_SWAP = True
|
||
LOCAL_APPS_MENU=True
|
||
LOCAL_APPS_ITEMS=iceweasel,audacity,google-chrome,netsurf,ascd
|
||
LOCAL_STORAGE=Y
|
||
SOUND=True
|
||
#NBD_SWAP=True
|
||
#NBD_SWAP_SERVER=192.168.0.254
|
||
#NBD_PORT=9572
|
||
LOCALDEV = True
|
||
LOCALDEV_DENY_CD = False
|
||
|
||
|
||
#Configuracion de las graficas
|
||
CONFIGURE_X=True
|
||
X_MODE_0 = 1024x768
|
||
X_COLOR_DEPTH = 16
|
||
X_HORZSYNC = 30-54
|
||
X_VERTREFRESH = 50-120
|
||
X_MOUSE_DEVICE = "/dev/psaux"
|
||
X_MOUSE_PROTOCOL = "ExplorerPS/2"
|
||
X_MOUSE_RESOLUTION = 400
|
||
X_MOUSE_BUTTONS = 3
|
||
XkbModel = pc105
|
||
XkbLayout = es
|
||
X_NUMLOCK = True
|
||
|
||
#X_VIDEORAM = 8192
|
||
|
||
X_OPTION_01 = "\"AccelMethod\" \"sna\""
|
||
#X_OPTION_02 = "\"XAANoOffscreenPixmaps\" \"True\""
|
||
X_OPTION_02 = "\"DRI\" \"off\""
|
||
X_OPTION_03 = "\"Shadow\" \"True\""
|
||
#X_OPTION_03 = "\"MigrationHeuristic\" \"greedy\""
|
||
#X_OPTION_04 = "\"ExaNoComposite\" \"false\""
|
||
|
||
#Cierra la sesion del alumno si ya tiene otra abierta
|
||
LDM_LIMIT_ONE_SESSION=true
|
||
LDM_LIMIT_ONE_SESSION_PROMPT=false
|
||
#Si queremos activar la opcion del mensaje podemos ponerlo en español editando /opt/ltsp/i386/usr/share/ldm/rc.d/S15-userLoginCheck
|
||
|
||
LDM_DIRECTX = True
|
||
LDM_SYSLOG = False
|
||
LDM_LANGUAGE = es_ES.UTF-8
|
||
LDM_SESSION = /usr/bin/xfce4-session
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/gnome-sound-applet.desktop | ||
---|---|---|
[Desktop Entry]
|
||
Name=Volume Control
|
||
Name[af]=Volumebeheer
|
||
Name[ar]=التحكم في شدة الصوت
|
||
Name[as]=ভলিউমৰ নিয়ন্ত্ৰণ
|
||
Name[ast]=Control de volume
|
||
Name[be]=Кіраванне гучнасцю
|
||
Name[bg]=Сила на звука
|
||
Name[bn]=ভলিউম কন্ট্রোল
|
||
Name[ca]=Control de volum
|
||
Name[ca@valencia]=Control de volum
|
||
Name[crh]=Gürlük Kontroli
|
||
Name[cs]=Ovládání hlasitosti
|
||
Name[da]=Lydstyrkekontrol
|
||
Name[de]=Lautstärkeregelung
|
||
Name[el]=Έλεγχος έντασης ήχου
|
||
Name[en_GB]=Volume Control
|
||
Name[eo]=Laŭtecregilo
|
||
Name[es]=Control de volumen
|
||
Name[et]=Helivaljuse juhtimine
|
||
Name[eu]=Bolumen-kontrola
|
||
Name[fa]=تنظیم بلندی صدا
|
||
Name[fi]=Äänenvoimakkuuden hallinta
|
||
Name[fr]=Contrôle de volume
|
||
Name[gl]=Control de volume
|
||
Name[gu]=વોલ્યુમ નિયંત્રણ
|
||
Name[he]=בקרת עצמה
|
||
Name[hi]=आवाज निर्धारक
|
||
Name[hu]=Hangerőszabályzó
|
||
Name[id]=Kendali Volume
|
||
Name[it]=Regolazione volume
|
||
Name[ja]=音量 コントロール
|
||
Name[kn]=ಧ್ವನಿ ನಿಯಂತ್ರಣ
|
||
Name[ko]=볼륨 조정
|
||
Name[lt]=Garsumo valdymas
|
||
Name[lv]=Skaļuma kontrole
|
||
Name[mk]=Контрола на гласност
|
||
Name[ml]=ശബ്ദ ക്രമീകാരി
|
||
Name[mr]=वॉल्युम नियंत्रण
|
||
Name[nb]=Volumkontroll
|
||
Name[nl]=Volumeregeling
|
||
Name[nn]=Volumkontroll
|
||
Name[or]=ଭଲ୍ୟୁମ ନିୟନ୍ତ୍ରଣ
|
||
Name[pa]=ਵਾਲੀਅਮ ਕੰਟਰੋਲ
|
||
Name[pl]=Kontrola dźwięku
|
||
Name[pt]=Controlo de Volume
|
||
Name[pt_BR]=Controle de volume
|
||
Name[ro]=Control volum
|
||
Name[ru]=Управление громкостью
|
||
Name[sk]=Ovládanie hlasitosti
|
||
Name[sl]=Nadzor glasnosti
|
||
Name[sr]=Контрола јачине звука
|
||
Name[sr@latin]=Kontrola jačine zvuka
|
||
Name[sv]=Volymkontroll
|
||
Name[ta]=ஒலிவளவு கட்டுப்பாடு
|
||
Name[te]=శబ్ద నియంత్రణ
|
||
Name[th]=ปรับความดังเสียง
|
||
Name[tr]=Ses Denetimi
|
||
Name[ug]=ئاۋاز تىزگىنى
|
||
Name[uk]=Керування гучністю
|
||
Name[vi]=Điều khiển âm lượng
|
||
Name[zh_CN]=音量控制
|
||
Name[zh_HK]=音量控制
|
||
Name[zh_TW]=音量控制
|
||
Comment=Show desktop volume control
|
||
Comment[af]=Wys volumebeheer vir die werkskerm
|
||
Comment[ar]=اعرض التحكم في شدة الصوت
|
||
Comment[as]=ডেস্কটপ ভলিউমৰ নিয়ন্ত্ৰণ দেখুৱাওক
|
||
Comment[ast]=Amosar el control de volume de l'escritoriu
|
||
Comment[be]=Паказ віджэта кіравання гучнасцю
|
||
Comment[bg]=Показване на управлението на звука
|
||
Comment[bn]=ডেস্কটপ ভলিউম কন্ট্রোল প্রদর্শন
|
||
Comment[ca]=Mostra el control de volum de l'escriptori
|
||
Comment[ca@valencia]=Mostra el control de volum de l'escriptori
|
||
Comment[crh]=Masaüstü gürlük kontrolini köster
|
||
Comment[cs]=Zobrazit ovládání hlasitosti pro pracovní prostředí
|
||
Comment[da]=Vis lydstyrkekontrol på skrivebordet
|
||
Comment[de]=Lautstärkeregler anzeigen
|
||
Comment[el]=Εμφάνιση ελέγχου ήχου επιφάνειας εργασίας
|
||
Comment[en_GB]=Show desktop volume control
|
||
Comment[eo]=Montri labortablan laŭtecregilon
|
||
Comment[es]=Mostrar el control de volumen del escritorio
|
||
Comment[et]=Töölaua helipuldi näitamine
|
||
Comment[eu]=Erakutsi mahaigaineko bolumen-kontrola
|
||
Comment[fa]=نمایش تنظیمات بلندی صدای رومیزی
|
||
Comment[fi]=Näytä työpöydän äänenvoimakkuuden hallinta
|
||
Comment[fr]=Afficher le contrôle de volume sur le bureau
|
||
Comment[gl]=Mostrar o control de volume do escritorio
|
||
Comment[gu]=ડેસ્કટોપ વોલ્યુમ નિયંત્રણને બતાવો
|
||
Comment[he]=הצגת בקרת עצמה בשולחן העבודה
|
||
Comment[hi]=डेस्कटॉप आवाज नियंत्रण दिखाएँ
|
||
Comment[hu]=Hangerőszabályzó megjelenítése
|
||
Comment[id]=Tampilkan kendali volume desktop
|
||
Comment[it]=Mostra la regolazione del volume
|
||
Comment[ja]=デスクトップの音量を調節するアプレットです
|
||
Comment[kn]=ಗಣಕತೆರೆ ಧ್ವನಿ ನಿಯಂತ್ರಣವನ್ನು ತೋರಿಸಿ
|
||
Comment[ko]=데스크톱 볼륨 조정 표시
|
||
Comment[lt]=Rodyti darbastalio garsumo valdiklį
|
||
Comment[lv]=Rādīt darbvirsmas skaņas kontroli
|
||
Comment[mk]=Покажи ги контролите за глас
|
||
Comment[mr]=डेस्कटॉप वॉल्युम कंट्रोल दाखवा
|
||
Comment[nb]=Vis volumkontroll for skrivebordet
|
||
Comment[nl]=Volumeregeling voor werkomgeving tonen
|
||
Comment[nn]=Vis volumkontroll for skrivebord
|
||
Comment[or]=ଡେସ୍କଟପ ଭଲ୍ୟୁମ ନିୟନ୍ତ୍ରଣ ଦର୍ଶାନ୍ତୁ
|
||
Comment[pa]=ਡੈਸਕਟਾਪ ਵਾਲੀਅਮ ਕੰਟਰੋਲ ਵੇਖੋ
|
||
Comment[pl]=Wyświetlanie kontroli dźwięku na pulpicie
|
||
Comment[pt]=Apresentar o controlo de volume na área de trabalho
|
||
Comment[pt_BR]=Mostrar controle de volume na área de trabalho
|
||
Comment[ro]=Arată controlul volumului pe desktop
|
||
Comment[ru]=Открыть управление громкостью звука
|
||
Comment[sk]=Zobraziť ovládanie hlasitosti pracovnej plochy
|
||
Comment[sl]=Pokaži namizni nadzornik zvoka
|
||
Comment[sr]=Прикажи контролу јачине звука радне површи
|
||
Comment[sr@latin]=Prikaži kontrolu jačine zvuka radne površi
|
||
Comment[sv]=Visa skrivbordets volymkontroll
|
||
Comment[ta]=பணிமேடை ஒலிவளவு கட்டுப்பாட்டை காட்டு
|
||
Comment[te]=డెస్క్టాప్ శబ్దస్థాయి నియంత్రణను చూపించు
|
||
Comment[th]=แสดงเครื่องมือปรับความดังเสียงของเดสก์ท็อป
|
||
Comment[tr]=Masaüstü ses denetimini göster
|
||
Comment[ug]=ئۈستەلئۈستى ئاۋاز تىزگىننى كۆرسەت
|
||
Comment[uk]=Показати керування гучністю
|
||
Comment[vi]=Hiện điều khiển âm lượng
|
||
Comment[zh_CN]=显示桌面音量控制
|
||
Comment[zh_HK]=顯示桌面音量控制
|
||
Comment[zh_TW]=顯示桌面音量控制
|
||
Icon=multimedia-volume-control
|
||
Exec=gnome-sound-applet
|
||
Terminal=false
|
||
Type=Application
|
||
Categories=
|
||
NoDisplay=true
|
||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||
X-GNOME-Bugzilla-Product=gnome-control-center
|
||
X-GNOME-Bugzilla-Component=sound
|
||
# See http://bugzilla.gnome.org/show_bug.cgi?id=568320
|
||
#X-GNOME-Autostart-Phase=Panel
|
||
X-GNOME-Autostart-Notify=true
|
||
#AutostartCondition=GNOME3 if-session gnome-fallback
|
||
#OnlyShowIn=GNOME;Unity;
|
||
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/lts.conf | ||
---|---|---|
# This is the default lts.conf file for ltsp 5. For more information about
|
||
# valid options please see lts.conf(5) man page, available in the ltsp-docs
|
||
# package.
|
||
#
|
||
# Note that things like sound and local device support are auto-enabled if the
|
||
# corresponding packages are installed, there is no need to manually set these
|
||
# options anymore.
|
||
|
||
[default]
|
||
SERVER=192.168.0.254
|
||
|
||
LTSP_CONFIG = True
|
||
LOCAL_APPS = True
|
||
REMOTE_APPS = True
|
||
LOCAL_APPS_EXTRAMOUNTS = /home/instituto
|
||
USE_LOCAL_SWAP = True
|
||
NBD_SWAP = True
|
||
LOCAL_APPS_MENU = True
|
||
LOCAL_APPS_MENU_ITEMS = netsurf,iceweasel,vlc
|
||
LOCAL_STORAGE=Y
|
||
SOUND = True
|
||
LOCALDEV = True
|
||
LOCALDEV_DENY_CD = False
|
||
#LOCAL_DEVICE_01 = /dev/sr0:cdrom
|
||
|
||
CONFIGURE_X = True
|
||
X_MODE_0 = 1024x768
|
||
X_COLOR_DEPTH = 16
|
||
X_HORZSYNC = 30-54
|
||
X_VERTREFRESH = 50-120
|
||
X_MOUSE_DEVICE = "/dev/psaux"
|
||
X_MOUSE_PROTOCOL = "ExplorerPS/2"
|
||
X_MOUSE_RESOLUTION = 400
|
||
X_MOUSE_BUTTONS = 3
|
||
XkbModel = pc105
|
||
XkbLayout = es
|
||
X_VIDEORAM = 8192
|
||
X_RAMPERC = 80
|
||
X_OPTION_01 = "\"AccelMethod\" \"glamor\""
|
||
X_OPTION_02 = "\"XAANoOffscreenPixmaps\" \"True\""
|
||
X_OPTION_03 = "\"DRI\" \"on\""
|
||
X_OPTION_04 = "\"Shadow\" \"True\""
|
||
#Cierra la sesion del alumno si ya tiene otra abierta
|
||
LDM_LIMIT_ONE_SESSION=true
|
||
LDM_LIMIT_ONE_SESSION_PROMPT=false
|
||
#Si queremos activar la opcion del mensaje podemos ponerlo en español editando /opt/ltsp/i386/usr/share/ldm/rc.d/S15-userLoginCheck
|
||
|
||
LDM_DIRECTX = True
|
||
LDM_SYSLOG = False
|
||
LDM_LANGUAGE = es_ES.UTF-8
|
||
LDM_SESSION = /usr/bin/xfce4-session
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/update-kernels.conf | ||
---|---|---|
# Default boot options
|
||
# Use a menu for booting
|
||
#PXELINUX_DEFAULT=menu
|
||
|
||
# Set default timeout to 10 seconds (hundreths of a second)
|
||
#TIMEOUT=100
|
||
|
||
# Set default boot item on timeout
|
||
ONTIMEOUT=ltsp-NBD
|
||
|
||
# Use ifcpu64.c32 to detect 64-bit, PAE or 32-bit machines.
|
||
#PXELINUX_DEFAULT=ltsp-ifcpu64-NFS
|
||
#IFCPU64=true
|
||
|
||
# Supported booth methods
|
||
#BOOT_METHODS="NFS NBD"
|
||
BOOT_METHODS=NBD
|
||
|
||
# Default commandline arguments common to all boot methods
|
||
#CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp quiet"
|
||
#CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp keeppxe"
|
||
|
||
# Commandline used with NFS root
|
||
#CMDLINE_NFS="root=/dev/nfs ip=dhcp boot=nfs init=/sbin/init-ltsp acpi=off noacpi noapic nomodeset keeppxe"
|
||
|
||
# Commandline used with NBD root
|
||
CMDLINE_NBD="root=/dev/nbd0 init=/sbin/init-ltsp i915.i915_enable_rc6=0 keeppxe"
|
||
# Kernel variants
|
||
KERNEL_PREFIX="vmlinu[z|x]-*"
|
||
#KERNEL_SUFFIX=""
|
||
|
||
# Kernel variants that are supported by 64-bit CPUs
|
||
#LIST_KERNELS_64="amd64"
|
||
# Variants that are supported by PAE capable CPUs
|
||
#LIST_KERNELS_PAE="686-pae 686-bigmem 686"
|
||
# Variants that are widely supported (i.e. 32-bit CPUs)
|
||
LIST_KERNELS_32="486 686"
|
||
# Preferred default kernel order
|
||
#LIST_KERNELS_DEFAULT="486-custom 686-custom"
|
tareas_puppet/servidores_aula/wheezy/ltsp_wheezy_ajustes/files/asound.state | ||
---|---|---|
state.I82801DBICH4 {
|
||
control.1 {
|
||
iface MIXER
|
||
name 'Master Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.2 {
|
||
iface MIXER
|
||
name 'Master Playback Volume'
|
||
value.0 31
|
||
value.1 31
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 2
|
||
range '0 - 31'
|
||
dbmin -4650
|
||
dbmax 0
|
||
dbvalue.0 0
|
||
dbvalue.1 0
|
||
}
|
||
}
|
||
control.3 {
|
||
iface MIXER
|
||
name 'Headphone Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.4 {
|
||
iface MIXER
|
||
name 'Headphone Playback Volume'
|
||
value.0 31
|
||
value.1 31
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 2
|
||
range '0 - 31'
|
||
dbmin -4650
|
||
dbmax 0
|
||
dbvalue.0 0
|
||
dbvalue.1 0
|
||
}
|
||
}
|
||
control.5 {
|
||
iface MIXER
|
||
name 'Master Mono Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.6 {
|
||
iface MIXER
|
||
name 'Master Mono Playback Volume'
|
||
value 31
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 1
|
||
range '0 - 31'
|
||
dbmin -4650
|
||
dbmax 0
|
||
dbvalue.0 0
|
||
}
|
||
}
|
||
control.7 {
|
||
iface MIXER
|
||
name 'Beep Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.8 {
|
||
iface MIXER
|
||
name 'Beep Playback Volume'
|
||
value 14
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 1
|
||
range '0 - 15'
|
||
dbmin -4500
|
||
dbmax 0
|
||
dbvalue.0 -300
|
||
}
|
||
}
|
||
control.9 {
|
||
iface MIXER
|
||
name 'Phone Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.10 {
|
||
iface MIXER
|
||
name 'Phone Playback Volume'
|
||
value 28
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 1
|
||
range '0 - 31'
|
||
dbmin -3450
|
||
dbmax 1200
|
||
dbvalue.0 750
|
||
}
|
||
}
|
||
control.11 {
|
||
iface MIXER
|
||
name 'Mic Playback Switch'
|
||
value false
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.12 {
|
||
iface MIXER
|
||
name 'Mic Playback Volume'
|
||
value 0
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 1
|
||
range '0 - 31'
|
||
dbmin -3450
|
||
dbmax 1200
|
||
dbvalue.0 -3450
|
||
}
|
||
}
|
||
control.13 {
|
||
iface MIXER
|
||
name 'Mic Boost (+20dB)'
|
||
value false
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.14 {
|
||
iface MIXER
|
||
name 'Line Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.15 {
|
||
iface MIXER
|
||
name 'Line Playback Volume'
|
||
value.0 28
|
||
value.1 28
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 2
|
||
range '0 - 31'
|
||
dbmin -3450
|
||
dbmax 1200
|
||
dbvalue.0 750
|
||
dbvalue.1 750
|
||
}
|
||
}
|
||
control.16 {
|
||
iface MIXER
|
||
name 'CD Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.17 {
|
||
iface MIXER
|
||
name 'CD Playback Volume'
|
||
value.0 25
|
||
value.1 25
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 2
|
||
range '0 - 31'
|
||
dbmin -3450
|
||
dbmax 1200
|
||
dbvalue.0 300
|
||
dbvalue.1 300
|
||
}
|
||
}
|
||
control.18 {
|
||
iface MIXER
|
||
name 'Video Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.19 {
|
||
iface MIXER
|
||
name 'Video Playback Volume'
|
||
value.0 28
|
||
value.1 28
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 2
|
||
range '0 - 31'
|
||
dbmin -3450
|
||
dbmax 1200
|
||
dbvalue.0 750
|
||
dbvalue.1 750
|
||
}
|
||
}
|
||
control.20 {
|
||
iface MIXER
|
||
name 'Aux Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.21 {
|
||
iface MIXER
|
||
name 'Aux Playback Volume'
|
||
value.0 28
|
||
value.1 28
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 2
|
||
range '0 - 31'
|
||
dbmin -3450
|
||
dbmax 1200
|
||
dbvalue.0 750
|
||
dbvalue.1 750
|
||
}
|
||
}
|
||
control.22 {
|
||
iface MIXER
|
||
name 'PCM Playback Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.23 {
|
||
iface MIXER
|
||
name 'PCM Playback Volume'
|
||
value.0 31
|
||
value.1 31
|
||
comment {
|
||
access 'read write'
|
||
type INTEGER
|
||
count 2
|
||
range '0 - 31'
|
||
dbmin -3450
|
||
dbmax 1200
|
||
dbvalue.0 1200
|
||
dbvalue.1 1200
|
||
}
|
||
}
|
||
control.24 {
|
||
iface MIXER
|
||
name 'Capture Source'
|
||
value.0 Mic
|
||
value.1 Mic
|
||
comment {
|
||
access 'read write'
|
||
type ENUMERATED
|
||
count 2
|
||
item.0 Mic
|
||
item.1 CD
|
||
item.2 Video
|
||
item.3 Aux
|
||
item.4 Line
|
||
item.5 Mix
|
||
item.6 'Mix Mono'
|
||
item.7 Phone
|
||
}
|
||
}
|
||
control.25 {
|
||
iface MIXER
|
||
name 'Capture Switch'
|
||
value true
|
||
comment {
|
||
access 'read write'
|
||
type BOOLEAN
|
||
count 1
|
||
}
|
||
}
|
||
control.26 {
|
||
iface MIXER
|
||
name 'Capture Volume'
|
||
value.0 14
|
Exportar a: Unified diff
Subidas tareas puppet wheezy