View previous topic :: View next topic |
Author |
Message |
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Fri Oct 01, 2004 8:40 pm Post subject: setting KDEDIRS: what and where? |
|
|
I've been having icon problems with Kile lately and I did some digging around the KDE bug database for answers. By chance, I found a reference to the KDEDIRS environment variable. By default, it's set to be "/usr"
Code: |
$ echo $KDEDIRS
/usr
|
When I start Kile, I have missing icons. If I unset KDEDIRS or set it to "" or "/usr/kde/3.3", the icons load up properly.
Code: |
$ env KDEDIRS="" kile
$ env KDEDIRS="/usr/kde/3.3" kile
|
So my question is, what is the correct setting for KDEDIRS, and where can I find the file that sets it? |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Fri Oct 01, 2004 8:59 pm Post subject: |
|
|
Well, there's a file in /etc/env.d called 58kdedir-3.3.0 on my system:
Code: |
KDEDIR=/usr/kde/3.3
|
The number may be different on your system. I'm not sure whether you can edit these files by hand, or whether they're generated from somewhere else, though _________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Fri Oct 01, 2004 9:07 pm Post subject: |
|
|
I found the "where" in "/etc/env.d/99kde-env", but I'm not sure what changing the file will do.
Code: |
$ cat /etc/env.d/99kde-env
KDEDIRS=/usr
CONFIG_PROTECT=/usr/share/config
KDE_MALLOC=1
#KDE_IS_PRELINKED=1
|
Does anyone know if changing this will break anything? |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Fri Oct 01, 2004 9:24 pm Post subject: |
|
|
Not badly ... if it does you can always change things back (since at worst it'll break KDE, leaving you with a terminal). _________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sat Oct 02, 2004 8:42 am Post subject: |
|
|
Since Kile is the only program doing this, I'll start it from a bash shell using the correct value for KDEDIRS. I submitted a bug report, so hopefully this issue can be fixed soon. |
|
Back to top |
|
|
dmitchell Veteran
Joined: 17 May 2003 Posts: 1159 Location: Austin, Texas
|
Posted: Sat Oct 02, 2004 4:33 pm Post subject: |
|
|
Create a new file in /etc/env.d (something like 99kde-local) and add KDEDIRS=/usr/kde/3.3 to it. Run env-update and restart kde. That should fix things.
Daniel _________________ Your argument is invalid. |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Wed Oct 13, 2004 7:36 pm Post subject: |
|
|
Same thing happens with Kaffeine and KDevelop. All missing icons appear when I use:
Code: |
$ env KDEDIRS="" appname
|
Is my KDE install borked or something? |
|
Back to top |
|
|
|