Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So I saw all that fancy quicklists in dash, and I'm wondering if I can do it with nautilus to add places as a quicklist, like Videos, Pictures, Downloads.. etc,

So as a start, I tried to modify /usr/share/applications/nautilus-home.desktop and added this but it didn't work:

X-Ayatana-Desktop-Shortcuts=Videos;

[Videos Shortcut Group]
Name=Videos
Exec=nautilus ~/Videos
TargetEnvironment=Unity
share|improve this question
    
have to logged out and back in since making the change or at least unity --reset –  Terry Apr 14 '11 at 21:18
    
I tried that of-course. –  sub7ei Apr 14 '11 at 21:26
    
The reason it did not work is most likely because of the line OnlyShowIn=GNOME; which should either be removed or replaced with OnlyShowIn=GNOME;Unity; as per the accepted answer. –  Cas May 3 '11 at 16:26
    
It is better to read this ↠ askubuntu.com/questions/35488/… (contain a lot of quick-lists ) –  Naruto Nov 18 '11 at 15:12
add comment

2 Answers 2

up vote 20 down vote accepted

ubuntu 11.10

Copy 'Home Folder' launcher file to your home directory:

cp /usr/share/applications/nautilus-home.desktop ~/.local/share/applications

Open the file for editing in gedit:

gedit ~/.local/share/applications/nautilus-home.desktop

copy of mine below:

[Desktop Entry]

Name=Home Folder
Comment=Open your personal folder
TryExec=nautilus
Exec=nautilus --no-desktop
Icon=user-home
Terminal=false
StartupNotify=true
Type=Application
Categories=GNOME;GTK;Core;
OnlyShowIn=GNOME;Unity;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-Ubuntu-Gettext-Domain=nautilus

X-Ayatana-Desktop-Shortcuts=Videos;Documents;Music;Pictures;Downloads
[Videos Shortcut Group]
Name=Videos
Exec=nautilus Videos
TargetEnvironment=Unity


[Documents Shortcut Group]
Name=Documents
Exec=nautilus Documents
TargetEnvironment=Unity

[Music Shortcut Group]
Name=Music
Exec=nautilus Music
TargetEnvironment=Unity

[Pictures Shortcut Group]
Name=Pictures
Exec=nautilus Pictures
TargetEnvironment=Unity

[Downloads Shortcut Group]
Name=Downloads
Exec=nautilus Downloads
TargetEnvironment=Unity

after you have logged out and back (or just restart unity by typing unity in a terminal in you will have folders as a quicklist for the home folder icon.

enter image description here

share|improve this answer
3  
As mentioned above, though that was Not the Op's issue, starting in 11.10, when copying a .desktop to another location you must remove or comment out the line - OnlyShowIn=GNOME;Unity; Otherwise your launcher icon will only launch the app, not control it. A 2nd icon will show up that does that. –  doug Nov 15 '11 at 4:51
    
This is the problem I have.. I'm trying to rectify it.. I'll read on and try my luck, else return back here. –  Bhargav Nov 28 '11 at 17:56
    
Yes.. I'm very happy.. Struggled for an Hour.. @doug Thank You.. Ur comment set me on the right track :D –  Bhargav Nov 28 '11 at 18:00
    
This is what will happen youtu.be/oS52pYNFZ6I .. If that line is not removed. –  Bhargav Nov 28 '11 at 18:14
add comment

Ubuntu 12.04

As of 12.04, it is no longer necessary to create a quicklist, as Nautilus automatically gets a list of your bookmarks and makes a dynamic quicklist.

share|improve this answer
add comment

protected by Community May 10 '11 at 15:32

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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