On 07/31/2009 06:32 PM, Chow Loong Jin wrote:
On Friday 31,July,2009 04:56 PM, [email protected] wrote:
Hm, nothing, just "command not found".. Examples :
[na...@nask0 ~]$ sudo geany
sudo: geany: command not found
[na...@nask0 ~]$ su -
Password:
[r...@nask0 ~]# geany
(here Geany runs without problems)
na...@nask0 ~]$ sudo -s
[r...@nask0 ~]# geany
bash: geany: command not found
It's a problem with your PATH. sudo does not change your PATH, but su
does. You should try something of this sort to see the differences:
$ echo $PATH
<output of your user's PATH>
$ su -
# echo $PATH
<output of root's PATH>
The two outputs are probably different. In particular, I think
/usr/local/bin[1] is missing from your user's PATH, but exists in root's
PATH. If you do something like:
$ export PATH=/usr/local/bin:$PATH
$ geany
it should work.
[1] /usr/local is your installation prefix, as shown in your first e-mail
_______________________________________________
Geany-devel mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Yep, it works, thnaks people.
--
Regards,
Atanas Beloborodov
Programmer
[email protected]
Mobile: +359 896 733 612
 |
Viscomp EOOD
92V "Hristo Botev" Blvd
4000 Plovdiv
Bulgaria |
Tel: +359 32 655 175
Fax: +359 32 655 176
www.viscomp.bg
|
|
0x3B3FDE14.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Geany-devel mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel