[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 160748] kig: unable to load or save .kig files
From:       Pino Toscano <pino () kde ! org>
Date:       2008-04-28 22:17:00
Message-ID: 20080428221700.13943.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=160748         




------- Additional Comments From pino kde org  2008-04-29 00:16 -------
> I have a file /usr/lib/kde4/share/mime/packages/kde.xml 
> which does have kig related entries.

Not even:
  <mime-type type="application/x-kig">
    <comment>Kig figure</comment>
    <glob pattern="*.kig"/>
    <glob pattern="*.kigz"/>
  </mime-type>
? if it does not, then it's a kubuntu problem, as that mimetype is there since \
months, way before any KDE 4 release.

> $ env | grep XDG 
> XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/

This is exactly the problem. You (or something else) is explicitely setting that \
variable, so its value is taken as is (per specs). So, unless there is a sort of \
wrapper script or whatever that manually sets (or unsets) it, this looks like a \
kubuntu issue.

As further test you can do the following, in a terminal:
$ XDG_DATA_DIRS=$(kde4-config --prefix)/share:$XDG_DATA_DIRS
$ export XDG_DATA_DIRS
$ kbuildsycoca4 --noincremental
here, verify that at the end of its output there's something like:
kbuildsycoca4(23962) KMimeFileParser::parseGlobs: Now parsing \
"/usr/lib/kde4/share/mime/globs" $ kig [or kig-kde4, no idea how kubuntu called it]

If kig started from this procedure works, then it's indeed a distro issue.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic