该文件~/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml
包含:
<?xml version="1.0"?>
<gconf>
<entry name="use_theme_colors" mtime="1517920383" type="bool" value="false"/>
<entry name="font" mtime="1517920383" type="string">
<stringvalue>Monospace 14</stringvalue>
</entry>
<entry name="use_system_font" mtime="1517920383" type="bool" value="false"/>
<entry name="default_size_rows" mtime="1517920383" type="int" value="100"/>
<entry name="default_size_columns" mtime="1517920383" type="int" value="150"/>
<entry name="use_custom_default_size" mtime="1517920383" type="bool" value="true"/>
<entry name="palette" mtime="1517920383" type="string">
<stringvalue>#2E2E34343636:#CCCC00000000:#4E4E9A9A0606:#C4C4A0A00000:#34346565A4A4:#757550507B7B:#060698209A9A:#D3D3D7D7CFCF:#555557575353:#EFEF29292929:#8A8AE2E23434:#FCFCE9E94F4F:#72729F9FCFCF:#ADAD7F7FA8A8:#3434E2E2E2E2:#EEEEEEEEECEC</stringvalue>
</entry>
<entry name="alternate_screen_scroll" mtime="1517920383" type="bool" value="true"/>
<entry name="background_color" mtime="1517920383" type="string">
<stringvalue>#FDFDF6F6F3F3</stringvalue>
</entry>
<entry name="visible_name" mtime="1517920383" type="string">
<stringvalue>Default</stringvalue>
</entry>
<entry name="bold_color" mtime="1517920383" type="string">
<stringvalue>#000000000000</stringvalue>
</entry>
<entry name="foreground_color" mtime="1517920383" type="string">
<stringvalue>#B5B589890F0F</stringvalue>
</entry>
</gconf>
我对这些stringvalue
条目很好奇:
palette
值=#2E2E34343636:#CCCC00000000:#4E4E9A9A0606:#C4C4A0A00000:#34346565A4A4:…
(冒号分隔的字符串,由 16 个 12 字符值组成)background_color
值=#FDFDF6F6F3F3
bold_color
值=#000000000000
foreground_color
值=#B5B589890F0F
这些值是颜色吗?如果是这样,为什么有 12 个字节而不是通常的 6 个字节?