|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="power-dim-screen" xml:lang="es">
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
<info>
|
|
Packit Bot |
4b9ea4 |
<link type="guide" xref="user-settings"/>
|
|
Packit Bot |
4b9ea4 |
<link type="seealso" xref="dconf-profiles"/>
|
|
Packit Bot |
4b9ea4 |
<link type="seealso" xref="dconf-lockdown"/>
|
|
Packit Bot |
4b9ea4 |
<revision pkgversion="3.12" date="2014-06-20" status="candidate"/>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
<credit type="author copyright">
|
|
Packit Bot |
4b9ea4 |
<name>Matthias Clasen</name>
|
|
Packit Bot |
4b9ea4 |
<email>matthias.clasen@gmail.com</email>
|
|
Packit Bot |
4b9ea4 |
<years>2012</years>
|
|
Packit Bot |
4b9ea4 |
</credit>
|
|
Packit Bot |
4b9ea4 |
<credit type="editor">
|
|
Packit Bot |
4b9ea4 |
<name>Jana Svarova</name>
|
|
Packit Bot |
4b9ea4 |
<email>jana.svarova@gmail.com</email>
|
|
Packit Bot |
4b9ea4 |
<years>2013</years>
|
|
Packit Bot |
4b9ea4 |
</credit>
|
|
Packit Bot |
4b9ea4 |
<credit type="editor">
|
|
Packit Bot |
4b9ea4 |
<name>Petr Kovar</name>
|
|
Packit Bot |
4b9ea4 |
<email>pknbe@volny.cz</email>
|
|
Packit Bot |
4b9ea4 |
<years>2014</years>
|
|
Packit Bot |
4b9ea4 |
</credit>
|
|
Packit Bot |
4b9ea4 |
<credit type="editor">
|
|
Packit Bot |
4b9ea4 |
<name>Ekaterina Gerasimova</name>
|
|
Packit Bot |
4b9ea4 |
<email>kittykat3756@gmail.com</email>
|
|
Packit Bot |
4b9ea4 |
<years>2014</years>
|
|
Packit Bot |
4b9ea4 |
</credit>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
<desc>Make the screen dim after a specific amount of time when the user is
|
|
Packit Bot |
4b9ea4 |
idle.</desc>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
|
|
Packit Bot |
4b9ea4 |
<mal:name>Daniel Mustieles</mal:name>
|
|
Packit Bot |
4b9ea4 |
<mal:email>daniel.mustieles@gmail.com</mal:email>
|
|
Packit Bot |
4b9ea4 |
<mal:years>2017</mal:years>
|
|
Packit Bot |
4b9ea4 |
</mal:credit>
|
|
Packit Bot |
4b9ea4 |
</info>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
<title>Dim screen when user is idle</title>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
You can make the computer screen dim after the computer has been idle (not
|
|
Packit Bot |
4b9ea4 |
used) for some period of time.
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
<steps>
|
|
Packit Bot |
4b9ea4 |
<title>Dim screen on idle computer</title>
|
|
Packit Bot |
4b9ea4 |
<include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/>
|
|
Packit Bot |
4b9ea4 |
<include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/>
|
|
Packit Bot |
4b9ea4 |
<item>
|
|
Packit Bot |
4b9ea4 |
Cree el archivo <file>/etc/dconf/db/local.d/00-power</file> para proporcionar informaciĆ³n a la base de datos <sys>local</sys>.
|
|
Packit Bot |
4b9ea4 |
<listing>
|
|
Packit Bot |
4b9ea4 |
<title><file>/etc/dconf/db/local.d/00-power</file></title>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
# Specify the dconf path
|
|
Packit Bot |
4b9ea4 |
[org/gnome/settings-daemon/plugins/power]
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
# Enable screen dimming
|
|
Packit Bot |
4b9ea4 |
idle-dim=true
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
# Set brightness after dimming
|
|
Packit Bot |
4b9ea4 |
idle-brightness=30
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
</listing>
|
|
Packit Bot |
4b9ea4 |
</item>
|
|
Packit Bot |
4b9ea4 |
<item>
|
|
Packit Bot |
4b9ea4 |
Cree el archivo <file>/etc/dconf/db/local.d/00-session</file> para proporcionar informaciĆ³n a la base de datos <sys>local</sys>.
|
|
Packit Bot |
4b9ea4 |
<listing>
|
|
Packit Bot |
4b9ea4 |
<title><file>/etc/dconf/db/local.d/00-session</file></title>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
# Specify the dconf path
|
|
Packit Bot |
4b9ea4 |
[org/gnome/desktop/session]
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
# The number of seconds of inactivity before the session is considered idle
|
|
Packit Bot |
4b9ea4 |
idle-delay=uint32 300
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
</listing>
|
|
Packit Bot |
4b9ea4 |
You must include the uint32 along with the
|
|
Packit Bot |
4b9ea4 |
integer key values as shown.
|
|
Packit Bot |
4b9ea4 |
</item>
|
|
Packit Bot |
4b9ea4 |
<item>
|
|
Packit Bot |
4b9ea4 |
To prevent the user from overriding these settings, create the file
|
|
Packit Bot |
4b9ea4 |
<file>/etc/dconf/db/local.d/locks/power-saving</file> with the following
|
|
Packit Bot |
4b9ea4 |
content:
|
|
Packit Bot |
4b9ea4 |
<listing>
|
|
Packit Bot |
4b9ea4 |
<title><file>/etc/dconf/db/local.db/locks/power-saving</file></title>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
# Lock screen dimming and idle timeout
|
|
Packit Bot |
4b9ea4 |
/org/gnome/settings-daemon/plugins/power/idle-dim
|
|
Packit Bot |
4b9ea4 |
/org/gnome/settings-daemon/plugins/power/idle-brightness
|
|
Packit Bot |
4b9ea4 |
/org/gnome/desktop/session/idle-delay
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
</listing>
|
|
Packit Bot |
4b9ea4 |
If you want to let the user change these settings, skip this step.
|
|
Packit Bot |
4b9ea4 |
</item>
|
|
Packit Bot |
4b9ea4 |
<include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/>
|
|
Packit Bot |
4b9ea4 |
<include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/>
|
|
Packit Bot |
4b9ea4 |
</steps>
|
|
Packit Bot |
4b9ea4 |
|
|
Packit Bot |
4b9ea4 |
</page>
|