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 am configuring shortcuts and just thought that it would be awesome to be able to open skype, thunderbird and this stuff minimized with a command-line-shortcut? Is there a way I could do this?

share|improve this question

marked as duplicate by i08in, Radu Rădeanu May 22 at 8:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
skype & to launch it, in settings you can tell it to start minimized, not sure that is the solution you want... –  Alvar Feb 20 at 18:42
    
The below answers look good, I would just add that, once you get the proper command figured out create and alias to make it a short command: howtogeek.com/73768/… –  dan08 Feb 20 at 18:49

2 Answers 2

up vote 3 down vote accepted

To open skype in the command line:

nohup skype &

To open it minimized:

In Settings - General check the box that is labeled "Start Skype minimized in the system tray." That should get it to open minimized. (It does in gnome 3 at least)

share|improve this answer
    
easy command and just works :D thx –  ubuntu.stuff Feb 20 at 19:00
    
It does work with amarok, too but not with thunderbird. In Thunderbird there is also, I think, no option to open at minimized by default. –  ubuntu.stuff Feb 20 at 19:15
    
any possibility to fix that? –  ubuntu.stuff Feb 20 at 19:44
    
@ubuntu.stuff can you post it as a new question –  kamil Feb 21 at 7:51

If you want to start a program minimized you can use devilspie

Install using

sudo apt-get install devilspie

Then make a directory inside your home

mkdir ~/.devilspie

Now let's say you to start a Skype minimized. To do this create a file called "terminal.ds" in the ~/.devilspie folder you've just created with following contents :

(if

    (is (application_name) "skype")
    (begin
       (minimize)
    )
)

Save this file and start devilspie in terminal. I have tested it as "Terminal" instead of "skype" as application name .

share|improve this answer

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