尝试启用第二个屏幕时出现GDBus.Error

我将一个外部屏幕连接到我的笔记本电脑,但我的桌面没有自动扩展到它,就像大约一年前那样(旧版本的Ubuntu)。

我去了显示设置。 屏幕列在那里(正确的分辨率,品牌名称等)。 但当我把开关打开’并’点击’应用’时,我收到此错误:

无法应用配置:%s

 GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod:在路径/ org / gnome / SettingsDaemon / XRANDR上的对象上没有这样的接口`org.gnome.SettingsDaemon.XRANDR_2'

几个月以来就是这样,但我真的希望能够再次使用外部屏幕/投影仪。

有任何想法吗?

谢谢。

dconf write /org/gnome/settings-daemon/plugins/xrandr/active true什么也没做,而arandr对我来说看起来很难理解。 如果你受到其他阻碍,值得尝试xrandr。 文档在这里: http : //www.thinkwiki.org/wiki/Xorg_RandR_1.2#First_discover_what_we_have

我通过这样做来解决这个问题:

 xrandr --current xrandr --output VGA1 --off xrandr --output VGA1 --auto --right-of LVDS1 

让我解释一下:

第一个命令是查看我连接的显示器。

 $ xrandr --current Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192 LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm 1280x800 60.0*+ 1024x768 60.0 800x600 60.3 56.2 640x480 59.9 VGA1 connected 1920x1080+1280+0 (normal left inverted right x axis y axis) 509mm x 286mm 1920x1080 60.0*+ 1280x1024 60.0 1440x900 59.9 1280x800 59.8 1152x864 75.0 1024x768 70.1 60.0 800x600 60.3 56.2 640x480 66.7 60.0 720x400 70.1 HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) 

有很多无关的数据,但我只需要两个显示器的名称。 我知道了:

 LVDS1 connected 

 VGA1 connected 

我认为可以安全地假设VGA是外接显示器。 那么我把它关掉

 xrandr --output VGA1 --off 

然后又回来了

 xrandr --output VGA1 --auto --right-of LVDS1 

当我将光标移动到笔记本电脑屏幕的右边缘时,它会出现在外接显示器上。 成功。

呼叫:

 dconf write /org/gnome/settings-daemon/plugins/xrandr/active true 

为我解决了这个问题。

根据您的显卡,其特定的配置工具也可以进行双屏配置,例如nvidia-settings,… an

在Xubuntu中安装Cinnamon后,我来到这里显示设置有问题。 这样做给了我两个“显示”对话框,ubuntu给了我gdbus错误。 打开另一个(肉桂)以使其正确。

https://github.com/linuxmint/Cinnamon/issues/2506#issuecomment-26671162 – 谢谢

对我来说,安装gnome-shell桌面并一旦切换到那个并从那里改变这个设置就解决了团结的问题。

尝试禁用显卡驱动程序,重新启动,尝试它是否有效。

在现场usb上启动并设法完成我想要的显示器(右侧的左外部显示器上的笔记本电脑屏幕),我得出结论,我的显卡的驱动程序必须发生一些事情。 所以我通过系统设置>附加驱动程序禁用它们,重新启动,一切正常,因为我想要。

PS:试过上面的大部分内容,似乎对我不起作用。

希望它也能帮到你。

我在12.04 LTS上使用设置>显示我也一样。

看起来Gnome设置守护进程需要处于活动状态才能使更改生效,我不小心将它从启动应用程序中关闭了。

希望这可以帮助。

重新启动gnome-settings-daemon为我修复了它:

 gnome-settings-daemon --replace > /dev/null 2>&1 &