Dne po 8. října 2012 David Hare napsal(a):
On 08/10/12 16:19, Slávek Banko wrote:
Under LXDE TDE programs can not run, because TDE
is not set in
> >> the system PATH. TDE into PATH usually adds startkde. Try:
> >>
> >> export PATH=/opt/trinity/bin:$PATH
> >> export KDEDIR=/opt/trinity
> >> export KDEHOME=$HOME/.trinity
> >>
> >> ...and then run TDE programs.
I tried adding these lines in ~/.bashrc :
PATH=/opt/trinity/bin:$PATH
KDEDIR=/opt/trinity
KDEHOME=$HOME/.trinity
(after relogin) No luck calling tde apps from a LXDE "run" box without
full path (e.g. /opt/trinity/bin/kwrite)
When added also to ~/.profile - on relogin it worked without full path.
Why I don't know, I thought .profile sourced .bashrc at login. Never
mind, that does the job.
Maybe the same for /root e.g. for a text editor, not tried yet.
If you migrated a whole bulk of settings from another system any
trouble is most likely config files not tde bug, setting up a new
"test" user account will prove that
David
Is the user's shell bash or dash?
I have in .profile:
#if [ -f ~/.bashrc ]; then
# source ~/.bashrc
#fi
In other words, .bashrc is not processed from .profile.
Slavek
--