How to get Deluge to run as a service and show in tray?

Multi tool use
up vote
0
down vote
favorite
New to Deluge; I'm trying to get Deluge to run either as a Windows service or a Windows Task (to make sure it stays running at all times) while also running in the Tray.
Deluge is weird ... if I double-click either it's shortcut or deluge.exe, it'll load the GUI and minimize to the tray (I set that setting), but if you add deluge.exe or deluge-gtk.exe as either a service or task, when it runs it'll just show deluge/gtk.exe running in the process list, but not in the tray.
I want it this way because I want access to the webUI while also having the GUI running in tray, while also having some sort of check to make sure it's running all the time. It's a server machine, so most of the time I'll be remoting into the webui, but at times I'll also be in front of the machine and want to use the regular GUI.
Anyone?
windows deluge
add a comment |
up vote
0
down vote
favorite
New to Deluge; I'm trying to get Deluge to run either as a Windows service or a Windows Task (to make sure it stays running at all times) while also running in the Tray.
Deluge is weird ... if I double-click either it's shortcut or deluge.exe, it'll load the GUI and minimize to the tray (I set that setting), but if you add deluge.exe or deluge-gtk.exe as either a service or task, when it runs it'll just show deluge/gtk.exe running in the process list, but not in the tray.
I want it this way because I want access to the webUI while also having the GUI running in tray, while also having some sort of check to make sure it's running all the time. It's a server machine, so most of the time I'll be remoting into the webui, but at times I'll also be in front of the machine and want to use the regular GUI.
Anyone?
windows deluge
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
New to Deluge; I'm trying to get Deluge to run either as a Windows service or a Windows Task (to make sure it stays running at all times) while also running in the Tray.
Deluge is weird ... if I double-click either it's shortcut or deluge.exe, it'll load the GUI and minimize to the tray (I set that setting), but if you add deluge.exe or deluge-gtk.exe as either a service or task, when it runs it'll just show deluge/gtk.exe running in the process list, but not in the tray.
I want it this way because I want access to the webUI while also having the GUI running in tray, while also having some sort of check to make sure it's running all the time. It's a server machine, so most of the time I'll be remoting into the webui, but at times I'll also be in front of the machine and want to use the regular GUI.
Anyone?
windows deluge
New to Deluge; I'm trying to get Deluge to run either as a Windows service or a Windows Task (to make sure it stays running at all times) while also running in the Tray.
Deluge is weird ... if I double-click either it's shortcut or deluge.exe, it'll load the GUI and minimize to the tray (I set that setting), but if you add deluge.exe or deluge-gtk.exe as either a service or task, when it runs it'll just show deluge/gtk.exe running in the process list, but not in the tray.
I want it this way because I want access to the webUI while also having the GUI running in tray, while also having some sort of check to make sure it's running all the time. It's a server machine, so most of the time I'll be remoting into the webui, but at times I'll also be in front of the machine and want to use the regular GUI.
Anyone?
windows deluge
windows deluge
asked Nov 30 at 22:06


