how to change 'nautilus's default directory path to a specific folder when it runs from terminal command? (i. e. :~$ nautilus (It opens default 'Home' folder). Changes made in /usr/share/applications/nautilus-home.desktop and in /usr/share/applications/nautilus.desktop files, still it opens the default home folder. (OS ubuntu 14.04 & 16.04)


If you want to open Desktop

sudo nautilus Desktop

If you want to open root dir

sudo nautilus /

Specification is

sudo nautilus yout_dir
  • not like this. If I type the command in terminal (i. e. :~$ nautilus) it should open the Desktop/MyFiles/ folder. Changes made in /usr/share/applications/nautilus.desktop file as: Exec=nautilus --new-window %U to Exec=nautilus --new-window Desktop/MyFiles/ After this change, while clicking the nautilus icon it directly opens the MyFiles folder. But when i use the terminal command it shows the default Home folder. – Jayapramod Mar 31 '18 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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