Ekaterina Gerasimova
kittykat3756@gmail.com 2013
Petr Kovar
pknbe@volny.cz 2014
Amaitu erabiltzaile-saio inaktibo bat.

# Konfiguratu saio-amaiera automatikoa

User sessions that have been idle for a specific period of time can be ended automatically. You can set different behaviour based on whether the machine is running from a battery or from mains power by setting the corresponding dconf key, then locking it.

Kontuan izan erabiltzaileek datuak galdu ditzaketela inaktibo dagoen saio bat automatikoki amaitzen bada.

# Set automatic logout for a mains powered machine

Sortu makina osorako diren ezarpenak gordetzeko local datu-base bat /etc/dconf/db/local.d/00-autologout fitxategian:

[org/gnome/settings-daemon/plugins/power] # Set the timeout to 900 seconds when on mains power sleep-inactive-ac-timeout=900 # Set action after timeout to be logout when on mains power sleep-inactive-ac-type='logout'

Indargabetu erabiltzailearen ezarpena eta eragotzi aldatu dezala /etc/dconf/db/local.d/locks/autologout fitxategian:

# Blokeatu saio-amaiera automatikoaren ezarpenak /org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-timeout /org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-type

Interesgarriak dira honako GSettings gakoak:

# `org.gnome.settings-daemon.plugins.power.sleep-inactive-ac-timeout`

Ordenagailua inaktibo egon behar duen segundo kopurua lotara joan baino lehen, entxufatuta dagoenean.

# `org.gnome.settings-daemon.plugins.power.sleep-inactive-ac-type`

Zer gertatuko den denbora-muga gainditu denean eta ordenagailua entxufatuta exekutatzen ari bada.

# `org.gnome.settings-daemon.plugins.power.sleep-inactive-battery-timeout`

Ordenagailua inaktibo egon behar duen segundo kopurua lotara joan baino lehen, bateriarekin ari denean.

# `org.gnome.settings-daemon.plugins.power.sleep-inactive-battery-type`

Zer gertatuko den denbora-muga gainditu denean eta ordenagailua bateriarekin exekutatzen ari bada.

You can run gsettings range on a key for a list of values which you can use. For example:

    $ gsettings range org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type
    enum
    'blank' # blanks the screen
    'suspend' # suspends the system
    'shutdown' # starts a standard shutdown procedure
    'hibernate' # hibernates the system
    'interactive' # shows a pop-up query asking the user what to do
    'nothing' # does nothing
    'logout' # log out from the session