升级到Ubuntu 17.10后,为什么某些屏幕记录/捕获应用程序(或应用程序功能)无法正常工作?

After upgrading to Ubuntu 17.10 I noticed some of my screencasting applications are not working, for example screencasting tools like SimpleScreenRecorder and vokoscreen. (link)

Also I noticed features like screenshot from GIMP is not working properly, producing blank screenshots (link). Shutter too is producing glitchy screenshots (link).

为什么会发生这种情况,我该如何解决?

最佳答案

默认情况下,Ubuntu 17.10允许用户在Wayland会话中登录GNOME环境。您可以通过在终端中运行以下命令来检查是否已登录Wayland会话而不是Xorg(X11)会话:

echo $XDG_SESSION_TYPE

与Wayland不兼容但仍在XWayland兼容性层下运行的应用程序。但是,“过多”依赖和/或控制X11服务器(屏幕捕获/记录等)的高级应用程序可能无法在Wayland会话中运行。

As a workaround you may switch back to an Xorg session.