Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I really need to put some separator in the unity launcher left bar... I think that could be possible to add some links to a program that simply do nothing so we only need to change it's icon to a separator-like icon... How can I do this?

share|improve this question
but separator will take same size as of other launchers on unity panel. Do you allow this behavior? – virpara Jun 8 '12 at 12:27
I would have preferred that they occupy less but I don't know how to do this... if you know other solutions please let me know – Fabio Spampinato Jun 8 '12 at 13:04
up vote 4 down vote accepted

Just create launcher

gksudo gedit /usr/share/applications/separator.desktop

and paste following details in gedit.

[Desktop Entry]
Name=Unity Separator

then hit Super and search for Unity Separator and put it on Unity Panel Remember, It will consume same space as of other launcher size on Unity Panel.

share|improve this answer

I solved. I just created some shortcuts with empty command and changed the icon. This is the result:

share|improve this answer
Didn't you just implement what virpara had in his answer – David Peterman Jun 8 '12 at 13:33
I read his answer only after I made it, btw I only made some copies of "My-Wheater-Indicator" (in my desktop) and I changed the properties – Fabio Spampinato Jun 8 '12 at 13:53
  1. Create a simple Python script ( with icon. (see code below)
  2. Put it in ~/bin/
  3. Create an icon.png and place it in the same directory.
  4. chmod +x ~/bin/
  5. Launch it. It will appear in launcher.
  6. While is running, set it to keep in launcher (right click on icon in launcher).
  7. Repeat from 1-6, changing the name to etc.
  8. Arrange the icons with drag.
#!/usr/bin/env python
import pygtk
import gtk

class HelloWorld:

    def delete_event(self, widget, event, data=None):
        return False

    def destroy(self, widget, data=None):

    def __init__(self):
        # create a new window
        self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)


        self.window.connect("delete_event", self.delete_event)
        self.window.connect("destroy", self.destroy)

        # Creates a new button with the label "Hello World".
        self.button = gtk.Button("Hello World")


    def main(self):

if __name__ == "__main__":
    hello = HelloWorld()
share|improve this answer

Your Answer


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.