5

I'm running Ubuntu 10.10 with Nautilus-Elementary installed. When I open the embedded terminal in Nautilus (F7) and run echo $PATH, I get:

/usr/bin:/bin:./usr/local/bin:/bin

When run the same command in the regular terminal, I get:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

Is there some logic in this behavior, is this a bug, or did I just forget to configure something?

karthick87
  • 84,513

1 Answers1

2

Like all terminals launched in gnome, it should be inheriting the PATH environment from the parent process. These ultimately come from the /etc/login.defs and /etc/environment files and are initialised when ever you login.

In fact if you go to another tty and log in (Ctrl+Alt+F1) you'll see the same path as gnome terminal. But not the same limited path as elementary.

I'd ask you to report a bug, but the elementary team hasn't registered a bug reporting service.