SlackwareThis Forum is for the discussion of Slackware 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.
Well, essentially what you will end up doing is going into your /etc/X11/xorg.conf file and defining two things for each of the sections, "Device", "Monitor" and "Screen" customizing the values for your video card, the monitor it is hooked up to, and the screen resolution size of each monitor (respectively). Then, at the bottom of the xorg.conf, in the "ServerLayout" section, you will tell X how you want the screens laid out.. Something like this ...
If there is only one Server Layout value, then all you need to do is a "startx". If you want to define multiple layouts, then you need to start the one you want with
$startx -- -layout LayoutName
The only problem that I've found with this technique is that DRI is disabled on my laptop when I've "hooked" the LCD screen and an external monitor together. So, movie playback is rather poor. What you might also want to consider doing, if you don't mind keeping the monitors completely separate from each other is to start 2 X windows sessions, with each binding to a separate video card/monitor. So, instead of doing one "Server Layout" session for both monitors, you'd do one for each. And then when you started X, you would specifiy which session belongs to which monitor.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.