Dan Nicholson wrote: > On 1/22/07, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote: >> Dan Nicholson wrote: >>> http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html >> As far as I understand the current situation, BLFS violates the following >> bit of the specification: >> >>> Specifications may reference this specification by specifying the location >>> of a configuration file as $XDG_CONFIG_DIRS/subdir/filename. This implies >>> that: >>> >>> * Default configuration files should be installed to >>> $sysconfdir/xdg/subdir/filename with $sysconfdir defaulting to /etc. >> But GNOME and KDE install such files as /etc/$DESKTOP/xdg/subdir/filename. >> >> IMHO, if we fix this non-conformance, #2172 will disappear. > > That's solves one problem. However, it doesn't address XDG_DATA_DIRS. > Unless you're going to work hard to get all the menu data in > /usr/share, then that will have to be set to something. > > Also, according to the author of the spec, it's valid to put this data > wherever you want, but you have to set the variables correctly. > > http://bugzilla.gnome.org/show_bug.cgi?id=328664#c6 > > Also, in #2172, he did install into /etc/xdg. The problem is that he > set XDG_CONFIG_DIRS to /usr/share. Combined with the fact that > libxfce4util was not configured with --sysconfdir=/etc, he doesn't get > the fallback path at /etc/xdg.
I'm not sure I'm following all of this because I generally only install KDE. I'm not having any issues. I just installed OO and it put sever .desktop file in /usr/share/applications and they showed up in the KDE menus as expected. The only XDG variable I have set is XDG_DATA_DIRS. -- Bruce XDG_DATA_DIRS=/usr/share:/opt/kde/share and $ ls -R /etc/kde /etc/kde: ksysguarddrc xdg /etc/kde/xdg: menus /etc/kde/xdg/menus: applications-merged kde-information.menu kde-settings.menu applications.menu kde-screensavers.menu /etc/kde/xdg/menus/applications-merged: kde-essential.menu $ ls /opt/kde/share/desktop-directories/ kde-development-translation.directory kde-settings-desktop.directory kde-development-webdevelopment.directory kde-settings-hardware.directory kde-development.directory kde-settings-looknfeel.directory kde-editors.directory kde-settings-network.directory kde-edutainment.directory kde-settings-peripherals.directory kde-games-arcade.directory kde-settings-power.directory kde-games-board.directory kde-settings-security.directory kde-games-card.directory kde-settings-sound.directory kde-games-kidsgames.directory kde-settings-system.directory kde-games-roguelikes.directory kde-settings-webbrowsing.directory kde-games-strategy.directory kde-settings.directory kde-games.directory kde-settingsmenu.directory kde-graphics.directory kde-system-screensavers.directory kde-information.directory kde-system-terminal.directory kde-internet-terminal.directory kde-system.directory kde-internet.directory kde-toys.directory kde-main.directory kde-unknown.directory kde-more.directory kde-utilities-accessibility.directory kde-multimedia-music.directory kde-utilities-desktop.directory kde-multimedia.directory kde-utilities-file.directory kde-office.directory kde-utilities-peripherals.directory kde-science.directory kde-utilities-pim.directory kde-settings-accessibility.directory kde-utilities-xutils.directory kde-settings-components.directory kde-utilities.directory -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
