<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 07/31/2009 06:32 PM, Chow Loong Jin wrote:
<blockquote cite="mid:4A730EA1.5070104@gmail.com" type="cite">
  <pre wrap="">On Friday 31,July,2009 04:56 PM, <a class="moz-txt-link-abbreviated" href="mailto:a.beloborodov@viscomp.bg">a.beloborodov@viscomp.bg</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hm, nothing, just "command not found".. Examples :

[nask0@nask0 ~]$ sudo geany
sudo: geany: command not found
[nask0@nask0 ~]$ su -
Password:
[root@nask0 ~]# geany
(here Geany runs without problems)
nask0@nask0 ~]$ sudo -s
[root@nask0 ~]# geany
bash: geany: command not found
    </pre>
  </blockquote>
  <pre wrap=""><!---->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
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Geany-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a>
<a class="moz-txt-link-freetext" href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a>
  </pre>
</blockquote>
Yep, it works, thnaks people.<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-family: monospace; font-size: 10pt; line-height: 14pt;">
<p>Regards,<br>
Atanas Beloborodov<br>
Programmer<br>
<a style="color: rgb(158, 169, 72); text-decoration: none;"
 href="a.beloborodov@viscomp.bg">a.beloborodov@viscomp.bg</a><br>
Mobile: +359 896 733 612<br>
</p>
<table
 style="border-top: 1px dashed rgb(204, 204, 204); margin: 0pt; padding-top: 20px; text-indent: 0pt; font-family: monospace; font-size: 10pt; line-height: 14pt;"
 width="97%">
  <tbody>
    <tr valign="bottom">
      <td valign="top" width="200" align="left"><img
 src="cid:part1.02080605.01010500@viscomp.bg" alt="Viscomp EOOD"
 height="56" width="168"></td>
      <td width="200" align="left">
      <b>Viscomp EOOD</b><br>
92V "Hristo Botev" Blvd<br>
4000 Plovdiv<br>
Bulgaria</td>
      <td align="left"><br>
Tel: +359 32 655 175<br>
Fax: +359 32 655 176<br>
      <a href="http://www.viscomp.bg"
 style="color: rgb(158, 169, 72); text-decoration: none;">www.viscomp.bg</a><br>
      </td>
    </tr>
  </tbody>
</table>
</div>
</div>
</body>
</html>