我的目标是在没有 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/