开发者

Detect if X is running and if it's usable for application

On a POSIX-compliant system, how do one detect if X is running and if it's usable for the ap开发者_开发问答plication.


Check if $DISPLAY has a value, and try to connect the the server at that address.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