How to get deluge to run as service or task and ALSO show in tray?

Specific support for Deluge on Microsoft Windows OS
Post Reply
J. Scott Elblein
New User
New User
Posts: 3
Joined: Mon Dec 03, 2018 6:35 pm

How to get deluge to run as service or task and ALSO show in tray?

Post by J. Scott Elblein »

Hey all

New Deluge user here. Rather than re-type my (long-ish) question, I'll just post a link to where I asked it already.

https://superuser.com/questions/1379854 ... ow-in-tray

Anyone happen to know?

TIA
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: How to get deluge to run as service or task and ALSO show in tray?

Post by Cas »

I shall copy the answer I posted on SuperUser:

On Windows I would definitely advise against trying to run the Deluge GUI as service as there are known issues with Gtk memory crashes over extended periods of time. If you want to run Deluge as service then you should use the Deluge daemon as detailed in the Deluge ThinClient guide: https://dev.deluge-torrent.org/wiki/Use ... ThinClient

There is no way to have a status icon for the `deluged` service and from what I have read, it is discouraged for a service to have a UI. However I feel that what you actually want is to be notified if the service fails or stops, e.g. email, popup, etc. So perhaps try this other SU answer: https://superuser.com/a/588096/72950
J. Scott Elblein
New User
New User
Posts: 3
Joined: Mon Dec 03, 2018 6:35 pm

Re: How to get deluge to run as service or task and ALSO show in tray?

Post by J. Scott Elblein »

Thanks Cas,

Turns out after a lot of Googling, I did go the "ThinClient" method so far (the name "ThinClient" in this case is sort of a poor descriptor IMO, lol). I'm running deluged and delugewebui (debug versions) as services to get to the web ui, but that (as you know) doesn't load the GUI at all, so I guess I'll just manually load the GUI whenever I need to use it.

It wasn't so much the warning if it stops that I am after; more of just the ability to have the system always make sure deluge is running 24/7 since I'm remoting to it, so the deluge daemon as a service works fine. I do have Organizrr running as well, and it pings the daemon to make sure/alert about it's uptime as well.

My original goal really, was basically to have Deluge run the same as uTorrent; you just load the GUI, it auto starts the web UI when it loads, as well as auto loads to the tray. Then whether you need to access the web ui or the GUI it's all right there in one app. Only instead of just putting uTorrent in the startup folder, add it as a service, so that it's "monitored" and restarts if it ever were to crash. But since you mention that Deluge GTK has memory issues, I'll stick with this ThinClient route. It's just weird to have to run 3 separate .exe's for all of this, whereas it could all be handled all with 1 exe.

Anyway, thanks again!
Post Reply