Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
That is interesting, a freshly-configured nautilus-terminal works for me - $PATH matches perfectly. Maybe your .bashrc or .profile do something tricky? –  evgeny Nov 27 '10 at 10:59
    
I freshly installed Ubuntu 10.10 on an old laptop this morning and added nautilus-elementary. I didn't alter .bashrc or .profile as far as I know. I guess nautilus-elementary is not identical to the embedded terminal shipped with nautilus-elementary - but thanks for the tip. –  marcvangend Nov 27 '10 at 15:05
add comment

1 Answer

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.

share|improve this answer
    
Thanks Martin. In fact, I did file a bug 2 weeks ago at bugs.launchpad.net/nautilus-elementary/+bug/675807 but there hasn't been a reaction yet. –  marcvangend Nov 27 '10 at 14:57
    
But wait, I now see that a day after filing that bug, the project was abandoned: launchpad.net/nautilus-elementary/+announcement/7221. –  marcvangend Nov 27 '10 at 15:02
    
They probably wanted to fork completely. Please mark the question as answered :-) –  Martin Owens -doctormo- Nov 27 '10 at 16:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.