Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40542 - kdebase kde session script version indipendent
Summary: kdebase kde session script version indipendent
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 16:44 UTC by Paolo Sacconier
Modified: 2005-07-01 08:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
suggested kdebase-3.2.0.ebuild patch (kdebase-3.2.0.ebuild.patch,438 bytes, patch)
2004-02-05 16:51 UTC, Paolo Sacconier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Sacconier 2004-02-05 16:44:22 UTC
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.
Comment 1 Paolo Sacconier 2004-02-05 16:51:51 UTC
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/
Comment 2 Dan Armak (RETIRED) gentoo-dev 2005-02-05 04:32:33 UTC
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?
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-05 06:00:25 UTC
The "Default" entry in kdm does exactly that, I don't think this is something 
worth adding...
Comment 4 Dan Armak (RETIRED) gentoo-dev 2005-07-01 08:04:59 UTC
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.