[Bug 305136] New: File associations are broken in gtk/glib apps

aditsu aditsu at yahoo.com
Tue Aug 14 14:29:38 BST 2012


https://bugs.kde.org/show_bug.cgi?id=305136

            Bug ID: 305136
          Severity: normal
           Version: 4.8
          Priority: NOR
          Assignee: unassigned-bugs at kde.org
           Summary: File associations are broken in gtk/glib apps
    Classification: Unclassified
                OS: Linux
          Reporter: aditsu at yahoo.com
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: general
           Product: kde

Even if I set up file associations the way I want in the system settings, they
don't work as expected in gtk applications. So far I found two main reasons for
that:
1. kde creates some desktop files with an "Exec[$e]" key; those files are
rejected by glib - "Invalid key name: Exec[$e]" (in gkeyfile.c,
g_key_file_parse_key_value_pair function)
2. Even if I avoid the first problem, glib is checking a bunch of configuration
files (mimeinfo.cache, defaults.list, mimeapps.list) in a bunch of places
(~/.local/share/applications, /usr/local/share/applications,
/usr/share/applications) and it seems that they are not in sync with the kde
settings, and I haven't found any program that edits them in an organized way,
apparently I have to edit them manually. Also can't figure out how they ended
up with the current contents.

Reproducible: Always



Expected Results:  
gtk apps should use the file associations I set in kde (there should at least
be an option for that, if not always desired)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list