2

Possible Duplicate:
How to add folders in launcher?
How to drag a folder to the launcher from Nautilus

I have a link(shortcut) in desktop pointing a folder in my file system. I would like to know is there a way to add that link to the launcher on left in ubuntu 12.04 ?

2 Answers2

2

created my own Desktop Entry specification file and its is working great.. Thanks for the intro

[Desktop Entry]
Value=1.0
Type=Application
Name=MyData
Comment=Storage location of all my data
Icon=system-file-manager
Exec=nautilus /host
Categories=System;FileManager;FileTools
1

This may not exactly be the answer you are looking for, but a method to make available the folder in the Unity bar is as follows:
If you add the link to Nautilus bookmarks, then its available via quicklists of Nautilus, i.e, in the list you see on right-clicking the home icon that you can find in the unity sidebar.

Check this method: Create link.desktop file with the following contents:

[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=system-file-manager
URL=file:///<path_to_your_folder>
Name[en_US]=Folder_link
Name=Folder_Link
Icon=system-file-manager

replace <path_to_your_folder> with actual path to the folder you need. e.g /home/username/Documents Now drag this file onto Unity launcher and see. N.B: I'm now in Ubuntu 10.04, so I can't check it.

saji89
  • 12,007
  • Thanks a lot for the work. I do have a doubt. Where do I store the link.desktop file? – kunaguvarun Jun 04 '12 at 16:49
  • @varunit, For now store it in your home folder, and try dragging it to your unity sidebar, and check if it works. – saji89 Jun 04 '12 at 16:52
  • Okay let me check and reply you back – kunaguvarun Jun 04 '12 at 16:53
  • I have done as you mentioned. If I double-click, it opens the specific folder, but dragging to the launcher is still not working – kunaguvarun Jun 04 '12 at 16:57
  • though its not exactly a good method, could you try moving that link.desktop file to /usr/share/applications (i.e, sudo mv ~/link.desktop /usr/share/applications/link.desktop) and then type in Folder_launcher in the unity search box. If you get a result drag that to the sidebar. – saji89 Jun 04 '12 at 17:16