Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But I accidentally dragged something somewhere (I think) and I've set up the displays to pan and mirror and I cannot see how to undo this.
Under Settings -> Display I've unticked the Mirror Settings but it makes no difference.
This is how it was:
Code:
jonke@charlie:~$ xrandr | grep -w connected
DP-0 connected primary 1920x1080+1024+0 (normal left inverted right x axis y axis) 598mm x 336mm
DP-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
jonke@charlie:~$
This is how it is now:
Code:
jonke@charlie:~$ xrandr | grep -w connected
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm panning 2944x1080+0+0
DP-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 340mm x 270mm panning 2048x768+0+0 tracking 2944x1080+0+0 border 0/0/0/0
jonke@charlie:~$
I'm thinking I might need to just edit some config files, but I'm not entirely sure where and what to edit.
Well I've resolved the problem, but I don't understand why - look at the attached image
All I did was to un-tick the Primary Display and un-tick Mirror Displays
And I'm back to my original config
Code:
jonke@charlie:~$ xrandr | grep -w connected
DP-0 connected 1920x1080+1024+0 (normal left inverted right x axis y axis) 598mm x 336mm
DP-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
jonke@charlie:~$
Can someone explain what setting a Primary Display does?
'Primary Display' is considered as the 'main' display - where 0,0 originates - and where applications will want to start (especially fullscreen). Everything else is relative to it - e.g. 'left of' or +1920px of, or what-have-you.
Not sure what you did/undid but yes I've seen XFCE need settings to be 'set' and then 'set again' for it to update from the GUI control panel, not sure if this is a bug or user error.
'Primary Display' is considered as the 'main' display - where 0,0 originates - and where applications will want to start (especially fullscreen). Everything else is relative to it - e.g. 'left of' or +1920px of, or what-have-you.
Not sure what you did/undid but yes I've seen XFCE need settings to be 'set' and then 'set again' for it to update from the GUI control panel, not sure if this is a bug or user error.
That's a nice clear explanation, thanks, now do you know how I could ajust these settings without resorting to the GUI's? I'm guessing I need to know mor about X windows/Xorg/xrandr?
You can put your settings into Xorg conf files, sure. I use my ~/.xinitrc instead, have added three lines into it over time, these set up my displays the way I want them.
Any X startup script with xrandr will do the job. Here the "Screen Layout Editor" is arandr. In Debian I put the (one line) script in /etc/X11/Xsession.d/. The "primary" display by default hosts the panel (toolbar) at its bottom. For copy & paste purposes, the "script" used for the screenshot's configuration was:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.