Compiz

Материал из Xgu.ru

Перейти к: навигация, поиск
stub.png
Данная страница находится в разработке.
Эта страница ещё не закончена. Информация, представленная здесь, может оказаться неполной или неверной.

Если вы считаете, что её стоило бы доработать как можно быстрее, пожалуйста, скажите об этом.


Пример рабочего файла xorg.conf

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us,ru"
        Option      "XkbOptions"    "grp:ctrl_shift_toggle,grp_led:scroll,compos
e:ralt"

EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
        Driver          "fglrx"
        Option "XAANoOffscreenPixmaps" "true"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        DefaultDepth 24
        #EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "enable"
EndSection

Обратите внимание на строчку

       Driver          "fglrx"

Драйвер, использующийся в системе, должен нормально поддерживать OpenGL.

$ glxinfo  | head
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI

Обратите внимание на строку:

direct rendering: Yes


Пример файла .xinitrc для XFCE:

xmodmap ~/.Xmodmap
xxkb&
compiz&
sleep 4
gtk-window-decorator --replace&
xbindkeys
xfce4-session


[править] Комбинации клавиш Compiz

(взято отсюда: http://wiki.compiz-fusion.org/Common%20Keyboard%20Shortcuts )

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




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
	

<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)
	

Print
	

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

Шаблон:интерфейс пользователя

Источник — «http://xgu.ru/wiki/Compiz»