22

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
Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
sub7ei
  • 223
  • 1
  • 2
  • 6
  • 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 03 '11 at 16:26
  • It is better to read this ↠ http://askubuntu.com/questions/35488/list-of-custom-launchers-quicklists-for-unity?page=1&tab=votes#tab-top (contain a lot of quick-lists ) – Black Block Nov 18 '11 at 15:12

2 Answers2

21

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

Terry
  • 1,154
  • 8
  • 9
  • 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 04: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. – b-ak 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 – b-ak Nov 28 '11 at 18:00
  • This is what will happen http://youtu.be/oS52pYNFZ6I .. If that line is not removed. – b-ak Nov 28 '11 at 18:14
6

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.

RolandiXor
  • 51,091
  • 31
  • 161
  • 256