On Tuesday 07 August 2001 16:42, Michael Schuerig wrote: > On Tuesday 07 August 2001 15:30, Eray Ozkural (exa) wrote: > > > Hmm. I've tried KDEDIRS and it seems to work. > [snip] > > Do you have any idea why this applet might not show in kicker applets > > menu, or if there is a CLI equivalent of doing that?
I personally don't like to do system wide config with environment variables. User can use kdm or gdm, Bourne or C shell like login shells, or login via ssh, rsh , telnet etc. to start kde applicatins. So I prefer the system.kdeglobals or kderc. It's more to type but it is where kde always looks. (Btw. the FHS way KDE is installed is also not compatible with all and only KDE stuff below one one or more 'prefix' roots, e.g, config dir and html dir). > Where do you set KDEDIRS? IMHO, it's not enough if you set in ~/.bashrc > or similar because shell startup files are not read by X. I have set > KDEDIRS in ~/.xsession and it's that file that I start from kdm. > > My ~/.xsession file looks like this > > ----->----->----->----->----->----->----->----->----->----->----->-----> > #! /bin/sh > > export KDEDIRS=/usr/local:/usr > > exec /usr/bin/x-session-manager > ----->----->----->----->----->----->----->----->----->----->----->-----> A bit more general is to do stuff like setting KDEDIRS in .bash_profile and source it from ~/.xsession (with #!/bin/bash of course). This way one gets the at least same environment with with ssh and kdm. Achim > x-session-manager is linked to /etc/kde2/kde2.sh via the Debian > alternatives system. > > Michael

