Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Tips and Tricks | Trucs et Astuces Cairo and Skype: no problem
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Tips and Tricks | Trucs et Astuces

Subjects Author Language Messages Last message
Cairo and Skype: no problem
Page : 1 2
jesuisbenjamin English 22 Guest [Read]
05 June 2018 à 17:56

jesuisbenjamin, Tuesday 02 November 2010 à 22:02 | Quote


Subscription date : 28 October 2009
Messages : 415
You like to use Cairo-Dock on Linux, you like it so much that you removed the entire Gnome-panel out of your sight.
But you're using Skype, and nothing irritates you more than this launcher that creates a new instance of Skype each time.
Don't bother seeking your instance in the Systray, here is a solution:

(disclaimer: perhaps i am lagging, the solution exists for more that a year and a half from the moment i am writing this post, but as i didn't see any solution on this forum, i thought it'd be a good idea to share.)

You can install a script called "skype-single-instance", which you can download from here http://forum.skype.com/index.php?app=core&module=attach&section=attach&attach_id=45021.
Just download this script, extract it, and move it to /usr/local/bin/

Then you can change your launcher command-line to
skype-single-instance


More info on http://forum.skype.com/index.php?showtopic=332401 and thanks to Jackwizard!

Also more plugins and scripts for Skype on http://forum.skype.com/index.php?showtopic=98654

Enjoy

fabounet, Thursday 04 November 2010 à 11:34 | Quote


Subscription date : 30 November 2007
Messages : 17118
good trick
would you mind adding it to the wiki ?

jesuisbenjamin, Thursday 04 November 2010 à 12:35 | Quote


Subscription date : 28 October 2009
Messages : 415
I put this on my to-do list.
Also (when i find the time -- because right now i am really postponing my study in for Cairo-Dock ) i'll see to making an applet that creates launchers for applications that go to the systray (eg. Gwget).

PS: Perhaps you could host this script in case it is removed some time in the future.

jesuisbenjamin, Thursday 04 November 2010 à 12:56 | Quote


Subscription date : 28 October 2009
Messages : 415
Added to Wiki: http://www.glx-dock.org/ww_page.php?p=Recurrents%20problems&lang=en

fabounet, Thursday 04 November 2010 à 16:34 | Quote


Subscription date : 30 November 2007
Messages : 17118
thx !

jesuisbenjamin, Wednesday 25 January 2012 à 18:41 | Quote


Subscription date : 28 October 2009
Messages : 415
Hi there,

the skype-single-instance script has been removed from the forum.
Does any one of you have a copy of it? I just upgraded to Xubuntu 11.10 and lost it

jesuisbenjamin, Wednesday 25 January 2012 à 19:02 | Quote


Subscription date : 28 October 2009
Messages : 415
Oh I found it:


#!/usr/bin/env python
import dbus
import sys
import os

try:
    
# Try and set skype window to normal
    
remote_bus dbus.SessionBus()
    
out_connection remote_bus.get_object('com.Skype.API''/com/Skype')
    
out_connection.Invoke('NAME single-instance')
    
out_connection.Invoke('PROTOCOL 5')
    
#out_connection.Invoke('SET WINDOWSTATE MAXIMIZED')
    
out_connection.Invoke('SET WINDOWSTATE NORMAL')
    
out_connection.Invoke('FOCUS')
except:
    
os.system("skype")
    
sys.exit()


fabounet, Friday 27 January 2012 à 12:59 | Quote


Subscription date : 30 November 2007
Messages : 17118
thanks !
by the way, their Dbus API seems quite rich ... wouldn't it be possible to make an applet from it ? (like maybe the Pidgin applet).

jesuisbenjamin, Friday 27 January 2012 à 13:15 | Quote


Subscription date : 28 October 2009
Messages : 415
I haven't looked at it. Also I got a bit frustrated with the Stack Exchange stuff because it forces you to log using embedded web browsers--while I wanted to make something a discrete. So for now I'm going to play around with Gnome Shell and see if I can hack in to make some extensions.

fabounet, Tuesday 31 January 2012 à 14:02 | Quote


Subscription date : 30 November 2007
Messages : 17118
ok, it would be interesting to have some comparison on making applets for both systems

Guest, Sunday 04 March 2012 à 04:29 | Quote

for me it doesn't work, i've tried to run in terminal to see what's happening and I've got this:

xxxxxx@xxxxxx-ABCD1234:/usr/local/bin$ ./skype-single-instance
File "./skype-single-instance", line 8
remote_bus = dbus.SessionBus()
^
IndentationError: expected an indented block

any idea??

I'm in ubuntu 11.10

matttbe, Monday 05 March 2012 à 03:15 | Quote


Subscription date : 24 January 2009
Messages : 12573
Indent was missing. Simply try with that:
#!/usr/bin/env python
import dbus
import sys
import os

try:
    
# Try and set skype window to normal
    
remote_bus dbus.SessionBus()
    
out_connection remote_bus.get_object('com.Skype.API''/com/Skype')
    
out_connection.Invoke('NAME single-instance')
    
out_connection.Invoke('PROTOCOL 5')
    
#out_connection.Invoke('SET WINDOWSTATE MAXIMIZED')
    
out_connection.Invoke('SET WINDOWSTATE NORMAL')
    
out_connection.Invoke('FOCUS')
except:
    
os.system("skype")
    
sys.exit()


Guest, Tuesday 13 March 2018 à 13:24 | Quote

useful information on topics that plenty are interested on for this wonderful post.Admiring the time and effort you put into your b!..
Tampa Car Title Loans

Guest, Saturday 17 March 2018 à 08:20 | Quote

Hi, I find reading this article a joy. It is extremely helpful and interesting and very much looking forward to reading more of your work..
voyance telephone

Guest, Saturday 24 March 2018 à 11:35 | Quote

I found that site very usefull and this survey is very cirious, I ' ve never seen a blog that demand a survey for this actions, very curious...
Rivercove Residences

Guest, Monday 26 March 2018 à 04:43 | Quote

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
cryptomoney

Guest, Monday 26 March 2018 à 04:44 | Quote

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
cryptomoney

Guest, Monday 26 March 2018 à 13:59 | Quote

Wow i can say that this is another great article as expected of this blog.Bookmarked this site..
bedok aircon servicing

johnb6174, Tuesday 27 March 2018 à 07:22 | Quote


Subscription date : 28 September 2017
Messages : 23
Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done.
youtube video indirme

Guest, Sunday 08 April 2018 à 13:09 | Quote

The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface.
phenq gnc

Tips and Tricks | Trucs et Astuces

Subjects Author Language Messages Last message
Cairo and Skype: no problem
Page : 1 2
jesuisbenjamin English 22 Guest [Read]
05 June 2018 à 17:56

Post a message

Anti-spam filter 8 (*) times (*) 4 =
            
Did you know ? The Mail tag encrypt the email address to protect you from spam


Glx-Dock / Cairo-Dock List of forums Tips and Tricks | Trucs et Astuces Cairo and Skype: no problem Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.