[Portland-bugs] [Bug 23424] New: xdg-mime default behavior

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 20 08:45:52 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23424

           Summary: xdg-mime default behavior
           Product: Portland
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: brian.thomason at canonical.com


xdg-mime default doesn't behave as I would expected.  Even when run with root
privs, it attempts to create
/home/$USER/.local/share/applications/defaults.list

Here on Ubuntu, the /home/$USER/.local/share/applications dir doesn't exist,
and it simply fails.  Even if it did exist, when run with root privs, I would
expect it to edit the global defaults.list file in /usr/share/applications,
which on Ubuntu systems, is a symlink to /etc/gnome/defaults.list whih is
contained in a package a pre-populated.

I would like to be able to pass --system to xdg-mime default and have it only
modify /usr/share/applications/defaults.list (and respect the symlink if it is
a symlink) rather than local files in ~.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list