Autostart strangeness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use qBittorrent for torrent downloads, and since I have a slowish
connection and tend to download large files I want it to be running all
the time while I'm logged in (BTW why do all the BT clients require you
to log in? another "benefit" of GUIs I guess).

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.

I disabled the instance in Autostart and re-logged in. Now I get one
instance, and one file in /tmp. So problem solved, but why?

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.

poc



[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux