本文を読み飛ばす

CompizのOpacity設定

CompizのOpaticy設定ですが,
今のCCSMでは何いれていいやら

さっぱりなんで調べてみました.

目的

簡単にいうと以下です.

  • Window opacityの設定で
  • アプリによって, いろいろなopacityを割り当てたかった
How To
  1. CCSMを起動
  2. General Options を選択
  3. 右(に隠れている)の方にある "Opaticity Setting" タブを選択
  4. Window opatitiesに値を "追加" ボタンで追加していく...(詳細は下)

ここで問題ですが,
Opacity windows項目に何をいれるか...

というのがよくわかりません.

今ではOpacity windowsの横の
"+"
ボタンを押せば

なんとなくわかるようになったみたいです.

そこで WindowMatching - Compiz Fusion Wiki を参考に

2,3実例をかいておきます.

  1. gvimを選択する場合
name=gvim
  1. gnome-terminalを選択する場合

`` name=gnome-terminal

3. Nautilusファイルブラウザを選択する場合

name=nautilus|title=.ファイル・ブラウザ.

4. Audaciousを選択する場合

title=.Audacious.

nameはクラス名, titleはWindowのタイトルになります.

Utilityでregexを有効にしておけば, 正規表現も対応可能,  
という仕組だそうです.

あと一瞬焦ったのはAudacious.  
このアプリ, window classが複数あるようで,

**name=**

ではどうマッチさせていいかわかりませんでした.

あと, 複数windowが開くので結局同じ値が入っている  
titleで選択した...という風にしています.

classやらtitleはxpropで調べればOKです.

How toは以上です.



#### 経緯
Googleでなぜか **Compiz Fusion Wiki**
が引っかかりにくいです...

それに気づくのにしばらくかかっちゃいまいた.

結局Reference読んでみれば明白です.

Internetに例がでてないのが痛かったですが,  
そんなに苦労することなく設定はできました.

FVWMはだいぶと凝って設定してましたけど,  
GNOMEに来てからは設定やってなかったなー, と思う次第です.

そんな私の設定は以下のようになっています.

[core] as_active_plugins = vpswitch;workarounds;place;dbus;resize;move;minimize;extrawm;decoration;png;core;shift;regex;wobbly;fade;cube;opacify;switcher;blur;rotate;3d;scale as_slow_animations_key = Disabled as_window_menu_button = <Alt>Button1 as_main_menu_key = Disabled as_run_command_terminal_key = <Alt>F1 as_texture_filter = 0 as_click_to_focus = false s0_opacity_step = 5 s0_opacity_matches = name=gvim;name=gnome-terminal;name=nautilus|title=.ファイル・ブラウザ.;title=.Audacious. s0_opacity_values = 83;83;85;80 as_command0 = gnome-terminal as_command_terminal = gnome-terminal as_show_desktop_key = <Control><Alt>m as_audible_bell = false

[move] as_initiate_button = Disabled as_opacity = 29

[resize] as_initiate_key = Disabled as_border_color = #000053bb as_fill_color = #0000d499

[shift] as_initiate_key = <Alt>F8 as_initiate_edge = BottomLeft

[vpswitch] as_switch_to_1_key = <Alt>h as_switch_to_2_key = <Alt>j as_switch_to_3_key = <Alt>k as_switch_to_4_key = <Alt>l

[scale] as_initiate_edge = BottomRight

[opacify] s0_passive_opacity = 40 as_toggle_key = Disabled

[place] s0_mode = 2

[extrawm] as_toggle_fullscreen_key = <Alt>Return

[ring] as_next_key = <Alt>a ```

コメント

Comments powered by Disqus
宣伝: