Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I'm not sure if this is the right place to put this or not. . .
Anyways, basically I'm back at school, and I've got two monitors (both hooked to one card BTW - it's a dual-head ATi 4670 HD vidcard). I've got them working such that I can drag a window across from one to the other in KDE.
Every time I launch a fullscreen game, it clones itself on both displays - which I don't like. How can I set it up so that it'll only take up one screen? Or can I?
I know I can just have it set so that it basically just shows two X displays - but then I can't rearrange my windows across both screens, which I would like to do.
By the way I'm running Gentoo, and I'm using ATi's driver.
You probably want what is sometimes referred to as "multi-head" where each monitor acts as an independent desktop. The advantage is that any app is confined to one monitor and they can have different resolutions and color depths. The disadvantage is that you can't move an app from one desktop to another, even if they have separate windows (like Firefox). Some apps don't care how many instances are running (like gedit) while Firefox won't let you start another on the other desktop. Depending on the desktop environment you can still drag-n-drop files and text between apps on different screens. Most distros don't have configuration tools for setting this up yet so you have to edit /etc/X11/xorg.conf manually. Below is a snippet of my configuration with an Nvidia card. The same card is listed twice and the Screen value refers to each connector on the card. The ATI driver may have different parameters so you have to check their documentation. The NoLogo statement (commented out) disables the Nvidia start-up logo. The ServerFlags section disables Composite which I think was interfering with some of my games.
you need to add a metamode.. for example if you have the 1st monitor resolution at 1680x1050 and the 2nd at 1280x1024 you would use something similar to this to tell xorg it has the ability to turn on monitor off ::
Notice this tells xorg DFP-0 (monitor 1) to have a resolution of 1680x1050 , while DFP-1 (monitor 2) has the resolution of 1280x1024. The second part tells xorg you have DFP-0 at 1680x1050 while DFP-1 has nothing (NULL) .. this allows you to 'turn off' in a sense the 2nd monitor when a fullscreen game is played.
I will give that a try. Right now I am using dual-head but I really don't like not being able to drag windows across screens.
Ideally I'm not sure I really want to turn it off - but I'd prefer that over having it cloned on both screens. I'll play with the metamodes once this compile finishes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.