Mismatch between xrandr and xfconf channel Display
martin.jacobs at an-netz.de
martin.jacobs at an-netz.de
Mon Nov 2 21:50:23 CET 2020
Hi,
working on script to detect current workspace I did stumble
across a mismatch!
Output of xrandr | grep "\<connected\>":
DVI-D-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 432mm x 324mm
That's ok: one device, one screen.
Querying "xfconf-query -c display -l" creates a list
containing
/ActiveProfile
/Default/DVI-D-0
/Default/DVI-D-0/Active
[...]
/Default/DVI-D-1
/Default/DVI-D-1/Active
[...]
/Fallback/DVI-D-0
/Fallback/DVI-D-0/Active
[...]
xrandr doesn't know DVI-D-1!
Querying /ActiveProfile returns Default, that's ok.
Querying /Default/DVI-D-0/Active returns true and
/Default/DVI-D-1/Active returns true as well!
Does this makes sense?
And querying property Primary returns:
false for DVI-D-0 and
true for DVI-D-1
But xrandr doesn't even know DVI-D-1!
What's wrong with this?
OS: openSUSE LEAP 15.2, xfconf-query 4.14.3; xrandr 1.5.0;
display server (NVIDIA) supports RandR 1.6.0
KR
--
Martin Jacobs
More information about the Xfce
mailing list