文件操作 - dconf-custom-defaults.page
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/help/es/system-admin-guide/dconf-custom-defaults.page
编辑文件内容
<?xml version="1.0" encoding="utf-8"?> <page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="dconf-custom-defaults" xml:lang="es"> <info> <link type="guide" xref="setup"/> <link type="seealso" xref="dconf-profiles"/> <link type="seealso" xref="dconf-lockdown"/> <link type="seealso" xref="dconf"/> <revision pkgversion="3.6" version="0.1" date="2012-05-21" status="draft"/> <credit type="author copyright"> <name>Ryan Lortie</name> <email>desrt@desrt.ca</email> <years>2012</years> </credit> <credit type="author copyright"> <name>Jeremy Bicha</name> <email>jbicha@ubuntu.com</email> <years>2012</years> </credit> <credit type="author copyright"> <name>Jim Campbell</name> <email>jwcampbell@gmail.com</email> <years>2012</years> </credit> <credit type="editor"> <name>Jana Svarova</name> <email>jana.svarova@gmail.com</email> <years>2013</years> </credit> <credit type="copyright editor"> <name>Ekaterina Gerasimova</name> <email>kittykat3756@gmail.com</email> <years>2013</years> </credit> <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/> <desc>Establecer perfiles de configuración que apliquen a todo el sistema usando <sys its:translate="no">dconf</sys>.</desc> <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Daniel Mustieles</mal:name> <mal:email>daniel.mustieles@gmail.com</mal:email> <mal:years>2017</mal:years> </mal:credit> </info> <title>Valores predeterminados personalizados para opciones de configuración</title> <!-- TODO: reveiw against dconf-lockdown.page --> <p>System-wide default settings can be set by providing a default for a key in a <sys its:translate="no">dconf</sys> profile. These defaults can be overridden by the user.</p> <section id="example"> <title>Establecer valor predeterminado</title> <p>To set a default for a key, the <sys>user</sys> profile must exist and the value for the key must be added to a <sys its:translate="no">dconf</sys> database.</p> <steps> <title>Un ejemplo que muestra cómo establecer el fondo predeterminado</title> <item> <p>Cree el perfil <file its:translate="no">user</file>:</p> <listing its:translate="no"> <title><file>/etc/dconf/profile/user</file></title> <code>user-db:user system-db:local</code> </listing> <p><input its:translate="no">local</input> es el nombre de una base de datos <sys its:translate="no">dconf</sys>.</p> </item> <item> <p>Cree un <em>archivo de claves</em> para la base de datos <input its:translate="no">local</input> que contenga la configuración predeterminada:</p> <listing its:translate="no"> <title><file>/etc/dconf/db/local.d/01-background</file></title> <code># <span its:translate="yes">ruta de dconf</span> [org/gnome/desktop/background] # <span its:translate="yes">nombres de claves dconf y sus correspondientes valores</span> picture-uri='file:///usr/local/share/backgrounds/wallpaper.jpg' picture-options='scaled' primary-color='000000' secondary-color='FFFFFF'</code> </listing> </item> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/> </steps> <note> <p>When the <sys its:translate="no">user</sys> profile is created or changed, the user will need to log out and log in again before the changes will be applied.</p> </note> </section> </page>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件