I already seen examples for adding favorite places on home icon launcher for Documents, Music, Pictures, Downloads and already added it.

Now I want to have also add Windows partition so that when I click it will mount and open in nautilus. I didn't find any example for this anwhere. Is it possible or not, if yes then how ?


You might be able to get something good enough by adding it to your Nautilus (file explorer) bookmarks, by pressing Ctrl+D when you have the partition (directory) open. Then, you can hit Meta+F (meta is usually the windows key) and typing the name.

edit -- you could probably follow this user's post, How to add my favorite places as a quicklist in my home's icon in Unity? and use a different directory path. If you need to figure out what the path is,

  • Select the folder (or Windows partition) in question.
  • Open up the editor with the .desktop file from the linked post.
  • Paste (Ctrl+Shift+V).
  • Remove the "file://" prefix.
  • Is this the only way ? Nov 6 '11 at 0:50
  • @GauravPadia, see edit, sorry! Nov 6 '11 at 0:56
  • I followed your suggestion in edit section, but its not working. I selected windows partition and paste it but I am not getting anything prefixed with file:// instead I am getting /media/SOFTWARES where SOFTWARES is my windows drive label. SO this is what I added: "[SOFTWARES Shortcut Group] Name=SOFTWARES Exec=nautilus /media/SOFTWARES TargetEnvironment=Unity" It will open my partition only if it is already mounted else nautilus is saying "Could not found /media/SOFTWARES" Nov 6 '11 at 1:06
  • @GauravPadia, okay, sorry I misunderstood. Can you make the partition mount by default? You can probably use something like the "Disk Utility" or gparted to mount it, then copy the mount parameters to /etc/fstab. You should be able to add the user flag to the /etc/fstab line for your Windows partition so you can mount it with the "mount /media/SOFTWARES" command. Then, you can just make the .desktop file "mount /media/SOFTWARES && nautilus ...`. Nov 6 '11 at 1:24
  • I want to do without mounting by default because I do not need windows partitions everytime. Do you know any single command that will mount partition and open in nautilus ? Thanks al lot for your help anyway. Nov 6 '11 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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