- 论坛徽章:
- 0
|
OpenGL driven 3D Desktop is a relatively new fancy feature of modern
window managers.
You need good graphics card (Nvidia, Intel, ATI) and proprietary Linux
drivers
Compiz in three steps:
1. Install drivers (pretty straightforward):
#
sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Slackware/All
#installpkg fglrx*
(install all the built packages)
#aticonfig --initial
2. Additional modifications are needed for xorg.conf. Add Option
directives to Device and Screen sections and new Section "Extensions":
Section
"Device"
...
Option "RenderAccel"
"true"
Option
"AllowGLXWithComposite" "true"
...
Section
"Screen"
...
Option
"AddARGBGLXVisuals" "true"
Option
"DisableGLXRootClipping" "true"
...
Section
"Extensions"
Option "Composite"
"Enable"
EndSection
3. Create start script for compiz manager:
/usr/local/bin/startcompiz:
#!/bin/bash
#
Compiz startup script
LIBGL_ALWAYS_INDIRECT=TRUE
\
/usr/bin/compiz
--replace png svg decoration annotate water blur clone \
wobbly
fade minimize cube rotate zoom scale move resize place switcher & \
/usr/bin/kde-window-decorator
&
That's it. In KDE Konsole window run
# startcompiz
and enjoy 3D desktop effects.
Some of the hotkey
combinations:
Ctrl-Alt+
rotate the desktop Cube
LEFT/RIGHT
Ctrl-Alt+
press and drag the Cube
Ctrl-Alt+
expose all windows,click on a
window to bring it to the front position
Ctrl-Alt+
unfold al the Cube sides
LEFT_MOUSE_BUTTON
drag any window using Titlebar
Alt+LEFT_MOUSE_BUTTON
drag any window using working
area
Alt+MOUSE_WHEEL
Window transparency
WINKEY
use mouse wheel or right-click
to zoom in
Alt-WINKEY
draw (red) over the screen
Alt-WINKEY-k
erase the drawing
Ctrl-WINKEY
water effect
MOUSE POINTER to upper right
corner
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/60340/showart_1726568.html |
|