如何检查linux X11版本?

时间:2021-08-07 06:58:41

I need to read X11 source code, since there are a number of X11 versions, like: X11R1 X11R2 ... X11R7.7

我需要阅读X11源代码,因为有许多X11版本,如:X11R1 X11R2 ... X11R7.7

how can I find out which version of X11 my ubuntu 10.04 has installed?

如何找到我的ubuntu 10.04安装的X11版本?

thank you.

谢谢。

2 个解决方案

#1


13  

Use the xdpyinfo command (perhaps as xdpyinfo|grep -i version) whose output starts with relevant information.

使用xdpyinfo命令(可能为xdpyinfo | grep -i version),其输出以相关信息开头。

#2


1  

To not confuse you too much, just type in the following:

为了不让您太过困惑,只需输入以下内容:

root@your-computer:/# x11 -version


This should provide you the information you were looking for.

这应该为您提供您正在寻找的信息。

#1


13  

Use the xdpyinfo command (perhaps as xdpyinfo|grep -i version) whose output starts with relevant information.

使用xdpyinfo命令(可能为xdpyinfo | grep -i version),其输出以相关信息开头。

#2


1  

To not confuse you too much, just type in the following:

为了不让您太过困惑,只需输入以下内容:

root@your-computer:/# x11 -version


This should provide you the information you were looking for.

这应该为您提供您正在寻找的信息。