Re: 开始尝试配置fvwm,他先给我一个下马威!
发表于 : 2011-08-31 20:03
翻页
代码: 全选
# Edit these colors and fonts however you like.
style "default"
{
fg[NORMAL] = "#E6E6E6"
fg[ACTIVE] = "#E6E6E6"
fg[PRELIGHT] = "#E6E6E6"
fg[SELECTED] = "#F5F8FA"
fg[INSENSITIVE] = "#262D33"
bg[NORMAL] = "#5C5B66"
bg[ACTIVE] = "#5B6665"
bg[PRELIGHT] = "#8A8899"
bg[SELECTED] = "#665646"
bg[INSENSITIVE] = "#5C5B66"
text[NORMAL] = "#E6E6E6"
text[ACTIVE] = "#E6E6E6"
text[PRELIGHT] = "#E6E6E6"
text[SELECTED] = "#F5F8FA"
text[INSENSITIVE] = "#E6E6E6"
base[NORMAL] = "#5C5B66"
base[ACTIVE] = "#5B6665"
base[PRELIGHT] = "#8A8899"
base[SELECTED] = "#665646"
base[INSENSITIVE] = "#5C5B66"
engine "clearlooks" {
menubarstyle = 2 # 0 = flat, 1 = sunken, 2 = flat gradient
menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient)
progressbarstyle = 0 # 0 = candy bar, 1 = flat
}
}
class "GtkWidget" style "default"
代码: 全选
# Uncomment and Edit the next line to enable your preferred gtk icon theme.
gtk-icon-theme-name = "Tango"
# Edit these colors and fonts however you like.
style "default"
{
fg[NORMAL] = "#E6E6E6"
fg[ACTIVE] = "#E6E6E6"
fg[PRELIGHT] = "#E6E6E6"
fg[SELECTED] = "#F5F8FA"
fg[INSENSITIVE] = "#262D33"
bg[NORMAL] = "#34404C" #*** buttons, menu, tabs and apps background
bg[ACTIVE] = "#5B6665" # tabs not selected, buttons pressed but not prelight
bg[PRELIGHT] = "#8A8899" # button mouseover, just like wharf
bg[SELECTED] = "#665646" # ???
bg[INSENSITIVE] = "#5C5B66" # ???
text[NORMAL] = "#000000" # text color while typing, non negociable
# text[NORMAL] = "InactiveText1" #*** text color while typing
text[ACTIVE] = "#E6E6E6"
text[PRELIGHT] = "#E6E6E6"
text[SELECTED] = "#F5F8FA"
text[INSENSITIVE] = "#E6E6E6"
base[NORMAL] = "#ffffff" # text background while typing, non negociable
# base[NORMAL] = "Inactive1" #*** text background while typing
base[ACTIVE] = "#5C5B66" # selected text not focused
base[ACTIVE] = "#5B6665" # selected text not focused
base[PRELIGHT] = "#5C5B66" #???
base[SELECTED] = "#665646" # selected text in text area
base[INSENSITIVE] = "#5C5B66" # ???
GtkButton::default_border = { 0, 0, 0, 0 }
GtkButton::default_outside_border = { 0, 0, 0, 0 }
GtkRange::trough_border = 0
GtkWidget::focus_padding = 1
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkScrollbar::min_slider_length = 30
GtkCheckButton::indicator_size = 12
GtkMenuBar::internal-padding = 0
engine "clearlooks" {
menubarstyle = 1 # 0 = flat, 1 = sunken, 2 = flat gradient
menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient)
progressbarstyle = 0 # 0 = candy bar, 1 = flat
}
}
class "*" style "default"
style "ToolTip"
{
bg[NORMAL] = "#586C7F"
base[NORMAL] = "#586C7F"
text[NORMAL] = "#E6E6E6"
fg[NORMAL] = "#E6E6E6"
}
widget "gtk-tooltips" style "ToolTip"
style "scrollbar" = "default"
{
# bg[PRELIGHT] = "Inactive1Light"
bg[PRELIGHT] = "#665646"
bg[NORMAL] = "#586C7F" #***
bg[ACTIVE] = "#5C5B66"
}
widget_class "*GtkVScrollbar*" style "scrollbar"
class "*GtkVScrollbar*" style "scrollbar"
widget_class "*GtkHScrollbar*" style "scrollbar"
class "*GtkHScrollbar*" style "scrollbar"
style "button" = "default"
{
xthickness = 1
ythickness = 1
# bg[PRELIGHT] = "Inactive1Light" # button mouseover, just like wharf
bg[PRELIGHT] = "#665646"
bg[NORMAL] = "#586C7F" #*** buttons, menu, tabs and apps background
bg[ACTIVE] = "#5B6665" # tabs not selected, buttons pressed but not prelight
}
widget_class "*Button*" style "button"
class "*Button*" style "button"
widget_class "*button*" style "button"
class "*button*" style "button"
widget_class "*OptionMenu*" style "button"
class "*OptionMenu*" style "button"
# Modify this for reverse text in menu according to colorscheme
style "clearlooks-menu-item" = "default"
{
xthickness = 2
ythickness = 3
fg[PRELIGHT] = "#F5F8FA"
text[PRELIGHT] = "#F5F8FA"
}
widget_class "*MenuItem.*" style "clearlooks-menu-item"
class "GtkMenuItem" style "clearlooks-menu-item"
style "menubar" = "default"
{
xthickness = 2
ythickness = 3
bg[PRELIGHT] = "#8A8899" # button mouseover, just like wharf
bg[NORMAL] = "#586C7F" #*** buttons, menu, tabs and apps background
bg[ACTIVE] = "#5B6665" # tabs not selected, buttons pressed but not prelight
}
widget_class "*MenuBar.*" style "menubar"
class "GtkMenuBar" style "menubar"
代码: 全选
#!/bin/bash
gnome-settings-daemon &
gnome-panel &
unity-2d-launcher &
unity-2d-places &
plasma-desktop &
parcellite &
wine c:/ipmsg/ipmsg.exe &
bubblefishymon &
能说的再详细一些么?哪些目录需要copy?leeaman 写了:直接copy就可以了
代码: 全选
~$ df -l
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda10 41514808 9183012 30223272 24% /
udev 628524 4 628520 1% /dev
tmpfs 255356 888 254468 1% /run
none 5120 0 5120 0% /run/lock
none 638380 296 638084 1% /run/shm
/dev/sda6 57672700 1098660 53644428 3% /mainhome
/dev/sda9 103216920 7543504 90430212 8% /soft
/dev/sda8 103216920 192116 97781592 1% /vbox
/dev/sda7 97654780 5502488 92152292 6% /dos
/dev/sda1 77000736 8465568 64623744 12% /mainos
代码: 全选
# window title, inactive and active
#
###################################################################
### Titlebar Decoration
###################################################################
Style * SmartPlacement, WindowShadeSteps 0, ResizeOpaque
Style * DecorateTransient, WindowShadeLazy
Style * IconBox 15 15 -1 1, MouseFocusClickRaises
Style * NoIcon, NoIconTitle
Style * NoHandles
#!Borders,
###################################################################
###################################################################
### Colorsets
###################################################################
#### Menu Colorset
Colorset 0 fg #000000, fgsh #bbbbbb, bg #ffffff, sh #ffffff, hi #ffffff, Translucent #ffffff 70
Colorset 1 fg #ffffff, fgsh #000000, bg #101F36, sh #101F36, hi #101F36
### General Colorset
Colorset 3 fg #777777, bg #ffffff, fgsh #bbbbbb, RootTransparent, Tint #283e5e 70, IconAlpha 60
Colorset 4 fg #000000, bg #ffffff, fgsh #bbbbbb, RootTransparent, Tint #101f36 70, IconAlpha 100
Colorset 5 fg #ffffff, bg #000000
Colorset 6 fg #ffffff, bg #000000, RootTransparent
#### Dock Colorset
Colorset 30 fg #ffffff, bg #ffffff, hi #dde5ec, sh #a6bbce, RootTransparent , Tint #101F36 65
###################################################################
DestroyFunc FuncFvwmDecorBackground
AddToFunc FuncFvwmDecorBackground
+ I TitleStyle AllActive TiledPixmap wm-icons/e017/title-3-active.xpm
+ I TitleStyle AllInactive TiledPixmap wm-icons/e017/title-3-inactive.xpm
+ I ButtonStyle All Simple -- UseTitleStyle
FuncFvwmDecorBackground
+ I FuncFvwmDecorBackground
AddButtonStyle 1 \
ActiveUp (Pixmap wm-icons/e017/title-2-active.xpm -- flat) \
ActiveDown (Pixmap wm-icons/e017/title-2-inactive.xpm -- flat) \
Inactive (Pixmap wm-icons/e017/title-2-inactive.xpm -- flat)
AddButtonStyle 6 \
ActiveUp (Pixmap wm-icons/e017/hide-active.xpm -- flat) \
ActiveDown (Pixmap wm-icons/e017/hide-pressed.xpm -- flat) \
Inactive (Pixmap wm-icons/e017/hide-inactive.xpm -- flat)
AddButtonStyle 4 \
ActiveUp (Pixmap wm-icons/e017/maximize-active.xpm -- flat) \
ActiveDown (Pixmap wm-icons/e017/maximize-pressed.xpm -- flat) \
Inactive (Pixmap wm-icons/e017/maximize-inactive.xpm -- flat)
AddButtonStyle 2 \
ActiveUp (Pixmap wm-icons/e017/close-active.xpm -- flat) \
ActiveDown (Pixmap wm-icons/e017/close-pressed.xpm -- flat) \
Inactive (Pixmap wm-icons/e017/close-inactive.xpm -- flat)
Style * Button 1, Button 6, Button 2, Button 4, GrabFocusOff
Style * FvwmButtons
AddToFunc FuncFvwmReloadDecor
+ I FuncFvwmSetFont-WindowTitle * 'shadow=1 r br b:xft:wenquanyi bitmap song:pixelsize=14:minspace=true:-wenquanyi-wenquanyi bitmap song-medium-r-*-*-14-*-*-*-*-*-*-*'
+ I FuncFvwmSetFont-IconTitle * 'shadow=1 r br b:xft:wenquanyi bitmap song:pixelsize=12:minspace=true:-wenquanyi-wenquanyi bitmap song-medium-r-*-*-12-*-*-*-*-*-*-*'
+ I BorderStyle Simple
+ I TitleStyle Centered
+ I TitleStyle -- Raised
+ I ButtonStyle All -- Raised
+ I FuncFvwmOverRideWindowLook
Style * HandleWidth 5
Style * BorderWidth 5
TitleStyle Height 24