[Bug 318959] [NEW] Desktop-profiles doesn't export a correct XDG_CONFIG_DIRS

Marc Gariépy mg at revolutionlinux.com
Mon Jan 19 21:01:13 UTC 2009


Public bug reported:

$ lsb_release -rd
Description:	Ubuntu 8.10
Release:	8.10

$ apt-cache policy desktop-profiles
desktop-profiles:
  Installé : 1.4.15
  Candidat : 1.4.15
 Table de version :
 *** 1.4.15 0
        500 http://gulus.usherbrooke.ca intrepid/universe Packages
        100 /var/lib/dpkg/status

The cache file /var/cache/desktop-profile if generated and it contain
those line.

==  /var/cache/desktop-profile/activated_profiles ==
XDG_DATA_DIRS=$XDG_DATA_DIRS:/etc/Profiles/Rl-gnome/share:/usr/local/share:/usr/share
XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/Profiles/Rl-gnome/etc/xdg:/etc/xdg
== end file ==

here is the /etc/desktop-profiles/rl-profiles.listing i use

==  /etc/desktop-profiles/rl-profiles.listing  ==
xdg_config_dirs_rl;XDG_CONFIG;/etc/Profiles/Rl-gnome/etc/xdg;10;;Default value for gnome-appserv RL
xdg_data_dirs_rl;XDG_DATA;/etc/Profiles/Rl-gnome/share;10;;Default value for gnome-appserv RL
== end file ==

Here are my $XDG_DATA_DIRS and $XDG_CONFIG_DIRS, they both start with
":".

XDG_DATA_DIRS=:/etc/Profiles/Rl-gnome/share:/usr/local/share:/usr/share
XDG_CONFIG_DIRS=:/etc/Profiles/Rl-gnome/etc/xdg:/etc/xdg

If i modify the file /var/cache/desktop-profiles/activated_profiles to
remove the $XDG_DATA_DIRS and $XDG_CONFIG_DIRS in both when i login, my
env is set correctly.

== modifed /var/cache/desktop-profiles/activated_profiles ==
XDG_DATA_DIRS=/etc/Profiles/Rl-gnome/share:/usr/local/share:/usr/share
XDG_CONFIG_DIRS=/etc/Profiles/Rl-gnome/etc/xdg:/etc/xdg
== end file ==

** Affects: desktop-profiles (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Desktop-profiles doesn't export a correct XDG_CONFIG_DIRS
https://bugs.launchpad.net/bugs/318959
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list