Chinaunix首页 | 论坛 | 博客
  • 博客访问: 131663
  • 博文数量: 32
  • 博客积分: 2525
  • 博客等级: 少校
  • 技术积分: 310
  • 用 户 组: 普通用户
  • 注册时间: 2008-01-24 16:26
个人简介

艹!

文章分类

全部博文(32)

文章存档

2010年(9)

2009年(2)

2008年(21)

我的朋友

分类: LINUX

2008-12-17 20:11:30

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
阅读(691) | 评论(0) | 转发(0) |
0

上一篇:scim自动启动

下一篇:DHCP+DNS(bind)=DDNS

给主人留下些什么吧!~~