使用者工具

網站工具


linux:desktop

這是本文件的舊版!


Change Nautilus Icon Text Colors (Including Desktop Icons)

http://www.ubuntuforums.org/showthread.php?t=89197

建立 ~/.gtkrc-2.0 檔案,若不存在則新增,並放入下列程式碼:

style "desktop-icon"
{
 NautilusIconContainer::frame_text = X
 text[NORMAL] = "#YYYYYY"
 NautilusIconContainer::normal_alpha = Z 
}
class "GtkWidget" style "desktop-icon"

其中,X 為 True/False 值,#YYYYYY 為 HTML 的色碼,Z 為文字的背景透明度,0~255,255 代表全白。

style "desktop-icon"
{
 NautilusIconContainer::normal_alpha = 0
 text[NORMAL] = "#000000"
 NautilusIconContainer::frame_text = 1
}
class "GtkWidget" style "desktop-icon"
style "desktop-icon"
{
NautilusIconContainer::normal_alpha = 0
text[NORMAL] = "darkblue"
NautilusIconContainer::frame_text = 70
}
widget_class "*DesktopIcon*" style "desktop-icon"     #只針對桌面圖示
#class "GtkWidget" style "desktop-icon"
linux/desktop.1174054746.txt.gz · 上一次變更: 2007/05/05 22:42 (外部編輯)