0

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

这是我的 ~/.Xdefaults 文件

有没有人有解决方案?:)

4

4 回答 4

1

在我的 Debian 上,我在 .Xresources 中添加了以下内容:

! Setting transparency and background                                                                                                                                       
URxvt*depth:      32                                                                                                                                                        
URxvt.background: [85]#282828                                                                                                                                            
于 2019-08-12T09:35:50.330 回答
0

将此添加到您的 .bashrc 中

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

在你这样做之前,请安装xtranssetxcompmgr

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

更多细节请阅读

于 2019-06-09T08:31:41.767 回答
0

您必须在系统上安装xcompgrcompton安装复合管理器。

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

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

小心,该URxvt.transparent字段必须是false

于 2019-10-29T07:38:56.587 回答
0

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

urxvt*fading:           10

urxvt*fadeColor:        #000000
于 2019-05-21T06:11:39.353 回答