Alt-F2 within Gnome
Peter Garrett
peter.garrett at optusnet.com.au
Tue Oct 10 09:09:45 UTC 2006
On Tue, 10 Oct 2006 12:35:29 +0400
"Jury Levykin" <jury.levykin at gmail.com> wrote:
> Hi,
>
> there are shell script those located in:
> ~/bin/name
> and
> /usr/local/bin/name
>
> there is directory:
> ~/name
>
> Alt-F2 within Gnome > typing "name" >
> directory is opened !!!
>
> In my opinion it is wrong behavior!
> ~/bin/name should has a max priority.
Gnome session does not know about ~/bin - it doesn't read ~/.bash_profile
or ~/.bashrc . If there is a script or binary in /usr/local/bin though, it
should recognise that ( it does here, at least - although if you also have
a directory with the same name in your $HOME perhaps that takes
precedence. )
>
> How can I fix it?
>
Perhaps change the order of the PATH variable in /etc/login.defs or
perhaps in ~/.gnomerc ( you would have to add that file yourself if you
don't already have one) - but that is just a guess, and even if it works,
I doubt that it will fix the issue of an identically named directory in
$HOME , since the alt-F2 dialogue seems to search preferentially for
files in ~/ .
Peter
More information about the ubuntu-users
mailing list