如何在codelite中设置窗口透明度?

时间:2015-04-24 11:07:46

标签: linux window transparency x11 codelite

是否可以在codelite中设置窗口透明度,例如输出或工作区视图? 有没有一个快速选项来硬编码,因为这个功能似乎缺失了,这将是平台依赖的?

我使用xubuntu。

1 个答案:

答案 0 :(得分:0)

解决:

我按照" Per Application Transparency"上的说明进行操作。在此link中使用Devil's Pie:来绘制和更改窗口行为。按照说明将其放入" opacity.ds" :

( if
    ( and
            ( contains ( application_name ) "codelite" )
            ( or
                    ( is ( window_name ) "Output View" )
                    ( is ( window_name ) "Workspace View" )
            )
    )

    ( begin
            ( spawn_async (str "transset-df -i " (window_xid) " 0.55" ))
    ))

这使得"输出视图"和#34; Worspace View"透明(如果分离),alpha为0.55。根据自己的喜好更改值。