Compiz Fusion での Window Rule の指定の仕方
see ⇒ http://forum.compiz-fusion.org/showthread.php?t=1768
http://forum.compiz-fusion.org/showthread.php?t=1768
- type
xprop | grep WINDOW_TYPE | cut -d _ -f 10
- 以下のいずれか:
any
,unknown
,combo
,desktop
,dialog
,dnd
,dock
,dropdownmenu
,fullscreen
,modaldialog
,menu
,normal
,notification
,popupmenu
,splash
,toolbar
,tooltip
,utility
- role
xprop | grep "WM_WINDOW_ROLE(STRING)" | cut -d \" -f 2
- (たいていブランクになるので指定する必要はない)
- name
xprop | grep WM_CLASS | cut -d \" -f 2
- class
xprop | grep WM_CLASS | cut -d \" -f 4
- title
xprop | grep "WM_NAME(STRING)" | cut -d \" -f 2
- xid
xprop | grep "WM_CLIENT_LEADER(WINDOW)" | cut -d ' ' -f 5
- state
- 以下のいずれか:
modal
,sticky
,maxvert
,maxhorz
,shaded
,skiptaskbar
,skippager
,hidden
,fullscreen
,above
,below
,demandsattention
- override_redirect
不明
具体例は「Effects」⇒「アニメーション」とかでいくつか見ることができます。
私の場合,たとえば VMware Player はビューポート 1(メインの右隣)に表示させたいので,ccsm の「Window Management」⇒「ウィンドウを配置する」⇒「Fixed Window Placement」の「Windows with fixed viewport」に下記アイテムを追加しています。
- Viewport positioned windows
(type=Normal) & (class=Vmplayer) & (name=vmplayer)
- X Viewport Positions
1
- Y Viewport Positions
0