kekekeks / skypetab-ng

A program that adds tabs to Skype™ for Linux
skypetab-ng
GNU Lesser General Public License v3.0
76 stars 4 forks source link

skypetab launcher and kde icontasks #64

Open technic opened 9 years ago

technic commented 9 years ago

Hi, I have the following issue on KDE: If I do LD_PRELOAD and exec skype in *.desktop file everything works fine. But I can't activate skype by launching this desktop file. If I put launcher in skypetab-ng.desktop then it just starts pure skype at first time, but I expect it to start new skypetab instance. Activation with launcher is incomplete.. window becomes activated (it appears in tasksbar) but it doesn't get focus.

At least I want a launcher to start skypetab correctly and focusing issue isn't important.

kekekeks commented 9 years ago

1) What distro are you using? 2) The launcher does not set any environment variables, it exists solely for activation purposes. You have to set LD_PRELOAD variable before starting the launcher. See Debian package for correct usage. 3) Activation code is here. It's actually a bit tricky to properly activate a window since each window manager has it's own opinion about how it should be done.

technic commented 9 years ago

Sorry I have missed notification of your answer, so 23 days gone... 1) Arch Linux 2) So If I set LD_PRELOAD and then run skypetab-launcher it should work ? I'll test it as soon as possible 3) I have kwin, but I have no idea what is the correct option for doing this. As I said window gets activated but stays behind others. If all other windows are closed I can see it but it doesn't get focus until I click mouse on it.

kekekeks commented 9 years ago

3) Try to use the same code that's used for Unity.

technic commented 9 years ago

(2) woks good with kde icontasks.

technic commented 9 years ago

There is something strange about activation. When I close skypetab with cross button (so window disappears from alt-tab list) I have two options of activating it again. 1) By clicking systray icon -- it works ok 2) By starting skypetab-launcher from application list (kickoff), or from any console insance or clicking any other icon somewhere. In this case skypetab window appears but stays below other windows and its icon in taskbar is blinking like window that wants attention. So I need to click on task bar to raise skypetab and work with it. If all other windows was minimized it appears on top and I don't need to raise it manually.

One more detail. If after closing I don't change focus to any other window and launch skypetab by the second method It appears on top.