Results 1 to 7 of 7

Thread: Start Skype from terminal

  1. #1
    Join Date
    Nov 2005
    Location
    Beijing
    Beans
    424
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Start Skype from terminal

    Sorry to ask this question, but I am in China and trying to access the Skype forum I am always diverted to a Chinese website. I do know the answer is there in the forum.

    I need to open 2 Skype instances from the terminal and log in at the same time. Starting Skype is no problem, but what is the sytax to log in.

    Thanks Michael

    BTW Skype does not provide any assistance in China other than Chinese. Very user unfriendly!

  2. #2
    Join Date
    Dec 2004
    Location
    Atlanta, GA USA
    Beans
    7,257
    Distro
    Ubuntu Development Release

    Re: Start Skype from terminal

    Quote Originally Posted by Yumi View Post
    Sorry to ask this question, but I am in China and trying to access the Skype forum I am always diverted to a Chinese website.
    That is between you and your internet provider/government.

    Starting Skype is no problem, but what is the sytax to log in.
    You need to sign up for a username and password.

  3. #3
    Join Date
    Nov 2009
    Beans
    77
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Start Skype from terminal

    Getting to the forum might be because of recent Chinese regulation

    More

    Let me know if you are having problems connecting to Skype I am interested to hear if it is blocked. One way around this is to use a VPN.

    The command to launch Skype should just be
    Code:
    skype
    But I don't know how to launch skype with the login credentials unless you have skype save your username and password.
    "Excellent" -- mrburns

  4. #4
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Start Skype from terminal

    Code:
    echo username password | skype --pipelogin
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  5. #5
    Join Date
    Nov 2005
    Location
    Beijing
    Beans
    424
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Start Skype from terminal

    Thank you WorMzy, this was what I was looking for. It works. But never be satisfied - when I put this command into "Startup Applications" it does not. Would you also know how to modify this command for that purpose.

    Skype is not blocked in China. But all URL's concerning Skype are diverted to "http://skype.tom.com/". This makes sense for local users but not for foreigners not able to cope with written Chinese.

    Michael

  6. #6
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Start Skype from terminal

    Rather than putting the command itself into the startup list, try writing a script, making it executable, then adding the script to the list of startup applications.

    e.g.

    Make a new file in your home folder called .startskype and put the following text into it:
    Code:
    #!/bin/bash
    
    echo username password | skype --pipelogin
    Then run
    Code:
    chmod +x ~/.startskype
    Then add that file to the list of start up applications.


    Note: Files beginning with a "." don't show up unless you turn on "show hidden files" in your file manager. Ctrl+H usually toggles this.

    Note2: It's been a while since I used GNOME2, and I've never used GNOME3/Unity, so I can't guarantee that this will work for you.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  7. #7
    Join Date
    Nov 2005
    Location
    Beijing
    Beans
    424
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Start Skype from terminal

    That did the trick, thank you.

    Michael

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •