Next: , Previous: , Up: Servicios   [Contents][Index]


11.9.9 Servicios de escritorio

El módulo (gnu services desktop) proporciona servicios que son útiles habitualmente en el contexto de una configuración de “escritorio”—es decir, en una máquina que ejecute un servidor gráfico, posiblemente con interfaces gráficas, etcétera. También define servicios que proporcionan entornos de escritorio específicos como GNOME, Xfce o MATE.

Para simplificar las cosas, el módulo define una variable que contiene el conjunto de servicios que las usuarias esperarían de manera habitual junto a un entorno gráfico y de red:

Variable: %desktop-services

Es una lista de servicios que se construye en base a %base-services y añade o ajusta servicios para una configuración de “escritorio” típica.

In particular, it adds a graphical login manager (see gdm-service-type), screen lockers, a network management tool (see network-manager-service-type) with modem support (see modem-manager-service-type), energy and color management services, the elogind login and seat manager, the Polkit privilege service, the GeoClue location service, the AccountsService daemon that allows authorized users change system passwords, a NTP client (see Servicios de red) and the Avahi daemon.

La variable %desktop-services puede usarse como el campo services de una declaración operating-system (see services).

De manera adicional, los procedimientos gnome-desktop-service-type, xfce-desktop-service, mate-desktop-service-type, lxqt-desktop-service-type y enlightenment-desktop-service-type pueden añadir GNOME, Xfce, MATE y/o Enlightenment al sistema. “Añadir GNOME” significa que servicios a nivel de sistema como las herramientas de ayuda para el ajuste de la intensidad de luz de la pantalla y de gestión de energía se añaden al sistema, extendiendo polkit y dbus de manera apropiada, y permitiendo a GNOME operar con privilegios elevados en un número de interfaces del sistema de propósito especial. Además, la adición de un servicio generado por gnome-desktop-service-type añade el metapaquete GNOME al perfil del sistema. Del mismo modo, la adición del servicio Xfde no añade únicamente el metapaquete xfce al perfil del sistema, sino que también le proporciona al gestor de archivos Thunar la posibilidad de abrir una ventana de gestión de archivos en “modo root”, si la usuaria se identifica mediante la contraseña de administración a través de la interfaz gráfica estándar polkit. “Añadir MATE” significa que polkit y dbus se extienden de manera apropiada, permitiendo a MATE operar con privilegios elevados en un número de interfaces del sistema de propósito especial. De manera adicional, la adición de un servicio de tipo mate-desktop-service-type añade el metapaquete MATE al perfil del sistema. “Añadir Enlightenment” significa que dbus se extiende de manera apropiada y varios ejecutables de Enlightenment se marcan como “setuid”, para permitir el funcionamiento esperado del sistema bloqueo de pantalla de Enlightenment entre otras funcionalidades.

The desktop environments in Guix use the Xorg display server by default. If you’d like to use the newer display server protocol called Wayland, you need to enable Wayland support in GDM (see wayland-gdm). Another solution is to use the sddm-service instead of GDM as the graphical login manager. You should then select the “GNOME (Wayland)” session in SDDM. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command “XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session“. Currently only GNOME has support for Wayland.

Variable: gnome-desktop-service-type

Es el tipo del servicio que añade el entorno de escritorio GNOME. Su valor es un objeto gnome-desktop-configuration (véase a continuación).

Este servicio añade el paquete gnome al perfil del sistema, y extiende polkit con las acciones de gnome-settings-daemon.

Tipo de datos: gnome-desktop-configuration

Registro de configuración para el entorno de escritorio GNOME.

gnome (predeterminado: gnome)

El paquete GNOME usado.

Variable: plasma-desktop-service-type

This is the type of the service that adds the Plasma desktop environment. Its value is a plasma-desktop-configuration object (see below).

This service adds the plasma package to the system profile.

Data Type: plasma-desktop-configuration

