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'm writing an application that potentially uses quite a few windows. It would be nice if I could make at least some of those windows get their own Unity launcher entries. How do I do that?

share|improve this question

1 Answer 1

You can create multiple .desktop files that launch the individual windows separately. You can either use python filename.py or write a wrapper script for the command line argument.

share|improve this answer
    
That would make the program much, much more complicated since it'd have its own process. I'm talking about dynamic windows of the same type. For instance, if you are a writer, then you might have the browser, nautilus, LibreOffice Writer and no other entries on the launcher. But it would be nice if you could switch directly between open documents, so you wanted each document to have its own launcher entry. In that case, making a desktop file for each document, is not feasible. Still, for each document to have an entry might be useful in some cases. –  Jo-Erlend Schinstad Sep 1 '11 at 3:10
1  
@Jo-ErlendSchinstad: that's completely unnecessary with the way Unity works. You click on an item with multiple windows to open scale mode and that shows you all the windows. –  RolandiXor Sep 1 '11 at 3:22
    
I am aware of that, but that does not provide any keyboard shortcuts directly to a specific window. –  Jo-Erlend Schinstad Sep 1 '11 at 22:02

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.