Patrick O'Callaghan wrote:
Anyway, I configured Autostart to fire up QBT on login, but I also
use
"save session" in KDE. Guess what: I get two instances of QBT running.
Now the odd thing is that QBT is a "single instance" app. It's supposed
to detect a running copy and not start another one. However the way it
does this is by looking for a /tmp/qBittorrent-<uid> file. This actually
works. There is a (single) file there when the two instances are
running, and if I try to start a third one from the Shell it quite
rightly refuses.
...
Is it possible that the first (Autostart) instance of QBT creates
the
file, and something in the KDE startup sequence deletes it before the
second (saved session) instance fires up? I can't think of another
explanation, but IMHO this is Bad.
nothing in kde would touch that. this is most likely a race/bug in
qbittorrent