linux在桌面应用上,近一年来一直在放出更新更炫的eyes candy. 近来又听说了beryl.只是因为我的电脑比较破,用的还是845gl的板子,连一个独立的显卡都没有的.所以一直不敢试,感觉这种东西距离我实在太远了.
昨天在archlinux的wiki上看了一篇beryl的文章,里面提到了intel的集成显卡.呵呵,难道我的破机子也可以炫起来吗? 立马找开unstable源,安装 beryl-svn.
然后修改 xorg.conf如下
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dri" Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "glx" Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30 - 86
VertRefresh 50 - 160
DisplaySize 270 203
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
BusID "PCI:0:2:0"
Option "RenderAccel" "True"
Option "VideoRam" "65536"
Option "XVideo" "false"
Option "XAANoOffscreenPixmaps" "true" Option "DRI" "true"EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Modes "1024x768"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Modes "1024x768"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI" Mode 0666EndSection Section "Extensions" Option "Composite" "Enable"EndSection然后将 beryl-manager 加入到自动运行中.
这样就行了,
然后重新启动X,登录,在托盘里面已经出现一个红宝石了吧,点击它就可以进入设置对话框,修改各种效果.效果真的很炫的. 占用的系统资源也不多.哈哈,没有想到自己也能体验一把beryl哦 :D