Closed dant3 closed 12 years ago
It seems to be a bug in KDE that ignores .desktop file that caused application launch. Try to workaround it by creating somewhere a symlink to /usr/bin/skype named skypetab-ng and replacing "skype" in /usr/bin/skypetab-ng to the full path of this symlink. It will cause skype to run with another process name and, hopefully, KDE will recognize it.
Works for me, but only if symlink is out of PATH scope, and this really is a crunch, so I just added skypetab-ng`s .desktop to a list of autostarted apps.
According to documentation KDEs ksmserver works the same way as Gnome does, so I suspect automatically saved Gnome session will do quite same (launch skype instead of skypetab-ng), althrough I wasn
t lucky in finding
enough info on that.
Since skype does not provides means to support session handling it treated as a generic app, (this is where skypetab-ng`s autostarting became broken cause of the way it starts).
See links for a little more details: http://techbase.kde.org/Development/Tutorials/Session_Management http://forum.kde.org/viewtopic.php?f=66&t=94007 https://blogs.oracle.com/mattman/entry/gnome_2_24_session_save1
Then you saving a session with skypetab-ng opened, you will expect skypetab-ng will open again on a session restore with same positioning and geometry. However, loading such a session will open skype with same positioning and geometry which skypetab-ng had on session saving. It is always reproduceable with KDE at least, I didn't tested with other DE's though.
Steps to reproduce: 1) open skypetab-ng, move it whereever you like, resize it however you like. 2) save a session (automatically on logout or manually) 3) restore previous session (on login, or manually)
Actuall results: skype will open in the same place where skypetab-ng was positioned
Expected results: skypetab-ng should be opened and positioned just there it was last time
Reproduceable: Always
Software/Platform: KUbuntu 12.04 x64 KDE 4.8.2
Maybe this can be helpfull: I checked saved session file (~/.kde/share/config/session/kwin_....) and found it contains only "skype" info.
dant3@zalman:~$ cat ~/.kde/share/config/session/kwin_10dbcf6c6d000133589362200000016920000_1336085805_129642 | grep skype resourceClass1=skype resourceName1=skype wmCommand1=skype