[Portland-bugs] [Bug 45295] New: Proposed changes for "unknown DE"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 26 23:59:22 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45295

             Bug #: 45295
           Summary: Proposed changes for "unknown DE"
    Classification: Unclassified
           Product: Portland
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: petr at scribus.info


If the scripts knows DE, it uses DE-specific tools like kde-open or gvfs-open.
So all trubles occur when DE was not detected.

1. Improvement in xdg-mime 
The defapp_fallback function searches default application only in the
~/.local/share/applications/defaults.list. I added the defapp_fallback that
recurse scans .desktop files in $XDG_DATA_DIRS/applications and search deafult
app based on InitialPreference line. The algorithm is similar KDE.

2. Improvement in xdg-open
The open_generic_xdg_mime The function does not search .desktop files
recursively. I added a recursive search.

https://bugzilla.redhat.com/show_bug.cgi?id=769305

-- 
Configure bugmail: https://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