Installing Skype on Ubuntu (or Debian) with updates for Skype URLs

This how to will show you how to install a Skype client in Ubuntu & Debian base operating system.

1. First of all you need to start up Synaptic Package manager. Go to System->Administration->Synaptic Package Manager

2. From Synaptic, go to Settings->Repositories. Click on Other  Software Tab. Check the box next to Canonical Partners.

3. Click Close, and Click ‘Reload’ at the top of Synaptic. Now you can locate Skype and install it from Synaptic or Ubuntu Software Center.

Now to install skype-action-handler to handle skype: URLs:

Download and install the Skype Action Handler
http://search.cpan.org/~ecarroll/Net-DBus-Skype-0.02/script/skype-action-handler (direct download link) and extract.

In a console, navigate to extracted files directory and run these

perl Makefile.PL
make
make test
make install

For Mozilla (Firefox)
* Open Mozilla (Firefox)
* Type about:config in the address-bar to open the configuration editor.
* Use the scroll bar to navigate to the network.protocol… section.
* Check if the network protocol section includes a network.protocol-handler.app.skype key.
* If a key exists, edit it. If no key exists, create a key by right-clicking on any key and selecting New -> String from the pull-down menu.
* Enter network.protocol-handler.app.skype as the key name.
* Enter /usr/local/bin/skype-action-handler as the key value.

### For GNOME-aware browsers (Epiphany, Firefox 1.5)
Run the following two commands:

/usr/bin/gconftool-2 -s -t string /desktop/gnome/url-handlers/skype/command '/usr/local/bin/skype-action-handler "%s"'
/usr/bin/gconftool-2 -s -t bool /desktop/gnome/url-handlers/skype/enabled true

Thats it – Test Call should work in Firefox

To undo the above gconftool key changes, you may run the following:

gconftool-2 --recursive-unset /desktop/gnome/url-handlers/skype

Original post by thestudio53 at http://blogs.skype.com/linux/2006/08/making_skype_links_work.html. Rewritten with updates for Ubuntu 10.04 and information from http://ubuntuforums.org/showthread.php?t=449543

Questions, comments, and feedback are welcome. Please share your experience with this so I can improve the guide. Thank you.

, , , , ,

  1. #1 by Mylan on March 28, 2011 - 11:50 pm

    root@mylan-desktop:/home/mylan/Desktop/Net-DBus-Skype-0.02# perl Makefile.PL
    Cannot determine perl version info from lib/Net/DBus/Skype.pm
    WARNING: ‘All rights reserved’ in copyright may invalidate Open Source license.
    Do you want to install ‘skype-action-handler’? [n]

    y
    *** Module::AutoInstall version 1.03
    *** Checking for Perl dependencies…
    [Core Features]
    - Test::More …loaded. (0.98)
    - Net::DBus …loaded. (0.33.6)
    - Moose …loaded. (1.24)
    - Env …loaded. (1.00)
    *** Module::AutoInstall configuration finished.
    Checking if your kit is complete…
    Warning: the following files are missing in your kit:
    Makefile
    Please inform the author.
    Writing Makefile for Net::DBus::Skype

    root@mylan-desktop:/home/mylan/Desktop/Net-DBus-Skype-0.02# make
    cp lib/Net/DBus/Skype.pm blib/lib/Net/DBus/Skype.pm
    cp script/skype-action-handler blib/script/skype-action-handler
    /usr/bin/perl “-Iinc” -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/skype-action-handler
    cp script/skype-simple-dialer blib/script/skype-simple-dialer
    /usr/bin/perl “-Iinc” -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/skype-simple-dialer
    Manifying blib/man1/skype-action-handler.1p
    Manifying blib/man1/skype-simple-dialer.1p
    Manifying blib/man3/Net::DBus::Skype.3pm

    root@mylan-desktop:/home/mylan/Desktop/Net-DBus-Skype-0.02# make test
    PERL_DL_NONLAZY=1 /usr/bin/perl “-MExtUtils::Command::MM” “-e” “test_harness(0, ‘inc’, ‘blib/lib’, ‘blib/arch’)” t/00-load.t t/boilerplate.t t/pod-coverage.t t/pod.t
    t/00-load.t ……. 1/1 # Testing Net::DBus::Skype 0.02, Perl 5.010001, /usr/bin/perl
    t/00-load.t ……. ok
    t/boilerplate.t … ok
    t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
    t/pod.t ……….. skipped: Test::Pod 1.22 required for testing POD
    All tests successful.

    Test Summary Report
    ——————-
    t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0)
    TODO passed: 2-3
    Files=4, Tests=4, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.56 cusr 0.05 csys = 0.66 CPU)
    Result: PASS

    root@mylan-desktop:/home/mylan/Desktop/Net-DBus-Skype-0.02# make install
    Appending installation info to /usr/local/lib/perl/5.10.1/perllocal.pod

    • #2 by Mike on March 28, 2011 - 11:53 pm

      Looks like a clean build and install.

      Were you able to get it working?

      Have you tried using the gconftool lines above, or the about:config settings? Were those any help?

  2. #3 by Mylan on March 28, 2011 - 11:54 pm

    Not the gconftool but did the other thing.

  3. #4 by linuxgeoff on December 16, 2011 - 11:10 am

    just doesn’t seem to work. Have the action handlers working (can call from command line), but FF (8) just refuses to acknowledge them!

  4. #5 by linuxgeoff on January 20, 2012 - 10:18 am

    I think I solved it, and it’s down to a change in the way that Gnome catalogs Applications. However, it’s probably not elegant and if any of you maistros can help improve it, we’d all be grateful:

    1) list a new .Desktop file in /usr/share/applications/defaults.list by adding the following line:
    x-scheme-handler/skype=firefox-skype.desktop

    2) create a firefox-skype.dedsktop file in /usr/share/applications with the following lines:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Skype Action Handler
    Comment=Call from Skype
    GenericName=Skype Client
    Exec=/usr/local/bin/skype_action_handler_1.0.pl %u
    Terminal=false
    X-MultipleArgs=false
    Type=Application
    Icon=skype
    Categories=Application;Network;
    MimeType=x-scheme-handler/skype;

    #replace /usr/local/bin/skype_action_handler_1.0.pl with your own file and path name
    and it seems to work

    • #6 by Mike on January 21, 2012 - 2:26 pm

      Thanks for the hard work on this!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s