如何在多显示器设置中配置启动器放置

我使用大型显示器作为主显示器和笔记本电脑屏 是否有可能将发射器移动到我的大显示器或我必须关闭我的笔记本电脑显示器?

  • “监视器首选项”(启动器搜索 – >“监视器”)无法设置默认/主监视器。
  • 我刚刚安装的nvidia-settings说“您似乎没有使用NVDIA X驱动程序。请编辑您的X配置文件(只需以root身份运行nvidia-xconfig ),然后重新启动X服务器。
    • sudo nvidia-xconfigsudo: nvidia-xconfig: command not found
  • 我想我没有AMD驱动程序,因为我在启动器搜索中没有“AMD Catylist Control Center”。

启动器显示在您的主要/默认监视器上。 您应该能够在监视器设置中配置它(单击BFB或按Super,然后键入monitors )。 或者,如果您的计算机有nvidia驱动程序,则应安装nvidia-settings并使用它。

启动器放置可以通过系统设置 – >显示或通过命令行实现。

GUI方式

在系统设置 – >显示下找到Launcher放置选项

在此处输入图像描述

命令行方式

展示位置由两件事决定:

  1. 哪个显示器是主要的?
  2. /org/compiz/profiles/unity/plugins/unityshell/num-launchers dconf架构中设置了什么值。

dconf架构非常简单。 值1表示一个启动器,值2表示多个启动器(即,将其放置在所有屏幕上)。 你可以改变它

 dconf write /org/compiz/profiles/unity/plugins/unityshell/num-launchers INT` 

要么

 gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ num-launchers INT 

其中INT为0或1。

xrandr命令将告诉您连接的监视器以及当前的主屏幕是什么。 它还允许使用--primary flag设置和--primary设置。

 $ xrandr Screen 0: minimum 8 x 8, current 2390 x 768, maximum 32767 x 32767 eDP1 connected 1366x768+1024+0 (normal left inverted right x axis y axis) 345mm x 194mm 1366x768 60.0*+ 1360x768 59.8 60.0 1024x768 60.0 800x600 60.3 56.2 640x480 59.9 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VGA1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0* 800x600 60.3 56.2 848x480 60.0 640x480 59.9 VIRTUAL1 disconnected (normal left inverted right x axis y axis) 

在上面的输出中,我将外部VGA1屏幕设置为主要,因此启动器将显示在那里。

例如,如果我想将我的内置监视器用作主要监视器,那么

 xrandr --output eDP1 --primary --right-of VGA1 

并且启动器将从左屏幕(VGA1)跳到我的右侧屏幕,同时保留布局。

有关更多信息,请阅读xrandr和dconf手册页。

如果您有AMD驱动程序,以下内容适用于我:

  1. Super
  2. AMD Catylist Control Center (Administrative)
  3. Multi Display Options – > Single Display (Multi Desktop)