skype and gnome keyring in kde environment => randomly skype can't connect, a solution

in kde environment randomly skype asks for gnome keyring password or silently fails connection even if all is well set to unlock gnome keyring during login process.

see how to unlock gnome keyring during login process https://forums.opensuse.org/showthread.php/531055-15-0-unlocking-gnome-keyring-by-logging-process-in-kde-environment(-gt-sddm)

i wrote a bug report https://bugzilla.opensuse.org/show_bug.cgi?id=1125686

my solution :

  • i use web.skype.com
  • i use chrome to create a desktop app with web.skype.com
  • i use kdocker to minimize in the systray the desktop app.
  • i put a script in kde settings > startup & shutdown > autostart according to start the desktop app

see the general way to proceed https://forums.opensuse.org/showthread.php/533989-kde-docking-an-app-in-systray

my script to start web skype on demand dock_skype_ondemand.sh :



#!/bin/bash
/usr/bin/google-chrome-stable --profile-directory=Default --app=https://web.skype.com
while  true ]
do
   sleep 5
   status=$(wmctrl -l | grep "Skype")
   if  "$status" != "" ] ; then
      break
   fi
done
WID="$(wmctrl -lx | grep "Skype")"; kdocker -qtw "${WID%% *}" -i ~/.local/share/icons/hicolor/32x32/apps/chrome-pakpgkfddlphnhhpjailhknmgghmephf-Default.png



you must adapt ~/.local/share/icons/hicolor/32x32/apps/chrome-pakpgkfddlphnhhpjailhknmgghmephf-Default.png

you must replace “pakpgkfddlphnhhpjailhknmgghmephf” by the one created by chrome in your case.

my script to start web skype during login process dock_skype_startup.sh :



#!/bin/bash
sleep 1m 45s
/usr/bin/google-chrome-stable --profile-directory=Default --app=https://web.skype.com
while  true ]
do
   sleep 5
   status=$(wmctrl -l | grep "Skype")
   if  "$status" != "" ] ; then
      break
   fi
done
WID="$(wmctrl -lx | grep "Skype")"; kdocker -qtw "${WID%% *}" -i ~/.local/share/icons/hicolor/32x32/apps/chrome-pakpgkfddlphnhhpjailhknmgghmephf-Default.png



you must adapt ~/.local/share/icons/hicolor/32x32/apps/chrome-pakpgkfddlphnhhpjailhknmgghmephf-Default.png

you must replace “pakpgkfddlphnhhpjailhknmgghmephf” by the one created by chrome in your case.

you must adapt the delay “sleep 1m 45s” to wait before starting up web skype to your case. to avoid problems web skype must be started after all apps in the systray.

So I understand until M$ will make native Skype install package for OpenSUSE so it will be an unsolvable problem for simple user.

You can download skype here:
https://www.skype.com/

this is what i understand:

Skype uses libsecret technology. Libsecret unifies access to wallet to store id and pwd.
Gnome team developed the access of gnome wallet (gnome keyring) via libsecret.
KDE team did not develop yet the access of kwallet via libsecret.
libsecret team did not fix a problem for using libsecret in kde environment.

you did not understand the problem.

Skype app gets a problem: automatic skype login fails in kde environment because skype can’t access to id and pwd stored in gnome keyring.

The solution to use skype and to get an automatic Skype login is to use web.skype.com, kdocker, chrome and some scripts i supplied in this post.

I made a fresh installation of the 15.3. There are some improvements. No more problem to mix KDE wallet and gnome keyring signon. gnome keyring signon works well.