文件操作 - dconf-keyfiles.page
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/help/ko/system-admin-guide/dconf-keyfiles.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-keyfiles" xml:lang="ko"> <info> <link type="guide" xref="setup"/> <!-- <link type="seealso" xref="dconf-profiles" />--> <revision pkgversion="3.9" date="2013-08-06" status="stub"/> <credit type="author copyright"> <name>Ryan Lortie</name> <email>desrt@desrt.ca</email> <years>2012</years> </credit> <credit type="author"> <name>Aruna Sankaranarayanan</name> <email>aruna.evam@gmail.com</email> </credit> <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/> <desc>자세한 세팅을 설정하기 위해 <sys its:translate="no">dconf</sys> <em>키 파일</em>을 문자 편집기로 편집하세요.</desc> </info> <title>키 파일을 사용한 제어 시스템 설정</title> <p>System database files, located in <file its:translate="no">/etc/dconf/db</file>, cannot be edited because they are written in GVDB format. In order to change system settings using a text editor, you can modify <em>keyfiles</em> found in <em>keyfile directories</em>. Each keyfile directory corresponds to a particular system database file, and has the same name as the database file with a “.d” extension appended (for example, <file>/etc/dconf/db/local.d</file>). All keyfile directories are found in <file its:translate="no">/etc/dconf/db</file>, and each one contains keyfiles in a special format that can be compiled into the <sys its:translate="no">dconf</sys> database.</p> <listing> <title>이 디렉터리에 있는 키 파일은 이 처럼 보일 것 입니다:</title> <code> # 우리 사이트의 몇 가지 유용한 기본 설정 [system/proxy/http] host='172.16.0.1' enabled=true [org/gnome/desktop/background] picture-uri='file:///usr/local/rupert-corp/company-wallpaper.jpeg' </code> </listing> <note style="important"> <p><cmd>dconf update</cmd>는 당신이 키 파일을 수정할 때마다 실행되어야 합니다. 당신이 이것을 실행시킬 때, <sys its:translate="no">dconf</sys>는 시스템 데이터베이스의 타임스탬프와 그에 해당되는 키 파일 디렉터리의 타임스탬프를 비교합니다. 만약 키 파일 디렉터리의 타임스탬프가 데이터베이스 파일의 타임스탬프보다 최근에 더 가깝다면, <sys its:translate="no">dconf</sys>는 <code>시스템-데이터베이스</code>파일을 갱신하고 설정을 재독하기 위해 실행 상태의 모든 애플리케이션에 차례로 알림을 보내는 <sys>Dbus</sys> 시스템에 알림을 보냅니다.</p> </note> </page>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件