Cannot set right monitor as primary in dual monitor configuration

Bug #1425000 reported by mmalmeida
278
This bug affects 59 people
Affects Status Importance Assigned to Milestone
unity-control-center (Ubuntu)
Won't Fix
Undecided
Unassigned
unity-settings-daemon (Ubuntu)
Won't Fix
Undecided
Unassigned
xfwm4 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Unity always considers the left monitor as the default/primary one when in a dual-monitor configuration. By this I mean that:
- Desktop icons appear only on the left monitor
- An opened app (eg libreoffice writer) is opened on the left screen, even if I launch it via the launcher on the right monitor

The current configuration can be seen at http://i286.photobucket.com/albums/ll86/wild_oscar/Screenshotfrom2015-02-24100853.png

The .config/monitors.xml file is shown below. Notice that the HDMI display (green in the photo) is set as <primary>yes</primary>. Nevertheless, this seems to be ignored - the behaviour is the one mentioned above (desktop icons on the left and writer opening on the left) .

<monitors version="1">
  <configuration>
      <clone>no</clone>
      <output name="VGA1">
          <vendor>GSM</vendor>
          <product>0x4b7a</product>
          <serial>0x0000b13b</serial>
          <width>1440</width>
          <height>900</height>
          <rate>60</rate>
          <x>0</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>no</primary>
      </output>
      <output name="HDMI1">
      </output>
      <output name="HDMI2">
          <vendor>GSM</vendor>
          <product>0x5a26</product>
          <serial>0x0008976f</serial>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
          <x>1440</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>yes</primary>
      </output>
      <output name="VIRTUAL1">
      </output>
  </configuration>
</monitors>

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
cis202 (202-edpnet) wrote :

It's not just unity, same problem when using kubuntu/plasma

no longer affects: unity
affects: unity (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Dan Dascalescu (ddascalescu+launchpad) wrote :

It's unbelievable that this bug hasn't been fixed in more than a year and a half.

How difficult is it to add a "Primary monitor" setting?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

xserver does have primary on left by default, but it's the desktop that should allow to use something else in it's configuration

affects: xorg-server (Ubuntu) → unity-settings-daemon (Ubuntu)
Revision history for this message
Robert M. Muncrief (rmuncrief-9) wrote :

I can confirm the same problem exists with Xubuntu x64 16.04 as well. However I can also confirm that this has been a problem with all Ubuntu flavors for many years.

The difference now is that nothing can be done on the user side to fix it. After all these years I'd become quite adept at editing display.xml and monitor.xml files, xorg.conf files, etc. but now none of that works. The only thing I haven't tried is changing Compiz settings, but that's because Xubuntu doesn't run Compiz by default, and people running Compiz have already reported that it can't be fixed their anyway.

I know the developers work hard and always have their plates full, but if they could at least fix it enough that we could edit conf files again it would be great.

Revision history for this message
Sebastien Bacher (seb128) wrote :

xubuntu and unity use different components so the issue is not the same, could you open another bug about the xubuntu issue?

Revision history for this message
Raul Tambre (tambre) wrote :

I can also confirm that I'm experiencing this problem on Ubuntu x64 16.04. If there is any information I can provide to solve this bug, then please let me know!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfwm4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Jimmy Pan (dspjmr) wrote :

Not definitely a bug. But I consider this feature is good and very important to have.

Revision history for this message
deter dangler (deter.dangler) wrote :

When can we expect fix for this? Any timeline?

Revision history for this message
Raul Tambre (tambre) wrote :

It definitely still is a bug, since changing the setting (albeit in a hidden away config file) has no effect. That said, this bug still very much exists and annoys me.

Revision history for this message
borninbronx (daniele-segato) wrote :

Confirm this in Ubuntu 16.04.1 LTS.

I've an external monitor attached via HDMI. It sit on THE LEFT of my main monitor (laptop).

I need to set my laptop monitor as primary monitor and I want the system to know the external one is on the left.

If I use the Display application and drag my monitor on the left it become the primary monitor.

Also look at the discussion here
http://askubuntu.com/questions/300670/is-there-any-ability-to-set-my-primary-monitor

Please fix it, it's really annoying. (ps: can't "me too" this bug, it goes in timeout)

Revision history for this message
borninbronx (daniele-segato) wrote :

"unity-control-center display" utility also suffer this bug

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael V Thanh (mikeyvxt) wrote :

Can confirm this bug is still present in Ubuntu 16.10.

Seems like a pretty basic thing to implement, and it´s present on all other operating systems. When will this be fixed? All it is is a checkbox on Display Settings saying ¨Primary Monitor¨

Revision history for this message
Ruben van Nieuwpoort (rubenvann) wrote :

This bug is also present in Mint x64 18.1. Eagerly awaiting a solution or workaround!

