x31中设置桌面特效(ubuntu8.04)

1) mkdir -p ~/.config/compiz && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager 

2)备份原来的xorg.conf,替换为下面的部分  (http://forum.ubuntu.org.cn/viewtopic.php?t=127472&sid=1da966168cfa6f7da187dc488b88ac9c)
######################################################################################


## xorg.conf (xorg X Window System server configuration file)


#


# This file was generated by failsafeDexconf, using


# values from the debconf database and some overrides to use vesa mode.


#


# You should use dexconf or another such tool for creating a "real" xorg.conf


# For example:


#   sudo dpkg-reconfigure -phigh xserver-xorg





Section "Module"


	Load	"i2c"


	Load	"bitmap"


	Load	"ddc"


	Load	"dri"


	Load	"extmod"


	Load	"freetype"


	Load	"glx"


	Load	"int10"


	Load	"vbe"


EndSection





Section "InputDevice"


	Identifier	"Generic Keyboard"


	Driver		"kbd"


	Option		"CoreKeyboard"


	Option		"XkbRules"	"xorg"


	Option		"XkbModel"	"pc105"


	Option		"XkbLayout"	"us"


EndSection





Section "InputDevice"


	Identifier	"Configured Mouse"


	Driver		"mouse"


	Option		"CorePointer"


	Option		"Device"	"/dev/input/mice"


	Option		"Protocol"	"ImPS/2"


	Option		"ZAxisMapping"	"4 5"


	Option		"Emulate3Buttons"	"true"


EndSection








Section "InputDevice"


	Identifier	"Synaptics Touchpad"


	Driver		"synaptics"


	Option		"SendCoreEvents"	"true"


######################################################################################


## xorg.conf (xorg X Window System server configuration file)


#


# This file was generated by failsafeDexconf, using


# values from the debconf database and some overrides to use vesa mode.


#


# You should use dexconf or another such tool for creating a "real" xorg.conf


# For example:


#   sudo dpkg-reconfigure -phigh xserver-xorg





Section "Module"


	Load	"i2c"


	Load	"bitmap"


	Load	"ddc"


	Load	"dri"


	Load	"extmod"


	Load	"freetype"


	Load	"glx"


	Load	"int10"


	Load	"vbe"


EndSection





Section "InputDevice"


	Identifier	"Generic Keyboard"


	Driver		"kbd"


	Option		"CoreKeyboard"


	Option		"XkbRules"	"xorg"


	Option		"XkbModel"	"pc105"


	Option		"XkbLayout"	"us"


EndSection





Section "InputDevice"


	Identifier	"Configured Mouse"


	Driver		"mouse"


	Option		"CorePointer"


	Option		"Device"	"/dev/input/mice"


	Option		"Protocol"	"ImPS/2"


	Option		"ZAxisMapping"	"4 5"


	Option		"Emulate3Buttons"	"true"


EndSection








Section "InputDevice"


	Identifier	"Synaptics Touchpad"


	Driver		"synaptics"


	Option		"SendCoreEvents"	"true"


	Option		"Device"	"/dev/psaux"


	Option		"Protocol"	"auto-dev"


	Option		"HorizScrollDelta"	"0"


EndSection





Section "Device"


        Identifier	"ATI Technologies Inc Radeon Mobility M6 LY"


	Busid		"PCI:1:0:0"


	Driver		"radeon"


	 Option          "AGPSize" "32"


        Option          "XAANoOffscreenPixmaps" "on"


        Option          "AGPMode" "4"


        Option          "AGPFastWrite" "on" 


        Option          "DisableGLXRootClipping" "on"


        Option          "AddARGBGLXVisuals" "on"


        Option          "AllowGLXWithComposite" "on"


        Option          "EnablePageFlip" "on"


EndSection





Section "Monitor"


	Identifier	"Generic Monitor"


	Option		"DPMS"


EndSection





Section "Screen"


	Identifier	"Default Screen"


	Device		"ATI Technologies Inc Radeon Mobility M6 LY"


	Monitor		"Generic Monitor"


	DefaultDepth	16


	SubSection "Display"


		Depth		8


		Modes		"1024x768"


	EndSubSection


	SubSection "Display"


		Depth		16


		Modes		"1024x768"


	EndSubSection


	SubSection "Display"


		Depth		24


		Modes		"1024x768"


	EndSubSection


EndSection





Section "ServerLayout"


	Identifier	"Default Layout"


        screen 0 "Default Screen" 0 0


	Inputdevice	"Generic Keyboard"


	Inputdevice	"Configured Mouse"


	Inputdevice	"Synaptics Touchpad"


        option "AIGLX" "true"


EndSection





Section "DRI"


	Mode	0666


EndSection





Section "Extensions"


        Option "Composite" "Enable"


EndSection


#########################################################################################





	Option		"Device"	"/dev/psaux"


	Option		"Protocol"	"auto-dev"


	Option		"HorizScrollDelta"	"0"


EndSection





Section "Device"


        Identifier	"ATI Technologies Inc Radeon Mobility M6 LY"


	Busid		"PCI:1:0:0"


	Driver		"radeon"


	 Option          "AGPSize" "32"


        Option          "XAANoOffscreenPixmaps" "on"


        Option          "AGPMode" "4"


        Option          "AGPFastWrite" "on" 


        Option          "DisableGLXRootClipping" "on"


        Option          "AddARGBGLXVisuals" "on"


        Option          "AllowGLXWithComposite" "on"


        Option          "EnablePageFlip" "on"


EndSection





Section "Monitor"


	Identifier	"Generic Monitor"


	Option		"DPMS"


EndSection





Section "Screen"


	Identifier	"Default Screen"


	Device		"ATI Technologies Inc Radeon Mobility M6 LY"


	Monitor		"Generic Monitor"


	DefaultDepth	16


	SubSection "Display"


		Depth		8


		Modes		"1024x768"


	EndSubSection


	SubSection "Display"


		Depth		16


		Modes		"1024x768"


	EndSubSection


	SubSection "Display"


		Depth		24


		Modes		"1024x768"


	EndSubSection


EndSection





Section "ServerLayout"


	Identifier	"Default Layout"


        screen 0 "Default Screen" 0 0


	Inputdevice	"Generic Keyboard"


	Inputdevice	"Configured Mouse"


	Inputdevice	"Synaptics Touchpad"


        option "AIGLX" "true"


EndSection





Section "DRI"


	Mode	0666


EndSection





Section "Extensions"


        Option "Composite" "Enable"


EndSection


#########################################################################################





你可能感兴趣的:(PHP,ubuntu)