[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] kdm on the right head
From:       Kevin Puetz <puetzk () iastate ! edu>
Date:       2002-03-01 1:25:25
[Download RAW message or body]

>Here is a patch for kdm to make it display on the proper head.  Before the 
>default value was 1 which is rather random since the screens range from 
>[0..n-1] and they are in no particular order relative to the physical 
>arrangement.  

No way :-)

If it was using screen 1, that's broken, it should use screen 0 (I still have 
been using my distro kde2.2 kdm, so I can't comment. ksplash at least got it 
right, until today). Feel free to fix that. But the screens are *not* random, 
they are in a very specific order relative to the physical arrangement - 
whichever one you picked when you did your XF86Config file. Please don't 
break this for those of us who have Xinerama configured :-)

>For those who don't understand, consider the following Xinerama config:
>
>Head#3   Head#2  Head#1  Head#0
>
>The mouse cursor will appear on Head#0 but the menu (if any), kicker, etc
>will appear on Head#3.  That's lots of mouse tracking to get to Head#3.

For instance, with my desk setup as it is, I want kicker/ksplash/kdm etc on 
the monitor right in front of me, so I do. Kicker is totally stupid about 
Xinerama now, I admit, but that's no excuse for breaking other apps to 
coordinate with it's broken behavior :-) One can move it to either edge, drag 
the icons around, or change which head is primary, in the meantime. Hopefully 
someone will fix this right for 3.1, but right now it can mostly be worked 
around. Your changes to other apps to make them ignore the Xinerama settings 
can't be.

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "NEC Screen"
        Screen          "Dell Screen" LeftOf "NEC Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        Option          "Xinerama"
EndSection

ie, primary (screen 0) in front of me, secondary head to the left of it, 
tucked into the corner of the room. One can use LeftOf, RightOf, and any 
number of other variations to get the arrangement you want. The one listed 
first is primaryScreen().

>This patch makes a new default, -1, and this makes kdm go to the screen with 
>(0,0).  It also goes to this screen if the parameter is out of range.

Please set it to zero, and fix ksplash and any other apps you broke the 
Xinerama handling in. If you need help fixing your XF86Config-4 (ie, the 
model I gave you is not enough to get them to show on your left screen if 
that's what you want), come on in #kde-users and I'll walk you through it.

-- 
Kevin Alan Puetz
(515)572-0927
puetzk@iastate.edu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic