gpt4 book ai didi

linux - 如何将 xinit 和 xsetroot 串在一行中?

转载 作者:太空宇宙 更新时间:2023-11-04 04:27:54 28 4
gpt4 key购买 nike

我的目标是在没有 xterm 的 xinit 中显示纯色背景,全屏纯色背景就可以了。我意识到我可以使用 xsetroot -solid color 来达到此目的,但 xterm 仍然存在。我还知道我可以使用“xinit ./mplayer *mp4”在 xinit 内运行全屏视频

我尝试对 xsetroot 使用相同的解决方法

xinit /usr/bin/xsetroot -solid green

但这不起作用。

有人知道实现我上述目标的任何解决方法吗?

非常感谢您的投入。

最佳答案

尝试:

xinit ; DISPLAY=:0 /usr/bin/xsetroot -solid green

或者使用

创建一个 .xinitrc
/usr/bin/xsetroot -solid green &

在里面。

HTH

关于linux - 如何将 xinit 和 xsetroot 串在一行中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6990610/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com