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)
    )
)
关键词(Tag): ubuntu devilspie


收藏: QQ书签 del.icio.us 订阅: Google 抓虾

最新评论

发表评论

* 昵称

已经注册过? 请登录

新用户请先注册 以便能显示头像及追踪评论回复

Email
网址
* 评论
表情
 
 

分类小组论坛
杂谈, 娱乐、八卦, 文学、艺术, 体育, 旅游、同城, 象牙塔, 情感, 时尚、生活, 星座, 科技

请注意遵守中华人民共和国法律法规, 如威胁到本站生存, 将依法向有关部门报告, 同时本站的相关记录可能成为对您不利的证据.

相关法律法规
全国人大常委会关于维护互联网安全的决定
中华人民共和国计算机信息系统安全保护条例
中华人民共和国计算机信息网络国际联网管理暂行规定
计算机信息网络国际联网安全保护管理办法
计算机信息系统国际联网保密管理规定