2007年06月10日
CompizをDebian unstableに入れてみた
新しいマシンでいろいろ試してみたかったことのその1として、ようやくNovellの例のウネウネウィンドウマネージャを実験することにした。tagohさんの支援の下、実現に成功。環境はDebian unstable (カーネル2.6.17) のGNOME環境にNVidia GeForce 7300 LE(512MB)という組み合わせ。
- experimental non-freeからnvidia-kernel-sourceを取ってきて、module-assistantでモジュールを構築、インストールする。unstable non-free版のでは駄目っぽい?
- nvidia-glxもexperimental non-freeからインストールする。
- /etc/X11/xorg.confをいじる。
... Section "Extensions" Option "Composite" "Enable" ... EndSection ... Section "Device" Identifier "NVIDIA Corporation NVIDIA Default Card" Driver "nvidia" ... Option "XAANoOffscreenPixmaps" "true" ... EndSection ... Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NVIDIA Default Card" Option "AddARGBGLXVisuals" "True" ... EndSection ... Section "ServerLayout" Identifier "Default Layout" ... Option "AIGLX" "true" EndSectionいらないものもあるかもしれない。 - Xを起動(再起動)。
- compiz --replace を実行。
GNOMEイベントと連携してる感じなのかな。ウィンドウの移動でウネっとしたり、縮小でひゅるるっと縮んだり、拡大すると一度ぶつかったり、メニューはもわわっと出てきたり、あとは有名な画面切り替えで回転したり。Alt+ホイールで透明設定、Windows+ホイールでズーム。gconf-editorで設定すれば普通にキーマッピングすることも可能。
![[hatena]](http://d.hatena.ne.jp/images/b_entry_de.gif)
![[RSS]](/d/rss10.png)