Adding PATH for X ???

Hello freebsd users

I want to add permanently a new path in my $PATH env under X. In my (dot)login I write :

Code:
setenv PATH to/my/favour/folder

but it seems to work only on text mode !

how can I resolve this problem ?

cheers
 
You need to change your ~/.cshrc (if you use tcsh) and logoff and back in again.

Setenv is a csh command. For .login you need to use the Bourne shell syntax:
Code:
PATH=$PATH:/some/where:/some/other; export PATH

I would suggest adding $PATH in the new assignment so it will keep what was already set.
 
]You need to change your ~/.cshrc (if you use tcsh) and logoff and back in again.

great!!! thank you so match

But I am still not arrive to my goal, I've just install QtCreator (thanks to lyuts ;)) and when I try to invok it I get some error :

Code:
% qtcreator&
readlink: illegal option -- f
usage: readlink [-n] [file ...]
cd: can't cd to ./../lib
exec: ./qtcreator.bin: not found

Note :
qtcreator.bin and all files exist in the right location.
qtcreator works fine when I invok it from qt-bin directory

thank you in advance
 
Back
Top