J. Scott Elblein
2121310
2121310
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
Windows services cannot have interactive access to the desktop since Windows Vista,
so this is not the direction to go.
If you would like the program to always run when you are logged-in
(without login there is no taskbar icon),
copy the link to it into the Startup menu group.
The All Users startup folder, for start up programs for all users,
is located at:
C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp
Thanks, but adding it to the startup folder(s)/registry key(s) doesn't make sure that it's always running (i.e. if it were to crash). Adding as a service/task adds the ability to auto-restart it if it crashes.
– J. Scott Elblein
Dec 1 at 23:10
Without login there is no taskbar and no icon, so your requirement cannot be met.
– harrymc
Dec 2 at 7:58
I'm not sure that's true, but lets skip that part for now. ;) and focus on why double-clicking deluge.exe (or the gtk version) when already logged in loads it up with the full GUI, and starting it as a service only shows it in the process list (no GUI, even when already logged in)? You can test this by usingnssm
and creating a service for deluge.exe, then starting the service.
– J. Scott Elblein
Dec 3 at 18:29
I already answered that - for security reasons a service is not allowed to interact with the desktop.
– harrymc
Dec 3 at 21:19
What's this for? i.imgur.com/usGEOv3.png
– J. Scott Elblein
Dec 3 at 22:08
|
show 1 more comment
up vote
0
down vote
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
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
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Windows services cannot have interactive access to the desktop since Windows Vista,
so this is not the direction to go.
If you would like the program to always run when you are logged-in
(without login there is no taskbar icon),
copy the link to it into the Startup menu group.
The All Users startup folder, for start up programs for all users,
is located at:
C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp
Thanks, but adding it to the startup folder(s)/registry key(s) doesn't make sure that it's always running (i.e. if it were to crash). Adding as a service/task adds the ability to auto-restart it if it crashes.
– J. Scott Elblein
Dec 1 at 23:10
Without login there is no taskbar and no icon, so your requirement cannot be met.
– harrymc
Dec 2 at 7:58
I'm not sure that's true, but lets skip that part for now. ;) and focus on why double-clicking deluge.exe (or the gtk version) when already logged in loads it up with the full GUI, and starting it as a service only shows it in the process list (no GUI, even when already logged in)? You can test this by usingnssm
and creating a service for deluge.exe, then starting the service.
– J. Scott Elblein
Dec 3 at 18:29
I already answered that - for security reasons a service is not allowed to interact with the desktop.
– harrymc
Dec 3 at 21:19
What's this for? i.imgur.com/usGEOv3.png
– J. Scott Elblein
Dec 3 at 22:08
|
show 1 more comment
up vote
0
down vote
Windows services cannot have interactive access to the desktop since Windows Vista,
so this is not the direction to go.
If you would like the program to always run when you are logged-in
(without login there is no taskbar icon),
copy the link to it into the Startup menu group.
The All Users startup folder, for start up programs for all users,
is located at:
C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp
Thanks, but adding it to the startup folder(s)/registry key(s) doesn't make sure that it's always running (i.e. if it were to crash). Adding as a service/task adds the ability to auto-restart it if it crashes.
– J. Scott Elblein
Dec 1 at 23:10
Without login there is no taskbar and no icon, so your requirement cannot be met.
– harrymc
Dec 2 at 7:58
I'm not sure that's true, but lets skip that part for now. ;) and focus on why double-clicking deluge.exe (or the gtk version) when already logged in loads it up with the full GUI, and starting it as a service only shows it in the process list (no GUI, even when already logged in)? You can test this by usingnssm
and creating a service for deluge.exe, then starting the service.
– J. Scott Elblein
Dec 3 at 18:29
I already answered that - for security reasons a service is not allowed to interact with the desktop.
– harrymc
Dec 3 at 21:19
What's this for? i.imgur.com/usGEOv3.png
– J. Scott Elblein
Dec 3 at 22:08
|
show 1 more comment
up vote
0
down vote
up vote
0
down vote
Windows services cannot have interactive access to the desktop since Windows Vista,
so this is not the direction to go.
If you would like the program to always run when you are logged-in
(without login there is no taskbar icon),
copy the link to it into the Startup menu group.
The All Users startup folder, for start up programs for all users,
is located at:
C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp
Windows services cannot have interactive access to the desktop since Windows Vista,
so this is not the direction to go.
If you would like the program to always run when you are logged-in
(without login there is no taskbar icon),
copy the link to it into the Startup menu group.
The All Users startup folder, for start up programs for all users,
is located at:
C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp
answered Dec 1 at 21:45


