Re: desktop environment specific XDG_CONFIG_DIRS
Lei Zhang wrote: > Isn't this behavior defeating the point of XDG? So far Fedora 7 + KDE > is the only major distro I encountered that does this. Linux From > Scratch says to do this, [1] but I imagine that does not affect many > users. There's no good reason for fedora+kde to continue using XDG_CONFIG_DIRS, now that XDG_MENU_PREFIX works (in kde). I was just too lazy/paranoid to change it (ie, if it ain't broken...). I'll work to remove it in the next pkg/update. -- Rex ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg
Re: desktop environment specific XDG_CONFIG_DIRS
Lei Zhang wrote: >Hello, > >I'm trying to add a system-wide menu item to both Gnome and KDE using >xdg-desktop-menu. I have been testing this on a variety of Linux >distros. On Fedora 7, I noticed if I installed my program from Gnome, >it shows up in both Gnome and KDE, but if I install it from KDE, it >only shows up in KDE. Why are you installing it in different places in the first place? Ignore $XDG_CONFIG_DIRS and $XDG_DATA_DIRS when installing. Install to the default locations and be done with it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part. ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg
desktop environment specific XDG_CONFIG_DIRS
Hello, I'm trying to add a system-wide menu item to both Gnome and KDE using xdg-desktop-menu. I have been testing this on a variety of Linux distros. On Fedora 7, I noticed if I installed my program from Gnome, it shows up in both Gnome and KDE, but if I install it from KDE, it only shows up in KDE. It turns out on Fedora 7 with KDE, XDG_CONFIG_DIRS is set to /etc/kde/xdg:/etc/xdg. This causes the .menu files generated by xdg-desktop menu to go into /etc/kde/xdg/menus/applications-merged instead of /etc/xdg/menus/applications-merged, and GNOME does not know about /etc/kde/xdg. Isn't this behavior defeating the point of XDG? So far Fedora 7 + KDE is the only major distro I encountered that does this. Linux From Scratch says to do this, [1] but I imagine that does not affect many users. - Lei [1] http://www.linuxfromscratch.org/blfs/view/svn/general/desktop-file-utils.html ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg