GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
The only issue is that the WM and all my programs seem to think that the monitor on the right is the main one. For example, yakuake (a pop-down terminal) comes up on the wrong monitor!
What is the output of 'xdpyinfo -ext XINERAMA | grep head' ?
Adam
PS. TO find out if you have compositing working (as I'm sure you do), what's the output of 'xdpyinfo | grep -i COMPOSITE'?
So xdpyinfo is showing that the primary head is the monitor on the right. You can change the primary head with the --primary flag to xrandr. If DVI-0 is currently acting as primary, but you want DVI-1 to be primary, you'd run 'xrandr --output DVI-1 --primary'. Not all window managers and applications honor the primary flag, but KDE4 should be aware. If you were to kill and restart yakuake after making that change, I believe it will run on the monitor you want it to use.
So xdpyinfo is showing that the primary head is the monitor on the right. You can change the primary head with the --primary flag to xrandr. If DVI-0 is currently acting as primary, but you want DVI-1 to be primary, you'd run 'xrandr --output DVI-1 --primary'. Not all window managers and applications honor the primary flag, but KDE4 should be aware. If you were to kill and restart yakuake after making that change, I believe it will run on the monitor you want it to use.
You'll need to run 'xrandr --output DVI-0 --primary' each time X starts, then, as there is, unfortunately, no way to configure this via xorg.conf. You can add that to your .xinitrc file, of course (assuming you're using startx/xinit) or to the script that launches your PekWM session. I do not know, however, if PekWM honors the primary flag.
Okey dokey.. I'm about to fiddle with this a bit more, based on the info on this and the previous page in this thread. Before I do, another Q or two:
1) MTK358, you have just one video card involved here, whereas I have one-per-monitor. I wonder if that changes the prognosis for me..?
2) You use ATI stuff, while I'm using nVidia stuff.. Same Q as above -- I wonder if it will work the same way..
3) Aside from your relatively basic xorg.conf file you showed one page back is there anything else you have done, or do, when you start X? Like, are you using any particular `xrandr` command(s) aside from the one Adam just showed for fixing the Primary display situation?
I'm sorry to say, but the nvidia drivers do not support xrandr 1.2. You'll have to use xinerama for two monitors on two video card with the nvidia drivers.
EDIT: And, just for clarification for other people reading this thread.. At the present moment, xrandr does not support multiple monitors on multiple GPUs with any drivers, iirc (though I understand that this functionality is in the works). xrandr 1.2 only works on multiple monitors on single video cards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.