Revision history for this message
潇湘居士 (lxf1992521) wrote :

This bug is also present in ubuntu x86_64 14.04.5.

Revision history for this message
extraymond@gmail.com (extraymond) wrote :

It would be nice to have an option in GUI to set primary monitor to yes in monitor.xml.

Revision history for this message
daj (davidsonjrg-i) wrote :

This bug still happens in Ubuntu x86_64 17.10 development branch with Gnome 3.26.

Revision history for this message
Alroger Filho (alroger-cafe-ti) wrote :

Still the same on Xubuntu / Ubuntu 17.04.

There are a few places to set which is the primary display, but they are useseless.
I have the option in nVidia Settings and Display in Settings. None help.

It's very anoyting, since my big monitor is on the right, and as I open new things, or even Save File popup slections keep going to the small left monitor on my laptop!

Revision history for this message
Alroger Filho (alroger-cafe-ti) wrote :

Sorry, to complement my comment.

I'm running xfwm4 and xrandr says my big monitor IS the primary.

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 360mm x 200mm
   1920x1080 59.94*+ 50.00
HDMI-0 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080 60.00*+ 59.94 50.00 60.05 60.00 50.04

Revision history for this message
daj (davidsonjrg-i) wrote :

Just a quick update on Ubuntu 17.10. Yes, you can change your primary monitor on Gnome 3.26. You'll just have to go to "Settings > Display" and click on "Primary Screen" (i'm translating that to enlgish, so it might not be exactly this name) and select the monitor that you'll have as your primary one.

Primary screen just didn't look like a button, so I didn't think of it until i tried it :P Editing the the bug to "this bug does not affect me".

Revision history for this message
Alik (kilaka) wrote :

Unbelievable. It's 2018 and the bug is still unresolved.
The ungrateful bitch I am cannot convince people to use Linux if such basic defects exist :(

Revision history for this message
David (plum117) wrote :

Having this bug not fixed is one of the main reason why people like other operating system than Linux. This is a basic feature and option that should not takes hours and command line to use.

By the way "Settings > Device > Display, just show Could not get screen information" on my side.

However, when opening "Screen Display", I have several options but not the one to identify my main screen.

Please fix this it was open for years, it is unbelievable!!!!!!!!!!!!!!!!!!!!!!

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Have you even tried 18.04? It's using GNOME by default, and you can select the primary screen from the monitor capplet.. is that not enough?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

that said, I don't think this will be fixed in Unity

Changed in unity-settings-daemon (Ubuntu):
status: Confirmed → Won't Fix
Changed in unity-control-center (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Dulo Stvol (dulo-stvol) wrote :

>Have you even tried 18.04? It's using GNOME by default, and you can select the primary screen from the monitor capplet.. is that not enough?

It's still the same. You can select primary monitor, but most applications will not respect it and will run only on the left monitor. If your primary monitor is on the right, everything works perfectly though.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Does this bug still affect Xfce? If yes, please open a separate bug report.

https://docs.xfce.org/xfce/xfce4-settings/display

Changed in xfwm4 (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Louis (louisgag) wrote :

> It's still the same. You can select primary monitor, but most applications will not respect it and will run only on the left monitor. If your primary monitor is on the right, everything works perfectly though.

I have the same behavior with Ubuntu 18.04 LTS

Revision history for this message
Thomas Ricci (rudrecciah) wrote :

I'm on 20.04 and this is still an issue for me. I know this bug is considered invalid and won't be fixed, but is there still hope this can be fixed?

Revision history for this message
chenzero (chenzero) wrote :

Yes, I encountered same issue on Ubuntu 20.04 with Unity desktop.
e.g: a laptop (monitor A) connected with an external monitor B over HDMI.
Monitor A is on the left of monitor B.

In the "System Settings" >> Displays, I selected "Launcher Placement" as "All displays"

In the Terminal on monitor B, when start a new process, e.g: libreoffice or gnome-calculator,
the created app is shown on monitor A.

Whether it can be changed like this:
if a child process is created by process on monitor X, then show the child process also on monitor X.
in some situation, if the process is partly on monitor A, partly on monitor B, etc, show the child process on the monitor[0]. (assume that the monitors are an array in the system ).
It's like the child process inherited the monitor setting of parent process.

At last, whether this is an issue on Unity Desktop or X Window System, or some else ?
Please advice!

Revision history for this message
chenzero (chenzero) wrote :

BTW, I found few app can show on the correct monitor. e.g:
google-chrome, firefox,
when start these applications in Terminal on monitor B, they can show on the monitor B.
but most other app can not.
Thanks!

Revision history for this message
chenzero (chenzero) wrote :

For workaround, I created a tool to move window to the specified monitor.
https://github.com/stzdzyhs/mwtm
Hope it useful.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.