monitor names were changed since 14.04
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/
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
ProcVersionSign
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)
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/Backgroun ds/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.