What is your path now?
Please post the output of the following command
I'm running Ubuntu 12.04 and I have the following path
Code:
/home/sudodus/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/games
- There is a duplicate for games (that should be removed).
- The first item was automatically added, when I made a ~/bin directory for my own executables.
- The second item was automatically added because of the X display manager used in my system (lightdm).
- I think the rest of the items come from the file
/etc/environment
which contains one line for PATH and one line for LANG
Code:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANG="sv_SE.UTF-8"
So I suggest that you make a backup copy of that file
Code:
sudo cp /etc/environment /etc/environment.old
and then edit the file to include what should be there (for example copy the content of my PATH=... line, but keep your language entry)
Code:
sudo nano /etc/environment
Use nano or the editor you like the best, but remember to run it with superuser privileges.
Reboot and see if it helps. If no luck, there is something that overwrites your path, and you need to find it, or overwrite it again, which might be tricky.
Bookmarks