Gentoo Archives: gentoo-dev

From: foser <foser@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Session/.desktop WM compatibility, DM unification
Date: Mon, 27 Mar 2006 14:57:21
Message-Id: 1143471302.29952.25.camel@rivendell
In Reply to: [gentoo-dev] Session/.desktop WM compatibility, DM unification by Dan Armak
1 On Mon, 2006-03-27 at 00:03 +0200, Dan Armak wrote:
2 <snip>
3 > ===== Bugs overview (probably missed some): =====
4 >
5 > #89870: long story, summary: .desktop files are installed in different places.
6 > KDE only reads the KDE ones, Gnome only the Gnome ones (and both use a small
7 > common set).
8
9 This doesn't really fit in the WM/DM issue afaics. The fact just is that
10 the alternative installations roots Gentoo KDE uses aren't dealt with in
11 the eg. the menu config files.
12
13 > So each DE doesn't benefit from the other's apps (.desktop files aren't just
14 > for menus but also for e.g. services/actions on mimetypes/etc). 'Lightweight'
15 > WMs with a menu are forced to choose one of the above to display. (And if you
16 > merge both, the result is currently very ugly.)
17
18 The xdg menu spec has sufficient capabilities of dealing with the amount
19 of .desktop files. We just haven't dealt with them because they aren't a
20 real issue yet because of the non-default KDE installation paths on
21 Gentoo.
22
23 > #53517: xdm, kdm, gdm (don't know about entrance and such) each have their own
24 > set of a lot of configfiles: Xaccess, Xreset, Xservers, Xsession, Xsetup,
25 > Xstartup, Xwilling... Obviously bad.
26 >
27 > Today some files are shared / not duplicated (gdm <-> xdm, kdm <-> xdm), but
28 > the work is not complete. It seems gdm only has its own Xsession now, and if
29 > people confirm this I can work on getting rid of all of kdm's separate files
30 > as well. BUT I still need cooperation here because there might be some
31 > features in kdm's files which would need to be merged into the common (xdm?)
32 > ones.
33
34 GDM has had just its own Xsession for a long time iirc. I think most
35 functionality provided by these other X* files are login manager (xdm?)
36 specific. The one real issue is Xsession.
37
38 >
39 > #26326: unifying scripts that run on X sessions startup/shutdown. A lot of
40 > non-WM-specific stuff, e.g. starting ssh/gpg agents, lives (often duplicated)
41 > in DM-specific or WM-specific scripts.
42
43 This is the core of the problem, this needs to be fixed
44
45 > #14872: unifying DM session scripts, handling of ~/.xsession, etc. The bug is
46 > closed but I think some things mentioned there haven't been fixed.
47
48 This is sort of the same as #26326 .
49
50 I think the RH approach of using xinitrc.d as a place to unify startup
51 scripts is a workable solution. I'd like the X11 teams input on this
52 however, since the X11 /etc layout and history behind it is largely
53 unknown to me.
54
55 - foser

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies