View Full Version : [all variants] Shell command to open a window?

May 3rd, 2008, 10:39 PM
What is the bash command to open a nautilus window at a given location?


May 3rd, 2008, 10:45 PM
Do you mean: nautilus pathname

May 3rd, 2008, 10:51 PM
right click on the desktop and choose create launcher | then in the command portion of the new launcher type nautilus /home/USERNAME/Documents

this will create an icon/launcher that will bring you directly to your Documents directory via nautilus.

Adjust accordingly.


May 4th, 2008, 02:50 PM
I would like to add a line to a shell script that opens a window in a given path location.

I don't want to enter the path each time.

May 4th, 2008, 02:53 PM
Then add the path location to the shell script, say you wanted to open /var/www/mysite/ then you would enter
nautilus /var/www/mysite/

Unless you want to ask for what path to open each time of course :)