【问题标题】:i3wm: How do I set real transparency for terminal with urxvt?i3wm:如何使用 urxvt 为终端设置真正的透明度?
【发布时间】:2019-05-14 12:02:44
【问题描述】:

我正在使用 Debian 9.9 stretch 并安装了 i3 和 urxvt。 我能够使我的控制台透明,但是当我打开一个终端并将其变小以便我可以移动它时,透明背景只是更新缓慢并且不是“真正透明”

This is my ~/.Xdefaults file

有人有解决办法吗? :)

【问题讨论】:

    标签: debian i3 urxvt


    【解决方案1】:

    在我的 Debian 上,我在 .Xresources 中添加了序列:

    ! Setting transparency and background                                                                                                                                       
    URxvt*depth:      32                                                                                                                                                        
    URxvt.background: [85]#282828                                                                                                                                            
    

    【讨论】:

      【解决方案2】:

      你能试试这个吗(将以下内容添加到 Xdefaults 文件的行中):

      urxvt*fading:           10
      
      urxvt*fadeColor:        #000000
      

      【讨论】:

        【解决方案3】:

        将此添加到您的 .bashrc 中

        #[ -n "$XTERM_VERSION" ] && transset --id "$WINDOWID" 0.7 >/dev/null
        

        在执行此操作之前,请安装 xtranssetxcompmgr

        它适用于 xterm。你可以试试看。

        更多详情请阅读this

        【讨论】:

          【解决方案4】:

          您的系统上必须安装一个复合管理器,例如 xcompgrcompton

          然后,您可以在以下位置添加颜色透明度:

          URxvt.depth: 32
          URxvt*background: rgba:0000/0000/0000/cccc
          

          注意,URxvt.transparent 字段必须是false

          【讨论】:

            猜你喜欢
            • 1970-01-01
            • 1970-01-01
            • 1970-01-01
            • 2012-01-31
            • 1970-01-01
            • 2016-03-01
            • 1970-01-01
            • 1970-01-01
            • 1970-01-01
            相关资源
            最近更新 更多