kdebase provides a session script (/etc/X11/Sessions/) in the format kde-x.x.x for every kde version installed. I propose to add an equivalent script named /etc/X11/Sessions/KDE, so it will run the latest kde installed on system, without any change in the graphical login preferences for the users. Version conflicts will be handled by etc-updates as ususal. Suggested kdebase-3.2.0.ebuild path attached. Bye! Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 25042 [details, diff] suggested kdebase-3.2.0.ebuild patch It copies kde-${PV} as KDE and puts both files in /etc/X11/Sessions/
Not so easy. Because kdebase 3.3, 3.4 have different SLOTs, you can't predict the install/upgrade order and so 3.3's file might overwrite 3.4's. That outweighs the positive effect of upgrade where you emerge 3.4, unmerge 3.3, and users don't have to select a session manually. Because new-style session files are .desktop files and not scripts, we'd have to write a wrapper script that actually checks what the latest KDE installed it and launches that. Or perhaps just relying on PATH would be enough. I don't mind adding it in that form... opinions?
The "Default" entry in kdm does exactly that, I don't think this is something worth adding...
OK. It's hardly a big burden on users to select the new KDE session manually, anyway. And on seconds thoughts, I'm not sure automatically logging into the latest KDE once it's installed is a good idea on multiuser systems where the user may not be expecting it, since he then has to take some time to deal with the configuration changes and new features.