harrymc
250k11258555
250k11258555
Thanks, but adding it to the startup folder(s)/registry key(s) doesn't make sure that it's always running (i.e. if it were to crash). Adding as a service/task adds the ability to auto-restart it if it crashes.
– J. Scott Elblein
Dec 1 at 23:10
Without login there is no taskbar and no icon, so your requirement cannot be met.
– harrymc
Dec 2 at 7:58
I'm not sure that's true, but lets skip that part for now. ;) and focus on why double-clicking deluge.exe (or the gtk version) when already logged in loads it up with the full GUI, and starting it as a service only shows it in the process list (no GUI, even when already logged in)? You can test this by usingnssm
and creating a service for deluge.exe, then starting the service.
– J. Scott Elblein
Dec 3 at 18:29
I already answered that - for security reasons a service is not allowed to interact with the desktop.
– harrymc
Dec 3 at 21:19
What's this for? i.imgur.com/usGEOv3.png
– J. Scott Elblein
Dec 3 at 22:08
|
show 1 more comment
Thanks, but adding it to the startup folder(s)/registry key(s) doesn't make sure that it's always running (i.e. if it were to crash). Adding as a service/task adds the ability to auto-restart it if it crashes.
– J. Scott Elblein
Dec 1 at 23:10
Without login there is no taskbar and no icon, so your requirement cannot be met.
– harrymc
Dec 2 at 7:58
I'm not sure that's true, but lets skip that part for now. ;) and focus on why double-clicking deluge.exe (or the gtk version) when already logged in loads it up with the full GUI, and starting it as a service only shows it in the process list (no GUI, even when already logged in)? You can test this by usingnssm
and creating a service for deluge.exe, then starting the service.
– J. Scott Elblein
Dec 3 at 18:29
I already answered that - for security reasons a service is not allowed to interact with the desktop.
– harrymc
Dec 3 at 21:19
What's this for? i.imgur.com/usGEOv3.png
– J. Scott Elblein
Dec 3 at 22:08
Thanks, but adding it to the startup folder(s)/registry key(s) doesn't make sure that it's always running (i.e. if it were to crash). Adding as a service/task adds the ability to auto-restart it if it crashes.
– J. Scott Elblein
Dec 1 at 23:10
Thanks, but adding it to the startup folder(s)/registry key(s) doesn't make sure that it's always running (i.e. if it were to crash). Adding as a service/task adds the ability to auto-restart it if it crashes.
– J. Scott Elblein
Dec 1 at 23:10
Without login there is no taskbar and no icon, so your requirement cannot be met.
– harrymc
Dec 2 at 7:58
Without login there is no taskbar and no icon, so your requirement cannot be met.
– harrymc
Dec 2 at 7:58
I'm not sure that's true, but lets skip that part for now. ;) and focus on why double-clicking deluge.exe (or the gtk version) when already logged in loads it up with the full GUI, and starting it as a service only shows it in the process list (no GUI, even when already logged in)? You can test this by using
nssm
and creating a service for deluge.exe, then starting the service.– J. Scott Elblein
Dec 3 at 18:29
I'm not sure that's true, but lets skip that part for now. ;) and focus on why double-clicking deluge.exe (or the gtk version) when already logged in loads it up with the full GUI, and starting it as a service only shows it in the process list (no GUI, even when already logged in)? You can test this by using
nssm
and creating a service for deluge.exe, then starting the service.– J. Scott Elblein
Dec 3 at 18:29
I already answered that - for security reasons a service is not allowed to interact with the desktop.
– harrymc
Dec 3 at 21:19
I already answered that - for security reasons a service is not allowed to interact with the desktop.
– harrymc
Dec 3 at 21:19
What's this for? i.imgur.com/usGEOv3.png
– J. Scott Elblein
Dec 3 at 22:08
What's this for? i.imgur.com/usGEOv3.png
– J. Scott Elblein
Dec 3 at 22:08
|
show 1 more comment
up vote
0
down vote
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
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
add a comment |
up vote
0
down vote
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
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
add a comment |
up vote
0
down vote
up vote
0
down vote
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
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
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
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
answered Dec 5 at 17:12
Cas
1,38511215
1,38511215
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1379854%2fhow-to-get-deluge-to-run-as-a-service-and-show-in-tray%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
giRsODqCk7xB INbltXltmNoCV4aWUqPSr8 W6nUrG6My