文件操作 - org.gnome.gnome-system-log.gschema.xml
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/glib-2.0/schemas/org.gnome.gnome-system-log.gschema.xml
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <schemalist gettext-domain="gnome-utils-2.0"> <schema path="/org/gnome/gnome-system-log/" id="org.gnome.gnome-system-log"> <key type="s" name="logfile"> <default>'/var/log/messages'</default> <summary>Log file to open up on startup</summary> <description>Specifies the log file displayed at startup. The default is either /var/adm/messages or /var/log/messages, depending on your operating system.</description> </key> <key type="i" name="fontsize"> <default>10</default> <summary>Size of the font used to display the log</summary> <description>Specifies the size of the fixed-width font used to display the log in the main tree view. The default is taken from the default terminal font size.</description> </key> <key type="i" name="height"> <default>400</default> <summary>Height of the main window in pixels</summary> <description>Specifies the height of the log viewer main window in pixels.</description> </key> <key type="i" name="width"> <default>600</default> <summary>Width of the main window in pixels</summary> <description>Specifies the width of the log viewer main window in pixels.</description> </key> <key type="as" name="logfiles"> <default>[]</default> <summary>Log files to open up on startup</summary> <description>Specifies a list of log files to open up at startup. A default list is created by reading /etc/syslog.conf.</description> </key> <key type="as" name="filters"> <default>[]</default> <summary>List of saved filters</summary> <description>List of saved regexp filters</description> </key> </schema> </schemalist>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件