歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 12.04 如何修改背景色

Ubuntu 12.04 如何修改背景色

日期:2017/2/28 14:45:48   编辑:Linux教程

之前使用Ubuntu 10.10的時候,設置背景顏色為養眼的綠豆色很容易,最近升級了Ubuntu 12.04,發現系統沒有提供可視化的修改工具啊,於是開始Google搜索,在Ubuntu論壇網站上找到了解決方法。

首先安裝dconf-editor,

sudo apt-get install dconf-tools

然後打開dconf-editor,然後找:org – gnome -desktop – interface,然後找到 gtk-color-scheme 這一項,默認是空的,需要你自己寫進去。

寫的格式是:

項目名稱:顏色名稱;項目名稱:顏色名稱;

項目名稱要在這裡找http://live.gnome.org/GnomeArt/Tutorials/GtkThemes/SymbolicColors 其中的Default colors in GNOME

fg_color The base for the foreground colors.
bg_color Color to generate the background colors from.
base_color The base color.
text_color The text color in input widgets.
selected_bg_color Color for the background of selected text.
selected_fg_color Color of selected text.
tooltip_bg_color Background color of tooltips.
tooltip_fg_color Text color for text in tooltips.

我這裡設置是這樣的

base_color:#CCE8CF

其中bg_color一般為文件浏覽等中的背景,一般為非文本的背景。

base_color 這裡為文本編輯區域的背景。

注:設置的時候下面的描述信息可能為A ‘\n’ separated list of “name:color” as defined by the ‘gtk-color-scheme’ setting,

這裡需要主要需要使用英文的”;”而不是”\n”

Copyright © Linux教程網 All Rights Reserved