Compiz是一个通过OpenGL3D图形加速的合成窗口管理器。它可以在任意桌面环境中提供各种图形特效,包括Gnome和KDE。Compiz Fusion是用于Compiz合成窗口管理器的一系列插件和配置系统。 它是通过Beryl和Compiz项目的重新合并创建的。
Compiz着实重新定义了桌面用户体验和桌面/窗口管理。
先决条件
为了让生活更加美好,我们先做一些起飞前检测,保证我们开启和使用Compiz和桌面特效一切安好。
先决条件包括
正确安装了ATI或者nVidia或者Intel的 显卡驱动.
如果你使用ATI或Nvidia 的显卡可以通过System—>Administration—>Hardware Drivers安装驱动,它会探测你的显卡类型,并且安装合适的驱动。
在Ubuntu上安装CCSM
显卡驱动安装好以后,你需要通过如下命令来安装compiz fusion
sudo apt-get install compizconfig-settings-manager compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-plugins emerald
Ubuntu 9.10中配置Compiz Fusion
现在你需要通过这个来开启显示特效: System—>Preferences—>Appearance
打开以后点击Visual Effects,选择Extra,然后点击关闭。
然后到这里来:System—>Preferences—>CompizConfig Settings Manager
打开以后你就会看到类似下图的界面,你可以选择并配置需要的选项,比如可以选择Desktop Cube、Cube Rotation、wobbly windows,、ring switcher、 fire effect等等,随你喜好。
Desktop Cube Rotation(桌面立方体旋转)
如果你想启用桌面立方体旋转请确保上一步你已经选中了Desktop Cube,Cube Rotation,现在你还需要选择Cube Reflection and Deformation
现在你可以双击Cube Reflection and Deformation来配置其选项,如下图所示。 点击deformation标签页,选择Cylinder或sphere,然后点击Back和close。
下面是Compiz Fusion截图
Compiz快捷键看下面
One of the most common questions that arise with Compiz and Compiz-Fusion is “What buttons do I press to do X?”
These key combinations are referred to as Keyboard Shortcuts by most people, but in Compiz they are often called Key Bindings. These keys will help people to maximize their time in using the application especially when they are writing, like creating essays. This page is intended to catalog them in two ways, the first set will be commonly used shortcuts, the second set will be an all-encompassing list. This page is centered around setting keybindings through CompizConfig Settings Manager
目录
- Points of Reference
- Most common keybindings
- All keybindings
Points of Reference
The Super key |
The “Super” key is the key with the Microsoft Windows logo on keyboards that are so equipped. It usually is placed between Ctrl and Alt on the left side of the Space bar.
When configuring Compiz or Compiz-Fusion plugins the mouse buttons are referred to as ButtonX according to the following table:
Button1 | Left Mouse Button |
Button2 | Center Mouse Button (click-able scroll wheel in some cases) |
Button3 | Right Mouse Button |
Button4 | Scroll Wheel Up |
Button5 | Scroll Wheel Down |
If you have customized your mouse in ‘/etc/X11/xorg.conf’ then these buttons will operate according to that map.
Direction keys are a reference to their corresponding arrow keys:
Up | The Up arrow key |
Down | The Down arrow key |
Left | The Left arrow key |
Right | The Right arrow key |
Most common keybindings
Source reference http://ulyssesonline.com/2007/10/25/compiz-fusion-keyboard-shortcuts/
Action | Default Key Binding | Plug-in | Tab | Edge/Corner | Notes |
Rotate to Cube Face Left | <Ctrl><Alt>Left | Rotate Cube | Bindings | ||
Rotate to Cube Face Right | <Ctrl><Alt>Right | Rotate Cube | Bindings | ||
Rotate Cube with Mouse | <Ctrl><Alt>Button1 | Rotate Cube | Bindings | “Initiate” option | |
Unfold Cube | <Ctrl><Alt>Down | Desktop Cube | General | Holding <Ctrl><Alt> and then Left/Right rotates | |
Next Window | <Ctrl><Alt>Tab | Application Switcher | Bindings | ||
Previous Window | <Shift><Ctrl><Alt>Tab | Application Switcher | Bindings | ||
Next Window (All Desktops) | <Alt>Tab | Application Switcher | Bindings | ||
Previous Window (All Desktops) | <Shift><Alt>Tab | Application Switcher | Bindings | ||
Show All Desktops (Expo) | <Super>E | Expo | Bindings | TopLeft | |
Show All Windows (Scale) | <Alt><Shift>Up | Scale | Bindings | TopRight | |
Show Desktop | <Ctrl><Alt>D | General Options | Key bindings | This is a toggle | |
Show Main Menu | <Alt>F1 | General Options | Key bindings | ||
Screenshot Desktop | PrtScn | General Options | Commands | ||
Screenshot Window | <Alt>PrtScn | General Options | Commands | ||
Screenshot Area | <Super>Button1 | Screenshot | General | “Initiate” option, click and drag an area to capture | |
Move Window (Keyboard) | <Alt>F7 | Move Window | General | Use arrows to move, Esc to release | |
Move Window (Mouse) | <Alt>Button1 | Move Window | General | ||
Decrease Opacity | <Alt>Button5 | General Options | Opacity Settings | Decreases a windows opacity | |
Increase Opacity | <Alt>Button4 | General Options | Opacity Settings | Increases a windows opacity |
All keybindings
Action | Default Key Binding | Plug-in | Tab | Edge/Corner | Notes |
Slow Animations | <Shift>F10 | General Options | General | A slow motion effect for all effects | |
Raise Window | <Control>Button6 | General Options | General | ||
Lower Window | <Alt>Button6 | General Options | General | ||
Window Menu | <Alt>Button3 | General Options | General | ||
Show Desktop | <Control><Alt>D | General Options | Key Bindings | * | Can be assigned to an edge/corner in the General tab |
Command 1-11 | [unassigned] | General Options | Commands | Assigned in Keybindings section of Command tab. Assigns a keybinding to a configured command | |
Open a Terminal | [unassigned] | General Options | Commands | ||
Screenshot (Desktop) | General Options | Commands | |||
Screenshot (Window) | <Alt>Print | General Options | Commands | ||
Close Window | <Alt>F4 | General Options | Key Bindings | ||
Show Main Menu | <Alt>F1 | General Options | Key Bindings | ||
Run Dialog | <Alt>F2 | General Options | Key Bindings | ||
Unmaximize Window | <Alt>F5 | General Options | Key Bindings | ||
Minimize Window | <Alt>F9 | General Options | Key Bindings | ||
Maximize Window | <Alt>F10 | General Options | Key Bindings | ||
Maximize Window Vertically | [unassigned] | General Options | Key Bindings | ||
Maximize Window Horizontally | [unassigned] | General Options | Key Bindings | ||
Window Menu | <Alt>Space | General Options | Key Bindings | ||
Toggle Window Maximized | [unassigned] | General Options | Key Bindings | ||
Toggle Window Maximized Horizontally | [unassigned] | General Options | Key Bindings | ||
Toggle Window Maximized Vertically | [unassigned] | General Options | Key Bindings | ||
Toggle Window Shaded | <Control><Alt>S | General Options | Key Bindings | ||
Increase Opacity | <Alt>Button4 | General Options | Opacity Settings | ||
Decrease Opacity | <Alt>Button5 | General Options | Opacity Settings |