Configuration record for the Plasma desktop environment.

plasma (default: plasma)

The Plasma package to use.

Variable: xfce-desktop-service-type

Este es el tipo de un servicio para ejecutar el entorno de escritorio https://xfce.org. Su valor es un objeto xfce-desktop-configuration (véase a continuación).

Este servicio añade el paquete xfce al perfil del sistema, y extiende polkit con la capacidad de thunar para manipular el sistema de archivos como root dentro de una sesión de usuaria, tras la identificación de la usuaria con la contraseña de administración.

Note that xfce4-panel and its plugin packages should be installed in the same profile to ensure compatibility. When using this service, you should add extra plugins (xfce4-whiskermenu-plugin, xfce4-weather-plugin, etc.) to the packages field of your operating-system.

Tipo de datos: xfce-desktop-configuration

Registro de configuración para el entorno de escritorio Xfce.

xfce (predeterminado: xfce)

El paquete Xfce usado.

Variable: mate-desktop-service-type

Es el tipo del servicio que ejecuta el entorno de escritorio MATE. Su valor es un objeto mate-desktop-configuration (véase a continuación).

Este servicio añade el paquete mate al perfil del sistema, y extiende polkit con acciones de mate-settings-daemon.

Tipo de datos: mate-desktop-configuration

Registro de configuración para el entorno de escritorio MATE.

mate (predeterminado: mate)

El paquete MATE usado.

Variable: lxqt-desktop-service-type

This is the type of the service that runs the LXQt desktop environment. Its value is a lxqt-desktop-configuration object (see below).

Este servicio añade el paquete lxqt al perfil del sistema.

Tipo de datos: lxqt-desktop-configuration

Registro de configuración para el entorno de escritorio LXQt.

lxqt (predeterminado: lxqt)

El paquete LXQT usado.

Variable: sugar-desktop-service-type

This is the type of the service that runs the Sugar desktop environment. Its value is a sugar-desktop-configuration object (see below).

This service adds the sugar package to the system profile, as well as any selected Sugar activities. By default it only includes a minimal set of activities.

Data Type: sugar-desktop-configuration

Configuration record for the Sugar desktop environment.

sugar (default: sugar)

The Sugar package to use.

gobject-introspection (default: gobject-introspection)

The gobject-introspection package to use. This package is used to access libraries installed as dependencies of Sugar activities.

activities (default: (list sugar-help-activity))

A list of Sugar activities to install.

The following example configures the Sugar desktop environment with a number of useful activities:

(use-modules (gnu))
(use-package-modules sugar)
(use-service-modules desktop)
(operating-system
  ...
  (services (cons* (service sugar-desktop-service-type
                            (sugar-desktop-configuration
                              (activities (list sugar-browse-activity
                                                sugar-help-activity
                                                sugar-jukebox-activity
                                                sugar-typing-turtle-activity))))
                   %desktop-services))
  ...)
Variable: enlightenment-desktop-service-type

Devuelve un servicio que añade el paquete enlightenment al perfil del sistema, y extiende dbus con acciones de efl.

Tipo de datos: enlightenment-desktop-service-configuration
enlightenment (predeterminado: enlightenment)

El paquete enlightenment usado.

Debido a que los servicios de escritorio GNOME, Xfce y MATE incorporan tantos paquetes, la variable %desktop-services no incluye ninguno de manera predeterminada. Para añadir GNOME, Xfce o MATE, simplemente use cons junto a %desktop-services en el campo services de su declaración operating-system:

(use-modules (gnu))
(use-service-modules desktop)
(operating-system
  ...
  ;; cons* añade elementos a la lista proporcionada en el último
  ;; parámetro.
  (services (cons* (service gnome-desktop-service-type)
                   (service xfce-desktop-service)
                   %desktop-services))
  ...)

Una vez realizado, estos entornos de escritorio se encontrarán como opciones disponibles en la ventana del gestor gráfico de ingreso al sistema.

