On Tue, 2007-01-16 at 23:16 -0500, Doug Goldstein wrote: > Howdy all, Hey,
> Diego (Flameeyes) brings about a good point from bug #95867 [1]. An > issue that's actually affected me at work with something I'm working on, > so I was the perfect person to ask to press this forward. > > > Basically XDG_DATA_DIRS is where FreeDesktop has standardized the > location of icons, desktop entries, directory entries and other misc > data. In Gentoo we've hard coded it to > XDG_DATA_DIRS=/usr/share:/usr/kde/3.5/share however it's always > sub-optimal to hardcode different settings. > > Diego (sorry, don't have anything but English keys) has proposed is > creating the ability for XDG_DATA_DIRS to be set via /etc/env.d entries > which sounds like the best plan. He's willing to make the change and I'm > all for it. Basically this is a request for comments on the idea. Anyone > opposed? If not then the change will happen 3 days from this e-mail. I'm all for that. See also bug about KDE applications not showing up in GNOME menus https://bugs.gentoo.org/show_bug.cgi?id=139697 This would probably get solved then as well, as /usr/kde/3.5/share would be included in XDG_DATA_DIRS in Gnome sessions as well. Currently there is no XDG_DATA_DIRS set at all in a Gnome session, so just the default /usr/share is looked at, and setting it in startup scripts sounds just wrong. I'm not sure how you'd approach this when multiple kde versions are present (like /usr/kde/3.4 AND /usr/kde/3.5 in the past), in what order they'd be there, how you ensure said order and so on. In Gnome land there is no such SLOTting. > Here's a summary of what Diego sent me: > > Basically, it's a matter of defining XDG_DATA_DIRS to > /usr/share:/usr/kde/3.5/share for the users, not difficult, but I think > what happens if a package in /opt wants to have its share directory > there too (would be proper, rather than polluting /usr/share space). > The quick solution is to set XDG_DATA_DIRS in COLON_SEPARATED, in every > env.d file that defines XDG_DATA_DIRS to be safe. I can do it, but it > needs to be announced first at least. > > [1] https://bugs.gentoo.org/show_bug.cgi?id=95867 > > > Oh and just to stir the US College Football pot.... Buckeyes suck! Go > Gators! This gives me some bad memories with certain spyware. And I don't get what you americans find in American Football. Go-go soccer! (football really, but I can't say that when americans are reading :( ) How's that for stirring up the pot? :p -- Mart Raudsepp Gentoo Developer Mail: [EMAIL PROTECTED] Weblog: http://planet.gentoo.org/developers/leio
signature.asc
Description: This is a digitally signed message part