user-none / KDocker

Dock most applications to the system tray
GNU General Public License v2.0
316 stars 22 forks source link

request: ability to pass posix signals on to the client application(s) #96

Closed dreamcat4 closed 3 years ago

dreamcat4 commented 3 years ago

Situation:

Desired outcome:

Actual result:

Therefore spotify remains open, after being asked to close. And after kdocker itself has exited. There seems no options within kdocker to control this behaviour... It just needs to pass on the posix signal to the client. Being a spawned process that it had originally launched earlier on

user-none commented 3 years ago

This would break KDocker as it would be unable to receive signals intended for itself. All processes KDocker manages has their own PID and any signals need to be sent directly to the application itself. You need tow work with raysession to have it pass the signal to the Spotify process and not KDocker.

dreamcat4 commented 3 years ago

nevermind - just discovered that it seems to work for SIGTERM...

[EDIT] oh wait no, it never worked. i seem to have multiple clones of spotify apps running with no GUI or interface anymore. hehe