熱搜:win11繞過硬件限制安裝 一鍵重裝Win10系統(tǒng) 最干凈的u盤啟動(dòng)盤 真正純凈版的win7系統(tǒng)
時(shí)間:2015-03-18 17:30:33 作者:qipeng 來源:系統(tǒng)之家 1. 掃描二維碼隨時(shí)看資訊 2. 請使用手機(jī)瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150318/41894.html 手機(jī)查看 評論 反饋
Ubuntu 12.04之前的版本是能夠設(shè)置背景色的,而Ubuntu 12.04卻無法修改背景色,那么想要修改文本之類的背景色要怎么辦呢?下面小編就給大家介紹下Ubuntu 12.04無法修改背景色的解決方法,希望對你有所幫助。
問題:
之前使用Ubuntu 10.10的時(shí)候,設(shè)置背景顏色為養(yǎng)眼的綠豆色很容易,最近升級了Ubuntu 12.04,發(fā)現(xiàn)系統(tǒng)沒有提供可視化的修改工具。
解決方法:
首先安裝dconf-editor,
sudo apt-get install dconf-tools
然后打開dconf-editor,然后找:org – gnome -desktop – interface,然后找到 gtk-color-scheme 這一項(xiàng),默認(rèn)是空的,需要你自己寫進(jìn)去。
寫的格式是:
項(xiàng)目名稱:顏色名稱;項(xiàng)目名稱:顏色名稱;
項(xiàng)目名稱要在這里找https://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.
我這里設(shè)置是這樣的
base_color:#CCE8CF
其中bg_color一般為文件瀏覽等中的背景,一般為非文本的背景。
base_color 這里為文本編輯區(qū)域的背景。
注:設(shè)置的時(shí)候下面的描述信息可能為A ‘\n’ separated list of “name:color” as defined by the ‘gtk-color-scheme’ setting,
這里需要主要需要使用英文的”;”而不是”\n”
上面就是Ubuntu 12.04修改背景色的方法介紹了,通過修改代碼,就能將背景色設(shè)置成自己喜歡的顏色了,需要注意的是base_color和bg_color設(shè)置的背景色區(qū)域是不一樣的。
發(fā)表評論
共0條
評論就這些咯,讓大家也知道你的獨(dú)特見解
立即評論以上留言僅代表用戶個(gè)人觀點(diǎn),不代表系統(tǒng)之家立場