获取关于注册无障碍总线的 dbind-WARNING

ein*_*lum 12 d-bus accessibility

当我从命令行运行 X 应用程序(例如,leafpad;大多数应用程序)时,我在控制台上收到以下警告:

 ... dbind-WARNING **: ... Couldn't register with accessibility bus: Did
not receive a reply. Possible causes include: the remote application did 
not send a reply, the message bus security policy blocked the reply, the 
reply timeout expired, or the network connection was broken.
Run Code Online (Sandbox Code Playgroud)

(折线以适应列宽。)

为什么我会收到这条消息,我该怎么办?发布它的应用程序似乎运行良好。

这出现在 Ubuntu 18.04 和 Devuan 3.0 Beowulf(~= Debian Buster)上

ein*_*lum 9

把这个:

export NO_AT_BRIDGE=1 
Run Code Online (Sandbox Code Playgroud)

它运行的某个地方,例如在/etc/environment或您的~/.bashrc/ 中~/.bash_profile

这个 wiki 页面(德语)中建议了这种解决方法,但我真的不明白为什么需要它或它真正做什么,所以请注意空客。

  • 这只是抑制错误还是实际上解决了问题?我无法理解这是做什么的。 (4认同)
  • @algae:ATK 是 GNOME 辅助总线。(我认为)它的设计目的是让屏幕阅读器和其他辅助硬件等功能能够工作。但是,如果您没有任何此类设备,则总线上的通信不会到达任何地方,并且系统会显示一条消息告诉您这一点。环境变量告诉您​​的应用程序根本不要尝试使用 ATK。 (2认同)
  • @DavidC.:但是为什么应用程序需要被告知这一点?我的意思是,这应该是该总线上没有发生任何事情的典型情况,因此即使应用程序没有找到它/没有得到答复 - 这应该被认为是正常的。 (2认同)