monitor names were changed since 14.04

Bug #1567287 reported by The Undefined
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xfce4-panel (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm using a laptop - sometimes alone, sometimes with an external monitor placed on the right side and sometimes two monitors, where one is on the left, and the other on right of the laptop's display. I would like to put xfce panels always on LVDS.

In Xubuntu 14.04 I did this using:

xfconf-query -c xfce4-panel -p /panels/panel-0/output-name -s LVDS1

But after upgrading to Xbuntu 16.04 - there is expected name like monitor-0, monitor-1 etc, where LVDS is visible as monitor-0 or monitor-1 depending on current configuration (when i have monitor on the left of lvds, it's monit-1 - when no - it's monitor-0)

Is there any way to revert previous(from 14.04) behavior, where names from xrandr (like LVDS/DP-X) are accepted by xfconf?

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xfce4-panel 4.12.0-3ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Apr 7 10:37:06 2016
InstallationDate: Installed on 2016-04-04 (2 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
SourcePackage: xfce4-panel
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
The Undefined (undefine) wrote :
Revision history for this message
pauljohn32 (pauljohn) wrote :

I see same problem after upgrading. Scripts that were written with idea that the laptop built-in display is always LVDS1, as it always was, no longer work. More bothersome, the assigned value of the monitor in xfconf-query statements seems to change, depending on what is plugged in.

This does work now

xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace4/last-image -s /usr/local/share/Backgrounds/Animals/animals_lion-bcd2e615_dbg.jpg

but in previous the "monitor0" was "monitorLVDS1". In fact, now that I check my notes, I realize all of the monitor bits ended in 1, "VGA1", "HDMI1", and so forth.

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

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

Changed in xfce4-panel (Ubuntu):
status: New → Confirmed
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.