作为一个最小的例子,下面的代码: from Xlib import xauth
xauth.Xauthority() 提供以下输出: Xlib.xauth: warning, failed to parsepart of xauthority file /home/sam-barr/.Xauthority, aborting all further parsing Python xlib版本: 0.27xorg-xauth版本: 1.1 操作系统:(arch) linux
我想使用JNA来检测Linux上的前台应用程序(Ubuntu 14)。我遵循了这个链接,但是我得到了以下错误:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'XLib': Native library (linux-x86-64/libXLib.so) not found in resource path ([file:/home/zzhou/