如何为urxvt设置背景图片?

λ J*_*kas 7 linux terminal-emulator terminal rxvt urxvt

如何在 urxvt 中设置平铺背景图像?我在我的.Xresources文件中尝试了以下替代方案:

URxvt*backgroundPixmap: /home/jgg/Pictures/tiles/escheresque_ste.png;style=tiled

URxvt.backgroundPixmap: /home/jgg/Pictures/tiles/escheresque_ste.xpm

URxvt.backgroundPixmap: /home/jgg/Pictures/tiles/escheresque_ste.png;+0+0:tile -tr
Run Code Online (Sandbox Code Playgroud)

我还跑来xrdb -merge ~/.Xresources确保每次都更新配置。

我错过了什么?我需要安装一个库吗?

我在 Debian 7.4 (Wheezy) 系统上运行 rxvt-unicode (urxvt) v9.15。

λ J*_*kas 3

使用该-pixmap选项设置 RXVT 的背景图像。例如,我有一组小.png瓷砖,我使用以下单行随机挑选:

urxvt -pixmap "`find /path/to/tiles/ -name '*.png' | sort -R | head -n 1`;style=tiled"
Run Code Online (Sandbox Code Playgroud)

您可以轻松地将上述内容转换为别名或脚本。