MacBook Pro + Linuxで3Dデスクトップ

こんな感じにしてみました。透明ターミナルの裏側はブラーまでかかってて妙に良い質感。しかもサクサク動く。さすがはGeForce 8600M。

iTunesiPod touchのCoverFlowのようなアニメーションでウィンドウを切り替えられたりも。

必要なもの:

  1. ネイティブで動作するFedora 9。id:NeoCat:20080420 辺りを参考に。
  2. nVidiaドライバ
  3. Compiz Fusion

下二つのインストール方法は以下のとおり。

手順

1. LivnaからnVidiaビデオドライバのインストー

http://rpm.livna.org/rlowiki/ からFedora 9用のRPMを取得してインストール。ダブルクリックでOK。

2. ドライバのインストー
% sudo yum install xorg-x11-drv-nvidia
3. Xを再起動(Ctrl + Alt + Backspace)
4. Compiz Fusionのインストー
% sudo yum install compiz-fusion-gnome compiz-fusion-extras-gnome fusion-icon emerald emerald-themes ccsm
5. Fusion Iconを起動
% compiz-fusion &

(システム→設定→ユーザ向け→セッションで自動起動するようにしてもよい)

6. いろいろ設定

パネルにアイコンが出現するので、Setting Managerを選んでccsmを起動し、好みに合わせていろいろ設定。といっても項目多すぎだけど。

設定例

テキストファイル(〜.profile)に保存して、ccsmの「設定」からインポートすると使えます。

[expo]
as_rotate = true

[decoration]
as_command = emerald --replace

[mblur]
s0_strength = 0.100000

[mag]
s0_mode = 2
s0_radius = 500

[rotate]
as_rotate_left_button = <LeftEdge><RightEdge>Button4
as_rotate_right_button = <LeftEdge><RightEdge>Button5
as_raise_on_rotate = true

[shift]
as_initiate_button = Button8
as_terminate_button = Button8
as_next_button = Button9
s0_title_font_bold = true

[showmouse]
s0_random = true

[reflex]
s0_window = true
s0_threshold = 5

[water]
as_title_wave = true

[core]
as_active_plugins = decoration;zoom;fadedesktop;shift;dbus;png;resize;wobbly;mousepoll;workarounds;water;core;vpswitch;regex;blur;firepaint;move;animation;fade;place;cube;3d;cubecaps;mag;rotate;scale;showmouse;cubereflex;expo;ezoom;switcher;
as_texture_filter = 2
as_command1 = bl1-down
as_command2 = bl1-up
as_run_command1_key = F1
as_run_command2_key = F2
as_command_terminal = gnome-terminal
as_run_command_terminal_key = <Super>slash
s0_opacity_matches = class=Gnome-terminal;
s0_opacity_values = 86;

[cube]
s0_skydome = true
s0_skydome_animated = true
s0_active_opacity = 40.000000
s0_transparent_manual_only = false

[3d]
s0_min_cube_size = 89
s0_max_window_space = 50
s0_speed = 1.000000

[blur]
as_pulse = true
s0_alpha_blur_match = toolbar | menu | utility | normal | dialog | modaldialog
s0_filter = 1
s0_gaussian_radius = 8
s0_occlusion = false

[cubecaps]
s0_draw_top = false
s0_draw_bottom = false

[animation]
s0_open_effects = 17;9;9;
s0_minimize_effects = 14;
s0_minimize_durations = 120;
s0_focus_effects = 2;

[ring]
s0_inactive_opacity = 50
s0_overlay_icon = 2
s0_select_with_mouse = true
s0_ring_width = 50
s0_ring_height = 50
s0_thumb_width = 800
s0_thumb_height = 600
s0_title_font_bold = true