开发者

How to string xinit and xsetroot in one line?

开发者 https://www.devze.com 2023-03-26 15:22 出处:网络
My goal is to show a solid color background while inside xinit without the xterm, a full screen solid background will do.

My goal is to show a solid color background while inside xinit without the xterm, a full screen solid background will do. I realize I can use xsetroot -solid color for this purpose but the xterm still exist there. I also know that I could run a full screen video inside xinit using "xinit ./mplayer *mp4"

I tried to use the same work开发者_StackOverflow社区around for xsetroot

xinit /usr/bin/xsetroot -solid green

but this doesn't work.

Anyone knows any workaround to achieve my goal mentioned above?

Thank you very much for your inputs.


Try:

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

Or create a .xinitrc with

/usr/bin/xsetroot -solid green &

in it.

HTH

0

精彩评论

暂无评论...
验证码 换一张
取 消