I'm new with Ubuntu, and I read in another thread that to open a file in the default editor (gedit for me), I need to run xdg-open, but for some reason, when I run the command xdg-open app.js I'm getting a bash: xdg-open: command not found notification. Why is it?
Following a request from a comment, the output of echo $PATH is :
/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/efiminzer/.local/bin:/home/efiminzer/bin
echo $PATH. – kos Dec 01 '15 at 19:28whoami; groups; stat /usr/bin/xdg-open; apt-cache policy xdg-utils; dpkg -L xdg-utils | grep bin– A.B. Dec 01 '15 at 21:12