Las definiciones de servicio incluidas realmente en %desktop-services y proporcionadas por (gnu services dbus) y (gnu services desktop) se describen a continuación.

Variable: dbus-root-service-type

Type for a service that runs the D-Bus “system bus”. 38

The value for this service type is a <dbus-configuration> record.

Data Type: dbus-configuration

Data type representing the configuration for dbus-root-service-type.

dbus (default: dbus) (type: file-like)

Package object for dbus.

services (default: '()) (type: list)

List of packages that provide an etc/dbus-1/system.d directory containing additional D-Bus configuration and policy files. For example, to allow avahi-daemon to use the system bus, services must be equal to (list avahi).

verbose? (default: #f) (type: boolean)

When #t, D-Bus is launched with environment variable ‘DBUS_VERBOSE’ set to ‘1’. A verbose-enabled D-Bus package such as dbus-verbose should be provided to dbus in this scenario. The verbose output is logged to /var/log/dbus-daemon.log.

Elogind

Elogind is a login and seat management daemon that also handles most system-level power events for a computer, for example suspending the system when a lid is closed, or shutting it down when the power button is pressed.

It also provides a D-Bus interface that can be used to know which users are logged in, know what kind of sessions they have open, suspend the system, inhibit system suspend, reboot the system, and other tasks.

Variable: elogind-service-type

Type of the service that runs elogind, a login and seat management daemon. The value for this service is a <elogind-configuration> object.

Data Type: elogind-configuration

Data type representing the configuration of elogind.

elogind (default: elogind) (type: file-like)

...

kill-user-processes? (default: #f) (type: boolean)

...

kill-only-users (default: '()) (type: list)

...

kill-exclude-users (default: '("root")) (type: list-of-string)

...

inhibit-delay-max-seconds (default: 5) (type: integer)

...

handle-power-key (default: 'poweroff) (type: symbol)

...

handle-suspend-key (default: 'suspend) (type: symbol)

...

handle-hibernate-key (default: 'hibernate) (type: symbol)

...

handle-lid-switch (default: 'suspend) (type: symbol)

...

handle-lid-switch-docked (default: 'ignore) (type: symbol)

...

handle-lid-switch-external-power (default: *unspecified*) (type: symbol)

...

power-key-ignore-inhibited? (default: #f) (type: boolean)

...

suspend-key-ignore-inhibited? (default: #f) (type: boolean)

...

hibernate-key-ignore-inhibited? (default: #f) (type: boolean)

...

lid-switch-ignore-inhibited? (default: #t) (type: boolean)

...

holdoff-timeout-seconds (default: 30) (type: integer)

...

idle-action (default: 'ignore) (type: symbol)

...

idle-action-seconds (default: (* 30 60)) (type: integer)

...

runtime-directory-size-percent (default: 10) (type: integer)

...

runtime-directory-size (default: #f) (type: integer)

...

remove-ipc? (default: #t) (type: boolean)

...

suspend-state (default: '("mem" "standby" "freeze")) (type: list)

...

suspend-mode (default: '()) (type: list)

...

hibernate-state (default: '("disk")) (type: list)

...

hibernate-mode (default: '("platform" "shutdown")) (type: list)

...

hybrid-sleep-state (default: '("disk")) (type: list)

...

hybrid-sleep-mode (default: '("suspend" "platform" "shutdown")) (type: list)

...

Variable: accountsservice-service-type

Type for the service that runs AccountsService, a system service that can list available accounts, change their passwords, and so on. AccountsService integrates with PolicyKit to enable unprivileged users to acquire the capability to modify their system configuration. See AccountsService for more information.

The value for this service is a file-like object, by default it is set to accountsservice (the package object for AccountsService).

Variable: polkit-service-type

Type for the service that runs the Polkit privilege management service, which allows system administrators to grant access to privileged operations in a structured way. By querying the Polkit service, a privileged system component can know when it should grant additional capabilities to ordinary users. For example, an ordinary user can be granted the capability to suspend the system if the user is logged in locally.

The value for this service is a <polkit-configuration> object.

Variable: polkit-wheel-service

Servicio que añade a las usuarias del grupo wheel como administradoras del servicio Polkit. Esto hace que se solicite su propia contraseña a las usuarias del grupo wheel cuando realicen acciones administrativas en vez de la contraseña de root, de manera similar al comportamiento de sudo.

Variable: upower-service-type

Servicio que ejecuta https://upower.freedesktop.org/, upowerd, un monitor a nivel de sistema de consumo de energía y niveles de batería, con las opciones de configuración proporcionadas.

Implementa la interfaz D-Bus org.freedesktop.UPower, y se usa de forma notable en GNOME.

Tipo de datos: upower-configuration

Tipo de datos que representa la configuración de UPower.

upower (predeterminado: upower)

Paquete usado para upower.

watts-up-pro? (predeterminado: #f)

Permite el uso del dispositivo Watts Up Pro.

poll-batteries? (predeterminado: #t)

Usa el servicio de consulta del núcleo para los cambios en niveles de batería.

ignore-lid? (predeterminado: #f)

Ignora el estado de la tapa, puede ser útil en caso de ser incorrecto un dispositivo determinado.

use-percentage-for-policy? (default: #t)

Whether to use a policy based on battery percentage rather than on estimated time left. A policy based on battery percentage is usually more reliable.

percentage-low (default: 20)

Cuando use-percentaje-for-policy? es #t, determina el porcentaje en el que la carga de la batería se considera baja.

percentage-critical (default: 5)

Cuando use-percentaje-for-policy? es #t, determina el porcentaje en el que la carga de la batería se considera crítica.

percentage-action (predeterminado: 2)

Cuando use-percentaje-for-policy? es #t, determina el porcentaje en el que se tomará la acción.

time-low (predeterminado: 1200)

Cuando use-percentaje-for-policy? es #t, determina el tiempo restante en segundos con el que carga de la batería se considera baja.

time-critical (predeterminado: 300)

Cuando use-percentaje-for-policy? es #t, determina el tiempo restante en segundos con el que carga de la batería se considera crítica.

time-action (predeterminado: 120)

Cuando use-percentaje-for-policy? es #t, determina el tiempo restante en segundos con el que se tomará la acción.

critical-power-action (predeterminada: 'hybrid-sleep)

La acción tomada cuando se alcanza percentage-action o time-action (dependiendo de la configuración de use-percentage-for-policy?).

Los valores posibles son:

  • 'power-off
  • 'hibernate
  • 'hybrid-sleep.
Variable: udisks-service-type

Type for the service that runs UDisks, a disk management daemon that provides user interfaces with notifications and ways to mount/unmount disks. Programs that talk to UDisks include the udisksctl command, part of UDisks, and GNOME Disks. Note that Udisks relies on the mount command, so it will only be able to use the file-system utilities installed in the system profile. For example if you want to be able to mount NTFS file-systems in read and write fashion, you’ll need to have ntfs-3g installed system-wide.

The value for this service is a <udisks-configuration> object.

Data Type: udisks-configuration

Data type representing the configuration for udisks-service-type.

udisks (default: udisks) (type: file-like)

Package object for UDisks.

Variable: colord-service-type

Devuelve un servicio que ejecuta colord, un servicio del sistema con una interfaz D-Bus para la gestión de perfiles de dispositivos de entrada y salida como la pantalla y el escáner. Se usa de forma notable por parte de la herramienta gráfica de “Gestión de color” de GNOME. Véase la página web de colord para más información.

Variable: sane-service-type

This service provides access to scanners via SANE by installing the necessary udev rules. It is included in %desktop-services (see Servicios de escritorio) and relies by default on sane-backends-minimal package (see below) for hardware support.

Variable: sane-backends-minimal

The default package which the sane-service-type installs. It supports many recent scanners.

Variable: sane-backends

This package includes support for all scanners that sane-backends-minimal supports, plus older Hewlett-Packard scanners supported by hplip package. In order to use this on a system which relies on %desktop-services, you may use modify-services (see modify-services) as illustrated below:

(use-modules (gnu))
(use-service-modules
  
  desktop)
(use-package-modules
  
  scanner)

(define %my-desktop-services
  ;; List of desktop services that supports a broader range of scanners.
  (modify-services %desktop-services
    (sane-service-type _ => sane-backends)))

(operating-system
  
  (services %my-desktop-services))
Procedimiento: geoclue-application-name [#:allowed? #t] [#:system? #f] [#:users '()]

Devuelve una configuración que permite a una aplicación el acceso a los datos de posicionamiento de GeoClue. nombre es el Desktop ID de la aplicación, sin la parte .desktop. Si el valor de allowed? es verdadero, la aplicación tendrá acceso a la información de posicionamiento de manera predeterminada. El valor booleano system? indica si una aplicación es un componente de sistema o no. Por último, users es una lista de UID de todas las usuarias para las que esta aplicación tiene permitido el acceso de información. Una lista de usuarias vacía significa que se permiten todas las usuarias.

Variable: %standard-geoclue-applications

La lista estándar de configuraciones de GeoClue de aplicaciones conocidas, proporcionando autoridad a la utilidad de fecha y hora de GNOME para obtener la localización actual para ajustar la zona horaria, y permitiendo que los navegadores Icecat y Epiphany puedan solicitar información de localización. Tanto IceCat como Epiphany solicitan permiso a la usuaria antes de permitir a una página web conocer la ubicación de la usuaria.

Variable: geoclue-service-type

Type for the service that runs the GeoClue location service. This service provides a D-Bus interface to allow applications to request access to a user’s physical location, and optionally to add information to online location databases.

The value for this service is a <geoclue-configuration> object.

Variable: bluetooth-service-type

This is the type for the Linux Bluetooth Protocol Stack (BlueZ) system, which generates the /etc/bluetooth/main.conf configuration file. The value for this type is a bluetooth-configuration record as in this example:

See below for details about bluetooth-configuration.

Data Type: bluetooth-configuration

Data type representing the configuration for bluetooth-service.

bluez (default: bluez)

bluez package to use.

name (default: "BlueZ")

Default adapter name.

class (default: #x000000)

Default device class. Only the major and minor device class bits are considered.

discoverable-timeout (default: 180)

How long to stay in discoverable mode before going back to non-discoverable. The value is in seconds.

always-pairable? (default: #f)

Always allow pairing even if there are no agents registered.

pairable-timeout (default: 0)

How long to stay in pairable mode before going back to non-discoverable. The value is in seconds.

device-id (default: #f)

Use vendor id source (assigner), vendor, product and version information for DID profile support. The values are separated by ":" and assigner, VID, PID and version.

Los valores posibles son:

  • #f to disable it,
  • "assigner:1234:5678:abcd", where assigner is either usb (default) or bluetooth.
reverse-service-discovery? (default: #t)

Do reverse service discovery for previously unknown devices that connect to us. For BR/EDR this option is really only needed for qualification since the BITE tester doesn’t like us doing reverse SDP for some test cases, for LE this disables the GATT client functionally so it can be used in system which can only operate as peripheral.

name-resolving? (default: #t)

Enable name resolving after inquiry. Set it to #f if you don’t need remote devices name and want shorter discovery cycle.

debug-keys? (default: #f)

Enable runtime persistency of debug link keys. Default is false which makes debug link keys valid only for the duration of the connection that they were created for.

controller-mode (default: 'dual)

Restricts all controllers to the specified transport. 'dual means both BR/EDR and LE are enabled (if supported by the hardware).

Los valores posibles son:

  • 'dual
  • 'bredr
  • 'le
multi-profile (default: 'off)

Enables Multi Profile Specification support. This allows to specify if system supports only Multiple Profiles Single Device (MPSD) configuration or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple Devices (MPMD) configurations.

Los valores posibles son:

  • 'off
  • 'single
  • 'multiple
fast-connectable? (default: #f)

Permanently enables the Fast Connectable setting for adapters that support it. When enabled other devices can connect faster to us, however the tradeoff is increased power consumptions. This feature will fully work only on kernel version 4.1 and newer.

privacy (default: 'off)

Default privacy settings.

  • 'off: Disable local privacy
  • 'network/on: A device will only accept advertising packets from peer devices that contain private addresses. It may not be compatible with some legacy devices since it requires the use of RPA(s) all the time
  • 'device: A device in device privacy mode is only concerned about the privacy of the device and will accept advertising packets from peer devices that contain their Identity Address as well as ones that contain a private address, even if the peer device has distributed its IRK in the past

and additionally, if controller-mode is set to 'dual:

  • 'limited-network: Apply Limited Discoverable Mode to advertising, which follows the same policy as to BR/EDR that publishes the identity address when discoverable, and Network Privacy Mode for scanning
  • 'limited-device: Apply Limited Discoverable Mode to advertising, which follows the same policy as to BR/EDR that publishes the identity address when discoverable, and Device Privacy Mode for scanning.
just-works-repairing (default: 'never)

Specify the policy to the JUST-WORKS repairing initiated by peer.

Possible values:

  • 'never
  • 'confirm
  • 'always
temporary-timeout (default: 30)

How long to keep temporary devices around. The value is in seconds. 0 disables the timer completely.

refresh-discovery? (default: #t)

Enables the device to issue an SDP request to update known services when profile is connected.

experimental (default: #f)

Enables experimental features and interfaces, alternatively a list of UUIDs can be given.

Possible values:

  • #t
  • #f
  • (list (uuid <uuid-1>) (uuid <uuid-2>) ...).

List of possible UUIDs:

  • d4992530-b9ec-469f-ab01-6c481c47da1c: BlueZ Experimental Debug,
  • 671b10b5-42c0-4696-9227-eb28d1b049d6: BlueZ Experimental Simultaneous Central and Peripheral,
  • 15c0a148-c273-11ea-b3de-0242ac130004: BlueZ Experimental LL privacy,
  • 330859bc-7506-492d-9370-9a6f0614037f: BlueZ Experimental Bluetooth Quality Report,
  • a6695ace-ee7f-4fb9-881a-5fac66c629af: BlueZ Experimental Offload Codecs.
remote-name-request-retry-delay (default: 300)

The duration to avoid retrying to resolve a peer’s name, if the previous try failed.

page-scan-type (default: #f)

BR/EDR Page scan activity type.

page-scan-interval (default: #f)

BR/EDR Page scan activity interval.

page-scan-window (default: #f)

BR/EDR Page scan activity window.

inquiry-scan-type (default: #f)

BR/EDR Inquiry scan activity type.

inquiry-scan-interval (default: #f)

BR/EDR Inquiry scan activity interval.

inquiry-scan-window (default: #f)

BR/EDR Inquiry scan activity window.

link-supervision-timeout (default: #f)

BR/EDR Link supervision timeout.

page-timeout (default: #f)

BR/EDR Page timeout.

min-sniff-interval (default: #f)

BR/EDR minimum sniff interval.

max-sniff-interval (default: #f)

BR/EDR maximum sniff interval.

min-advertisement-interval (default: #f)

LE minimum advertisement interval (used for legacy advertisement only).

max-advertisement-interval (default: #f)

LE maximum advertisement interval (used for legacy advertisement only).

multi-advertisement-rotation-interval (default: #f)

LE multiple advertisement rotation interval.

scan-interval-auto-connect (default: #f)

LE scanning interval used for passive scanning supporting auto connect.

scan-window-auto-connect (default: #f)

LE scanning window used for passive scanning supporting auto connect.

scan-interval-suspend (default: #f)

LE scanning interval used for active scanning supporting wake from suspend.

scan-window-suspend (default: #f)

LE scanning window used for active scanning supporting wake from suspend.

scan-interval-discovery (default: #f)

LE scanning interval used for active scanning supporting discovery.

scan-window-discovery (default: #f)

LE scanning window used for active scanning supporting discovery.

scan-interval-adv-monitor (default: #f)

LE scanning interval used for passive scanning supporting the advertisement monitor APIs.

scan-window-adv-monitor (default: #f)

LE scanning window used for passive scanning supporting the advertisement monitor APIs.

scan-interval-connect (default: #f)

LE scanning interval used for connection establishment.

scan-window-connect (default: #f)

LE scanning window used for connection establishment.

min-connection-interval (default: #f)

LE default minimum connection interval. This value is superseded by any specific value provided via the Load Connection Parameters interface.

max-connection-interval (default: #f)

LE default maximum connection interval. This value is superseded by any specific value provided via the Load Connection Parameters interface.

connection-latency (default: #f)

LE default connection latency. This value is superseded by any specific value provided via the Load Connection Parameters interface.

connection-supervision-timeout (default: #f)

LE default connection supervision timeout. This value is superseded by any specific value provided via the Load Connection Parameters interface.

autoconnect-timeout (default: #f)

LE default autoconnect timeout. This value is superseded by any specific value provided via the Load Connection Parameters interface.

adv-mon-allowlist-scan-duration (default: 300)

Allowlist scan duration during interleaving scan. Only used when scanning for ADV monitors. The units are msec.

adv-mon-no-filter-scan-duration (default: 500)

No filter scan duration during interleaving scan. Only used when scanning for ADV monitors. The units are msec.

enable-adv-mon-interleave-scan? (default: #t)

Enable/Disable Advertisement Monitor interleave scan for power saving.

cache (default: 'always)

GATT attribute cache.

Los valores posibles son:

  • 'always: Always cache attributes even for devices not paired, this is recommended as it is best for interoperability, with more consistent reconnection times and enables proper tracking of notifications for all devices
  • 'yes: Only cache attributes of paired devices
  • 'no: Never cache attributes.
key-size (default: 0)

Minimum required Encryption Key Size for accessing secured characteristics.

Los valores posibles son:

  • 0: Don’t care
  • 7 <= N <= 16
exchange-mtu (default: 517)

Exchange MTU size. Possible values are:

  • 23 <= N <= 517
att-channels (default: 3)

Number of ATT channels. Possible values are:

  • 1: Disables EATT
  • 2 <= N <= 5
session-mode (default: 'basic)

AVDTP L2CAP signalling channel mode.

Los valores posibles son:

  • 'basic: Use L2CAP basic mode
  • 'ertm: Use L2CAP enhanced retransmission mode.
stream-mode (default: 'basic)

AVDTP L2CAP transport channel mode.

Los valores posibles son:

  • 'basic: Use L2CAP basic mode
  • 'streaming: Use L2CAP streaming mode.
reconnect-uuids (default: '())

The ReconnectUUIDs defines the set of remote services that should try to be reconnected to in case of a link loss (link supervision timeout). The policy plugin should contain a sane set of values by default, but this list can be overridden here. By setting the list to empty the reconnection feature gets disabled.

Possible values:

  • '()
  • (list (uuid <uuid-1>) (uuid <uuid-2>) ...).
reconnect-attempts (default: 7)

Defines the number of attempts to reconnect after a link lost. Setting the value to 0 disables reconnecting feature.

reconnect-intervals (default: '(1 2 4 8 16 32 64))

Defines a list of intervals in seconds to use in between attempts. If the number of attempts defined in reconnect-attempts is bigger than the list of intervals the last interval is repeated until the last attempt.

auto-enable? (default: #f)

Defines option to enable all controllers when they are found. This includes adapters present on start as well as adapters that are plugged in later on.

resume-delay (default: 2)

Audio devices that were disconnected due to suspend will be reconnected on resume. resume-delay determines the delay between when the controller resumes from suspend and a connection attempt is made. A longer delay is better for better co-existence with Wi-Fi. The value is in seconds.

rssi-sampling-period (default: #xFF)

Default RSSI Sampling Period. This is used when a client registers an advertisement monitor and leaves the RSSISamplingPeriod unset.

Los valores posibles son:

  • #x0: Report all advertisements
  • N = #xXX: Report advertisements every N x 100 msec (range: #x01 to #xFE)
  • #xFF: Report only one advertisement per device during monitoring period.
Variable: gnome-keyring-service-type

Es el tipo del servicio que añade el entorno de escritorio el anillo de claves de GNOME. Su valor es un objeto gnome-keyring-configuration (véase a continuación).

Este servicio añade el paquete gnome-keyring al perfil del sistema y extiende PAM con entradas que usan pam_gnome_keyring.so, las cuales desbloquean el anillo de claves del sistema de la usuaria cuando ingrese en el sistema o cambie su contraseña con passwd.

Tipo de datos: gnome-keyring-configuration

Registro de configuración para el servicio del anillo de claves de GNOME.

keyring (predeterminado: gnome-keyring)

El paquete GNOME keyring usado.

pam-services

Una lista de pares (servicio . tipo) que denotan los servicios de PAM que deben extenderse, donde servicio es el nombre de un servicio existente que debe extenderse y tipo es login o passwd.

Si se proporciona login, añade un campo opcional pam_gnome_keyring.so al bloque de identificación sin parámetros y al bloque de sesión con auto_start. Si se proporciona passwd, añade un campo opcional pam_gnome_keyring.so al bloque de contraseña sin parámetros.

De manera predeterminada, este campo contiene “gdm-password” con el valor login y “passwd” tiene valor passwd.

Variable: seatd-service-type

seatd is a minimal seat management daemon.

Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root.

(append
  (list
   ;; make sure seatd is running
   (service seatd-service-type))

  ;; normally one would want %base-services
  %base-services)

seatd operates over a UNIX domain socket, with libseat providing the client side of the protocol. Applications that acquire access to the shared resources via seatd (e.g. sway) need to be able to talk to this socket. This can be achieved by adding the user they run under to the group owning seatd’s socket (usually “seat”), like so:

(user-account
  (name "alice")
  (group "users")
  (supplementary-groups '("wheel"   ; allow use of sudo, etc.
                          "seat"    ; seat management
                          "audio"   ; sound card
                          "video"   ; video devices such as webcams
                          "cdrom")) ; the good ol' CD-ROM
  (comment "Bob's sister"))

Depending on your setup, you will have to not only add regular users, but also system users to this group. For instance, some greetd greeters require graphics and therefore also need to negotiate with seatd.

Data Type: seatd-configuration

Configuration record for the seatd daemon service.

seatd (default: seatd)

The seatd package to use.

group (default: ‘"seat"’)

Group to own the seatd socket.

socket (default: ‘"/run/seatd.sock"’)

Where to create the seatd socket.

logfile (default: ‘"/var/log/seatd.log"’)

Log file to write to.

loglevel (default: ‘"error"’)

Log level to output logs. Possible values: ‘"silent"’, ‘"error"’, ‘"info"’ and ‘"debug"’.


Footnotes

(38)

D-Bus is an inter-process communication facility. Its system bus is used to allow system services to communicate and to be notified of system-wide events.


Next: Servicios de sonido, Previous: Servicios de impresión, Up: Servicios   [Contents][Index]