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 created a firefox quicklist as shown below,

enter image description here

However I would like to also add commonly used websites in that quicklists under a seperate group. To present it visually nice I would like to add seperators (white lines as seen in the screenshot) to seperate that from the other existing commands.

Is there any code or any other way to do this?

How do I add a seperator to the quicklists in unity?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You can put your own separator with em-dash characters buts its not an "Official" separator as per Jorge Castro's answer,and, will have a slightly different look. Insert a shortcut group for the separator. For example:

[sep Shortcut Group]
Name=———————————
TargetEnvironment=Unity

Note that I named my separator group "sep" so you need to place "sep" (wthout quotes) into the "Ayatana-Desktop-Shortcuts=..."

Example:

X-Ayatana-Desktop-Shortcuts=Home;Desktop;Documents;Music;Pictures;sep;Win

This will place a separator below my Pictures shortcut and above my Win shortcut. With gedit, the emdash is achieved by pressing Ctrl-Shift+U2014 (Use keypad & ensure num-lock is ON). It is then easier to clipboard copy this character & then pasting it (using Ctrl-V) multiple times. (9 or 10 of these is good enough).

Also, you may notice that the "sep" shortcut group has no need for an Exec= line as there is no need to execute anything.

share|improve this answer
    
+1 for cleverness! –  Jorge Castro Aug 30 '11 at 3:12

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.