请教archlinux+openbox下图标主题的安装
-
- 帖子: 17
- 注册时间: 2012-04-17 15:16
请教archlinux+openbox下图标主题的安装
因为安装tint2-svn在启动项里添加了pcmanfm文件管理系统,
发现pcmanfm是个白色的方块~
于是google openbox下关于图标主题安装的方法,始终不得其解!
在此向大家请教如何在openbox下配置图标主题!
gtkrc-2.0解决图标,pcmanfm依然方块,后来查看tint2 wiki原来要在里面设置图标主题!
感谢大家~尤其感谢3楼
发现pcmanfm是个白色的方块~
于是google openbox下关于图标主题安装的方法,始终不得其解!
在此向大家请教如何在openbox下配置图标主题!
gtkrc-2.0解决图标,pcmanfm依然方块,后来查看tint2 wiki原来要在里面设置图标主题!
感谢大家~尤其感谢3楼
上次由 ljay207 在 2013-05-03 0:09,总共编辑 1 次。
-
- 帖子: 7
- 注册时间: 2010-05-17 13:46
Re: 请教archlinux+openbox下图标主题的安装
你下个OBCONF吧,终端运行,应该默认安装,主题不少,可以自己找下
-
- 帖子: 45
- 注册时间: 2009-05-10 23:43
- 系统: Debian
Re: 请教archlinux+openbox下图标主题的安装
gnome-icon-theme
- adagio
- 论坛版主
- 帖子: 22110
- 注册时间: 2008-02-17 23:47
- 来自: 美丽富饶的那啥星球
Re: 请教archlinux+openbox下图标主题的安装
所有的gtk程序UI都受一个文件控制, ~/.gtkrc-2.0,以下是我的
你应该看得懂怎么设置图标主题了吧?
同样可以控制鼠标、内框theme、配色,甚至是hint,前提是你必须提前把主题包分别解压到~/.icons或者~/.themes,以及安装了相应的渲染引擎,比如aurora-theme-engines等等。
你问我怎么能写出这么复杂的配置文件?
sorry,我可没那能耐,因为我忘了把最开头两段贴出来
其实干这事不用敲一个码,只要装个程序
代码: 全选
gtk-theme-name="Adwaita-Dark"
gtk-icon-theme-name="Faenza-Radiance"
gtk-font-name="文泉驿微米黑 10"
gtk-cursor-theme-name="Corporate"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintslight"
gtk-xft-rgba="rgb"
gtk-color-scheme="tooltip_fg_color:#000000\nbase_color:#718c718c718c\nselected_fg_color:#FFF\ntext_color:#000\nbg_color:#525252\ntooltip_bg_color:#F5F5B5\nselected_bg_color:#009BF9\nfg_color:#CCC\n"
include "/home/adagio/.gtkrc-2.0.mine"
同样可以控制鼠标、内框theme、配色,甚至是hint,前提是你必须提前把主题包分别解压到~/.icons或者~/.themes,以及安装了相应的渲染引擎,比如aurora-theme-engines等等。
你问我怎么能写出这么复杂的配置文件?
sorry,我可没那能耐,因为我忘了把最开头两段贴出来
代码: 全选
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
- adagio
- 论坛版主
- 帖子: 22110
- 注册时间: 2008-02-17 23:47
- 来自: 美丽富饶的那啥星球
Re: 请教archlinux+openbox下图标主题的安装
对了,2L说的那玩意虽然不能解决你的问题,不过用来控制openbox边框挺好
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
- adagio
- 论坛版主
- 帖子: 22110
- 注册时间: 2008-02-17 23:47
- 来自: 美丽富饶的那啥星球
Re: 请教archlinux+openbox下图标主题的安装
反正现在没人,我再盖一楼没意见吧?
以上所述为“终极”解决方案,因为此方法一次搞定,换遍任意WM都OK
至少本人使用过的openbox、E17、xfce,甚至kde里都没有问题,至于什么fvwm可以去骚扰死EE
以上所述为“终极”解决方案,因为此方法一次搞定,换遍任意WM都OK
至少本人使用过的openbox、E17、xfce,甚至kde里都没有问题,至于什么fvwm可以去骚扰死EE
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
- yjcong
- 帖子: 2470
- 注册时间: 2006-02-28 3:11
Re: 请教archlinux+openbox下图标主题的安装
俺的adagio 写了:对了,2L说的那玩意虽然不能解决你的问题,不过用来控制openbox边框挺好
代码: 全选
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#D9D9D9\nbase_color:#fff\ntext_color:#1A1A1A\nselected_bg_color:#86ABD9\nselected_fg_color:#fff\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000"
# gtk-icon-sizes = "gtk-button=16,16"
gtk-icon-sizes = "panel-menu=16,16 : gtk-menu=16,16 : gtk-button=16,16 : gtk-small-toolbar=16,16 : gtk-large-toolbar=16,16 : gtk-dialog=32,32 : gtk-dnd=32,32"
# gtk-icon-sizes = "gtk-menu=16,16 : gtk-button=16,16 : gtk-small-toolbar=16,16 : gtk-large-toolbar=16,16 : gtk-dialog=32,32 : gtk-dnd=32,32"
style "clearlooks-default"
{
# base class for everything
# setting this to 0 has *very* tight packing. 1-2 looks better.
GtkWidget ::focus_padding = 0
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
GtkButton ::default-border = { 0, 0, 0, 0 }
GtkButton ::default-outside-border={ 0, 0, 0, 0 }
GtkButtonBox ::child_min_width = 0
GtkButtonBox ::child_min_heigth = 0
GtkButtonBox ::child_internal_pad_x = 0
GtkButtonBox ::child_internal_pad_y = 0
GtkProgressBar ::min-horizontal-bar-height = 15
GtkProgressBar ::min-horizontal-bar-width = 90
GtkProgressBar ::min-vertical-bar-height = 60
GtkProgressBar ::min-vertical-bar-width = 18
GtkCheckButton ::indicator-size = 13
# GtkCheckButton ::indicator-spacing = 3
GtkPaned ::handle-size = 4
GtkRange ::trough-border = 0
GtkRange ::slider-width = 13
GtkRange ::stepper-size = 13
GtkRange ::stepper_spacing = 0
GtkScale ::slider-length = 23
GtkScale ::trough-side-details = 1
GtkScale ::value_spacing = 0
#GtkScrolledWindow::scrollbar_spacing = 3
# expander in e.g. save dialog to see details
GtkExpander ::expander-size = 6
GtkExpander ::expander_spacing = 0
# e.g. eclipse package view
GtkTreeView ::expander-size = 13
GtkTreeView ::vertical-separator = 0
GtkTreeView ::horizontal-separator = 0
# handler size between button bars
GtkToolbar ::internal-padding = 0
GtkToolbar ::space-size =0
GtkMenuBar ::internal-padding = 0
GtkMenu ::horizontal-padding = 0
GtkMenu ::vertical-padding = 0
GtkOptionMenu ::indicator_size = 0
GtkOptionMenu ::indicator_spacing = 0
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
xthickness = 1
ythickness = 1
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = darker (@bg_color)
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = @bg_color
bg[ACTIVE] = shade (0.9, @bg_color)
base[NORMAL] = @base_color
base[PRELIGHT] = shade (0.95, @bg_color)
base[ACTIVE] = shade (0.9, @selected_bg_color)
base[SELECTED] = @selected_bg_color
base[INSENSITIVE] = @bg_color
text[NORMAL] = "#000"###@text_color
text[PRELIGHT] = @text_color
text[ACTIVE] = "#0000ff"###@selected_fg_color
text[SELECTED] ="#000"### @selected_fg_color
text[INSENSITIVE] = darker (@bg_color)
engine "clearlooks"
{
colorize_scrollbar = TRUE
menubarstyle =2 # 0 = flat, 1 = sunken, 2 = flat gradient
toolbarstyle = 0 # 0 = flat, 1 = enable effects
animation = FALSE
style = GUMMY
}
}
style "clearlooks-wide"
{
xthickness = 0
ythickness = 0
}
style "clearlooks-wider"
{
xthickness = 1
ythickness = 1
}
style "clearlooks-button"
{
xthickness = 1
ythickness =1
bg[NORMAL] = shade (1.04, @bg_color) # "#f6f4f1"
bg[PRELIGHT] = shade (1.06, @bg_color)
bg[ACTIVE] = shade (0.85, @bg_color)
}
style "clearlooks-notebook"
{##tab color
xthickness = 0
ythickness = 0
# bg[NORMAL] ="#B7B7B7"
bg[NORMAL] = "#D9D9D9"
bg[ACTIVE] = "#D9D9D9"
GtkNotebook::tab-border = 0
GtkNotebook::tab-hborder = 0
GtkNotebook::tab-vborder = 0
GtkNotebook::show-border = 0
GtkNotebook::gtk-button-images = 0
GtkNotebook::gtk-menu-images = 0
GtkNotebook::arrow-spacing = 0
GtkNotebook::tab-curvature = 0
GtkNotebook::tab-overlap = 0
GtkNotebook::focus-line-width = 0
GtkNotebook::tab-height=80
}
style "clearlooks-tasklist"
{
xthickness = 0
ythickness = 0
}
style "clearlooks-menu"
{
xthickness = 0
ythickness = 0
bg[NORMAL] = shade (1.08, @bg_color)
# Radius of the menu items (inside menus)
engine "clearlooks" {
radius = 0.0
}
}
style "clearlooks-menu-item"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] = "#0000ff" ###@selected_fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_color)
}
style "clearlooks-contrast-scrollbar"
{
GtkScrollbar::has_forward_stepper = 0
GtkScrollbar::has_backward_stepper = 0
GtkScrollbar ::min-slider-length = 61
# bg[NORMAL] = "#2F4F4F"
# bg[PRELIGHT] = "#2F4F4F"
}
# Based on the default style so that the colors from the button
# style are overriden again.
style "clearlooks-treeview-header" = "clearlooks-default"
{
xthickness = 0
ythickness = 0
}
style "clearlooks-frame-title"
{
fg[NORMAL] = lighter (@fg_color)
}
style "clearlooks-tooltips"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
}
style "clearlooks-progressbar"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] ="#0000ff"### @selected_fg_color
}
#########################################
# Matches
#########################################
# Clearlooks default style is applied to every widget
class "GtkWidget" style "clearlooks-default"
# Increase the x/ythickness in some widgets
class "GtkToolbar" style "clearlooks-default"
class "GtkRange" style "clearlooks-wide"
class "GtkFrame" style "clearlooks-wide"
class "GtkSeparator" style "clearlooks-wide"
class "GtkEntry" style "clearlooks-wider"
# General matching following, the order is choosen so that the right styles override each other
# eg. progressbar needs to be more important then the menu match.
widget_class "*<GtkButton>" style "clearlooks-button"
widget_class "*<GtkNotebook>" style "clearlooks-notebook"
widget_class "*<GtkProgressBar>" style "clearlooks-progressbar"
widget_class "*<GtkMenu>*" style "clearlooks-menu"
widget_class "*<GtkMenuItem>*" style "clearlooks-menu-item"
widget_class "*<GtkScrollbar>*" style "clearlooks-contrast-scrollbar"
widget_class "*.<GtkFrame>.<GtkLabel>" style "clearlooks-frame-title"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "clearlooks-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "clearlooks-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "clearlooks-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "clearlooks-treeview-header"
# The window of the tooltip is called "gtk-tooltip"
################################
# FIXME:
# This will not work if one embeds eg. a button into the tooltip.
# As far as I can tell right now we will need to rework the theme
# quite a bit to get this working correctly.
# (It will involve setting different priorities, etc.)
################################
widget "gtk-tooltip*" style "clearlooks-tooltips"
###################################################
# Special cases and work arounds
###################################################
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# Similar hack also in the menuitem style.
style "clearlooks-combobox-text-color-workaround"
{
text[NORMAL] = "#000"###@fg_color
text[PRELIGHT] = @fg_color
text[SELECTED] ="#000"### @selected_fg_color
text[ACTIVE] = "#0000ff"##@fg_color
text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.GtkComboBox" style "clearlooks-combobox-text-color-workaround"
########################
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"
gtk-can-change-accels=1
一梦三年,
松风依旧,
萝月何曾老.
灵幽听微, 谁观玉颜?
灼灼春华, 绿叶含丹.
松风依旧,
萝月何曾老.
灵幽听微, 谁观玉颜?
灼灼春华, 绿叶含丹.
- adagio
- 论坛版主
- 帖子: 22110
- 注册时间: 2008-02-17 23:47
- 来自: 美丽富饶的那啥星球
Re: 请教archlinux+openbox下图标主题的安装
想来想去,应该最后向对岸的LXDE作者表示一下敬意才好
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
- adagio
- 论坛版主
- 帖子: 22110
- 注册时间: 2008-02-17 23:47
- 来自: 美丽富饶的那啥星球
Re: 请教archlinux+openbox下图标主题的安装
界神马看不懂不会啥fvwm吧你搞那么长把人家吓跑了咋整啊啊啊啊啊yjcong 写了:俺的adagio 写了:对了,2L说的那玩意虽然不能解决你的问题,不过用来控制openbox边框挺好
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
-
- 帖子: 17
- 注册时间: 2012-04-17 15:16
Re: 请教archlinux+openbox下图标主题的安装
不会吓跑的 一直玩linux 嫌ubuntu 臃肿 转到arch了!害我XP也不小心阉割了!adagio 写了:界神马看不懂不会啥fvwm吧你搞那么长把人家吓跑了咋整啊啊啊啊啊yjcong 写了:俺的adagio 写了:对了,2L说的那玩意虽然不能解决你的问题,不过用来控制openbox边框挺好
不知道怎么送感谢
-
- 帖子: 98
- 注册时间: 2006-08-30 12:56
- 来自: 大县城
Re: 请教archlinux+openbox下图标主题的安装
adagio 写了:其实干这事不用敲一个码,只要装个程序
这个程序在Lubuntu中好像是自带的?叫什么名字呢?
-
- 帖子: 98
- 注册时间: 2006-08-30 12:56
- 来自: 大县城
Re: 请教archlinux+openbox下图标主题的安装
ycerror 写了:adagio 写了:其实干这事不用敲一个码,只要装个程序
这个程序在Lubuntu中好像是自带的?叫什么名字呢?
我已经知道了,叫 lxappearance