|
--------------------------------------------------------------------------------
无双 mushuang.forumer.com
原文在http://mushuang.forumer.com/index.php?showtopic=211
enlightenment是个好环境 界面清新 速度快 并且在古老的时代 被看成是与GNOME KDE并列的三大桌面管理器
后面由于作者坚持enlightenment的艺术家特性 保证enlightenment的外观 使它的名气没有gnome kde那么大
不过 如果你觉得这些死板的桌面不适合自己的风格的话 那可以试用enlightemnet
我使用的是enlightenment R16.6 +aqua + epplets +eterm
aqua可以在e.themes.org下载 注意是DR16的
安装很简单 把它解压到/usr/share/enlightenment/themes目录下就可以了
如果默认就使用aqua 那可以把DEFAULTS 连接到aqua上 然后rm ~/.enlightenment
中文化
enlightenment的中文化分两个方面 1 是gtk的中文化
这个修改/etc/gtk/gtkrc.zh_CN
内容如下
CODE
# $(gtkconfigdir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <[email protected]>
#
style "gtk-default-zh-cn" {
fontset = "-misc-simsun-medium-r-normal--*-*-*-*-*-*-*-*,-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1"
#"-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\ #-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
当然需要自己先安装simsun 这个不说了 我以前也写过
第二个设置enlightenment要使用的字体
修改
/usr/share/enlightenment/themes/aqua/textclass.cfg
CODE
#include <definitions>
__E_CFG_VERSION 0
__TCLASS __BGN
__NAME "TEXT1"
__NORMAL "-misc-simsun-medium-r-normal--*-*-*-*-*-*-*-*,-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 73 80 96
__BACKGROUND_COLOR 174 174 174
__NORMAL_ACTIVE "-misc-simsun-medium-r-normal--*-*-*-*-*-*-*-*,-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1"
__DRAWING_EFFECT __EFFECT_SHADOW
__FORGROUND_COLOR 0 0 0
__BACKGROUND_COLOR 174 174 174
__JUSTIFICATION 512
__NORMAL_ACTIVE_STICKY "-misc-simsun-medium-r-normal--*-*-*-*-*-*-*-*,-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 70 48 80
__BACKGROUND_COLOR 255 255 255
__JUSTIFICATION 512
__END
__TCLASS __BGN
__NAME "TEXT2"
__NORMAL "-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 0 0 0
__BACKGROUND_COLOR 0 0 0
__JUSTIFICATION 1024
__NORMAL_ACTIVE "-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*"
__FORGROUND_COLOR 255 255 255
__BACKGROUND_COLOR 0 0 0
__JUSTIFICATION 1024
__END
__TCLASS __BGN
__NAME "TOOLTIP_TEXT"
__NORMAL "-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 0 0 0
__BACKGROUND_COLOR 0 0 0
__JUSTIFICATION 1024
__END
__TCLASS __BGN
__NAME "COORDS"
__NORMAL "-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 0 0 0
__BACKGROUND_COLOR 255 255 255
__JUSTIFICATION 0
__END
__TCLASS __BGN
__NAME "MENU"
__NORMAL "-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 0 0 0
__BACKGROUND_COLOR 255 255 255
__JUSTIFICATION 0
__HILITED "-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 255 255 255
__BACKGROUND_COLOR 0 0 0
__JUSTIFICATION 0
__END
如果不修改 那标题无法显示中文 这有点不太好 当然修改了后 标题的中文也显示不正常 可能限制中文字体大小会更好一些
以上操作完后 rm -rf ~/.enlightenment
再重启动enlightenment
文件内容在~/enlightenment/...e_session-XXXXXX.snapshots.0
布局还有点乱 不过把一些觉得不错的东西放出来了
CODE
NEW: DEFAULT.Enlightenment_IconBox
NAME: DEFAULT
CLASS: Enlightenment_IconBox
DESKTOP: 0
RES: 1024 768
WH: 160 60
XY: 864 708 0 0
LAYER: 4
STICKY: 1
SKIPTASK: 1
SKIPWINLIST: 0
SKIPFOCUS: 0
NEVERFOCUS: 0
SHADE: 0
BORDER: ICONBOX
NEW: 0.Enlightenment_Pager
NAME: 0
CLASS: Enlightenment_Pager
DESKTOP: 0
RES: 1024 768
WH: 128 48
XY: 3 647 0 0
LAYER: 4
STICKY: 1
SKIPTASK: 1
SKIPWINLIST: 0
SKIPFOCUS: 0
NEVERFOCUS: 0
SHADE: 0
BORDER: PAGER
NEW: 1.Enlightenment_Pager
NAME: 1
CLASS: Enlightenment_Pager
DESKTOP: 0
RES: 1024 768
WH: 128 48
XY: 3 717 0 0
LAYER: 4
STICKY: 1
SKIPTASK: 1
SKIPWINLIST: 0
SKIPFOCUS: 0
NEVERFOCUS: 0
SHADE: 0
BORDER: PAGER
NEW: E-Time.Epplet
NAME: E-Time
CLASS: Epplet
RES: 1024 768
XY: 48 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Time.epplet
NEW: E-Areas.Epplet
NAME: E-Areas
CLASS: Epplet
RES: 1024 768
XY: 0 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Areas.epplet
NEW: E-Load.Epplet
NAME: E-Load
CLASS: Epplet
RES: 1024 768
XY: 192 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Load.epplet
NEW: E-Clock.Epplet
NAME: E-Clock
CLASS: Epplet
RES: 1024 768
XY: 736 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Clock.epplet
NEW: E-Exec.Epplet
NAME: E-Exec
CLASS: Epplet
RES: 1024 768
XY: 96 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Exec.epplet
NEW: E-Mixer.Epplet
NAME: E-Mixer
CLASS: Epplet
RES: 1024 768
XY: 320 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Mixer.epplet
NEW: E-Toolbox.Epplet
NAME: E-Toolbox
CLASS: Epplet
RES: 1024 768
XY: 416 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Toolbox.epplet
NEW: E-Net.Epplet
NAME: E-Net
CLASS: Epplet
RES: 1024 768
XY: 608 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Net.epplet
NEW: E-Cpu.Epplet
NAME: E-Cpu
CLASS: Epplet
RES: 1024 768
XY: 688 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-Cpu.epplet
NEW: E-NetGraph.Epplet
NAME: E-NetGraph
CLASS: Epplet
RES: 1024 768
XY: 560 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-NetGraph.epplet
NEW: E-SD.Epplet
NAME: E-SD
CLASS: Epplet
RES: 1024 768
XY: 368 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-SD.epplet
NEW: E-MoonClock.Epplet
NAME: E-MoonClock
CLASS: Epplet
RES: 1024 768
XY: 512 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-MoonClock.epplet
NEW: E-MemWatch.Epplet
NAME: E-MemWatch
CLASS: Epplet
RES: 1024 768
XY: 272 0 0 0
LAYER: 2
STICKY: 1
SHADE: 0
BORDER: BORDERLESS
CMD: /usr/bin/E-MemWatch.epplet |
|