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.

I know how to add quicklists for a standard launcher with a .desktop file in either ~/.local/share/applications or /usr/share/applications.

But I am trying to create a quicklist for the icon that appears when a blank disc (CDR/DVD) is inserted.

share|improve this question
    
I want Format for USB devices. –  AliNa Aug 12 '13 at 0:19

2 Answers 2

A similar discussion took place in the Ayatana Mailing List. It is not possible to create a quicklist for mounted devices or CDs by just editing the .desktop files. You need to hard code this in Unity itself.

share|improve this answer
    
Yes, that was me. Just seeing if the community knows how I could go about this myself. –  edm Apr 2 '12 at 9:00
    
oh ok..You should then ask Didrocks or Omer Akram who work on Unity code themselves. They will be able to point you in the right direction. Contact them through IRC. –  nik90 Apr 2 '12 at 9:21

You can edit any of those .desktop files, whichever one you plan on having on your Unity bar to feature your command as a right-click shortcut. You can edit an existing shortcut and change the icon.

To create a launcher that has the blank disc icon, you can do that graphically either in the menu editor (alacarte) or even using a Nautilus script, then find your blank disc icon (icon sets normally have them in the .../devices/ folder), or get a template for a .desktop file and put the path to that icon in the Icon= field. Since the launcher will have the blank disc icon, now you can use the existing quicklist examples as a template and add all the right-click shortcuts you like.

share|improve this answer
    
I don't think this is right in this case. If I'm understanding the question, they want to be add entries to the quicklist for a mounted volume, specifically a blank CD, rather than adding an arbitrary launcher with a disk icon. Mounted volumes seem to occupy their own category in the Unity launcher, and I don't know of any way to edit their launcher entries. –  Marius Apr 2 '12 at 6:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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