Keep Faith » 日志 » DevilsPie 自定义窗口属性
DevilsPie 自定义窗口属性
sardis 发表于 2008-08-18 21:52:13
DevilsPie:
A window-matching utility, inspired by Sawfish's “Matched Windows” option and the lack of the functionality in Metacity. Metacity lacking window matching is not a bad thing — Metacity is a lean window manager, and window matching does not have to be a window manager task.
Devil's Pie can be configured to detect windows as they are created, and match the window to a set of rules. If the window matches the rules, it can perform a series of actions on that window. For example, I can make all windows created by X-Chat appear on all workspaces, and the main Gkrellm1 window does not appear in the pager or task list.
这个工具还是很强大,,可以自定义很多程序启动时的属性,如是否最大化,在哪个桌面等等。。
使用指南可详见:http://www.burtonini.com/blog/computers/devilspie
比如让mplayer自动always On Top:
(if
(matches (application_name) "^MPlayer")
(begin
(stick)
(above)
)
)
让QTerm到窗口3:
(if
(matches (application_name) "^QTerm")
(begin
(set_viewport 3)
(maximize)
)
)
相关日志:
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
