[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:       Alexis Scheuer <alexis.scheuer () loria ! fr>
Date:       2009-01-05 10:41:20
Message-ID: 20090105104120.32F6D14489 () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=160748


Alexis Scheuer alexis scheuer loria fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexis.scheuer@loria.fr




--- Comment #10 from Alexis Scheuer <alexis scheuer loria fr>  2009-01-05 11:41:19 ---
Well, I now have solved my problem, but I needed a turnaround :

* PATH and XDG_DATA_DIRS are now set correctly, adding these few lines in
/etc/bash.bashrc :

if [[ $PATH != *"/usr/lib/kde4/bin"* ]]; then
    PATH=$PATH:/usr/lib/kde4/bin 
fi 
KDE4PREFIX=$(kde4-config --prefix)
if [[ $XDG_DATA_DIRS != *"$KDE4PREFIX"* ]]; then
    XDG_DATA_DIRS=$KDE4PREFIX:$XDG_DATA_DIRS
fi 

  However, if the change of PATH allows to use kde4 binaires, the other change
does not seem o have any effect :  `kde4-config --path xdgdata-mime` does not
give a correct value
("~/.local/share/mime/:/usr/local/share/mime/:/usr/share/mime/", which does not
contain "/usr/lib/kde4/mime/")...

  As a consequence, `kbuildsycoca4 --noincremental` still does not work...

* My turnaround is the following :  I added a symbolic link from
"/usr/local/share/mime/packages/kde.xml" to
"/usr/lib/kde4/mime/packages/kde.xml" (`cd /usr/local/share/mime/packages ;
sudo ln -s /usr/lib/kde4/mime/packages/kde.xml .`), updated the mime database
(`sudo update-mime-database /usr/local/share/mime/`) and it works!..

If anybody knows how to solve correctly the problem, please write it here!
Thanks in advance.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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