Bug 56329 - KDM doesn't enable you to select between different X server layouts
Summary: KDM doesn't enable you to select between different X server layouts
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
: 58376 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-24 18:03 UTC by Stefan Freyr Stefansson
Modified: 2018-04-16 20:26 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Freyr Stefansson 2003-03-24 18:03:12 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Debian stable Packages
OS:          Linux

See Short description.

I would like to be able to select the server layout from a drop down box.  It can even be in the drop down box that is currently provided where you can select the session type.

In my situation I have a multihead configuration that I use at work, another one at home and of course I need to have a "standalone" (no multihead) when I just have my laptop.  Currently I can't use KDM because I have to start X with "startx -- -layout XXX" where XXX is the name of the layout I want to use.
Comment 1 Oswald Buddenhagen 2003-05-12 12:25:08 UTC
*** Bug 58376 has been marked as a duplicate of this bug. ***
Comment 2 Jens Hatlak 2003-08-02 01:25:40 UTC
I'd be satisfied if there would be a way to extend the dropdown which contains
"Restart X-Server" (or whatever the exact string is) in a way that would allow
one to add custom entries, i.e. pairs of name (like 'Dualhead' or 'Clone') and X
server parameters (for maximum customizability) or simply strings matching
Layout sections of the XF86Config file to be used with the --layout parameter.
I'd prefer an automatic approach though (KDM reads from XF86Config and only
shows valid layout names).

Side note: I currently try to work around this by starting up multiple local X
servers, but this approach leads to bug 54285. :-(
Comment 3 Aeli 2003-12-03 14:22:15 UTC
I think this is becoming more and more important as many cards provide tv-out and aditional DVI,VGA-out connestors wich are not used at normal startup!

good Idea could be to make kdm layout aware (now its the first one present in XF86Config and the XServers file can't handel the keyword -layout) and place the layouts in the Menue section as dropdown.
Comment 4 Oswald Buddenhagen 2003-12-03 15:28:52 UTC
> and the XServers file can't handel the keyword -layout
>
says who? you can put anything on the server command line, you just can't choose between different command lines interactively ...
Comment 5 Oswald Buddenhagen 2003-12-03 15:33:34 UTC
now for the selection ... i'm wondering, how the different command line extensions should be configured? two ideas of mine:
- in Xservers:
  :0 local /usr/bin/X11/X :0 {title=options,title2=options2,...}
- in kdmrc, section [X-:*-Core]:
  ServerOptions=title=options,title2=options2
the kdmrc variant is simpler to implement, both in kdm itself and in a potential setup dialog; the Xservers variant has the advantage that everything is in one place - otoh, i'm considering to absorb Xservers into kdmrc anyway: 
[Global]
LocalDisplays=:0
LocalReserveDisplays=:1,:2,:3
MinimalVT=7
ForeignDisplays=remote:0,remote2:0,...
[X-:*-Core]
ServerCommand=/usr/bin/X11/X -nolisten tcp
[X-:0-Core]
ServerConsole=tty1
[X-:1-Core]
ServerVT=12
...
or something along these lines. one immediate problem is, that sessreg on BSD systems relies on an Xservers file, so that would require some magic (fake Xservers file (like GDM does) or merging sessreg directly into kdm).
Comment 6 Krishna Sethuraman 2004-03-31 23:37:39 UTC
I'm running into the identical problem as the submitter.  The ATI Radeon 7500 (7800 also?) Mobility provides dual-head support, and is available in more than a few laptops.  I want to configure a laptop for a non-software person, and this is something that immediately presented itself as a missing feature in the kdm UI (once I got xinerama going).
Comment 7 Jens Hatlak 2005-08-16 14:43:33 UTC
In reply to comment #5:

Now that the Xservers -> kdmrc conversion is complete, the question of where to configure this has an answer. What else needs to be discussed?
Comment 8 Oswald Buddenhagen 2005-08-16 16:26:49 UTC
> What else needs to be discussed? 
>
who has the knowledge, the motivation and the time to implement it. :)
i received a patch for this years ago, but it wasn't very much too my liking and in the mean time too much changed for it to be applicable without bigger changes anyway.
i will certainly consider this topic at some point. :)
Comment 9 Stefan Freyr Stefansson 2005-10-13 18:35:42 UTC
Are we anywhere with this? I'd really like to be able to switch layouts with the graphical login.
Comment 10 Nate Graham 2018-04-16 20:26:17 UTC
KDM is unmaintained and not used in KDE Plasma 5.

SDDM is the login manager used in KDE Plasma 5. If you still have this same issue with SDDM, please file an issue on the SDDM bugtracker (after doing a search for existing issues first!): https://github.com/sddm/sddm/issues/