LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2009, 07:38 PM   #1
manuleka
Member
 
Registered: Feb 2009
Posts: 114

Rep: Reputation: 16
how to create a file browsing menu item to a particular folder


i've got this folder which i want to create a menu item link to...

folder sits on my home directory... i know how to create a menu item (under menu editing) but i am after the command to use for bringing up File Browser to the folder i want...

i know that with this command it will bring up my home diretory
Code:
nautilus --no-desktop %U
what i want is to open a subdirectory of the home directory... cheers for any help
 
Old 05-30-2009, 08:06 PM   #2
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
I don't use nautilus, but I assume the command would look like this:
Code:
nautilus --no-desktop /home/YOURUSERNAME/subdirectory
IIRC, %U is a placeholder for /home/username. You can replace that with any directory you want.

Also, in most shells the tilde "~" is a replacement for /home/username. So "~/subdirectory" would probably also work.
 
Old 05-30-2009, 08:39 PM   #3
manuleka
Member
 
Registered: Feb 2009
Posts: 114

Original Poster
Rep: Reputation: 16
thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create start menu item in terminal BillV Ubuntu 4 03-22-2008 07:45 AM
In Gnome, how can I create a menu that points to a folder HGeneAnthony Linux - General 3 08-06-2006 03:56 AM
Can't create new menu folder with Nautilus markelo Linux - Software 1 09-29-2004 09:43 AM
file browsing experience - I don't want a new window per folder.. sokar Fedora 9 07-08-2004 07:22 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM


All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration