Difference between revisions of "Shutter:Run as service"

From den4b Wiki
Jump to navigation Jump to search
(→‎User notes: screenshot from a service)
(rewritten article to be more straight forward, updated list of third party tools, added list of known limitations)
Line 1: Line 1:
 
{{Up|Shutter}}
 
{{Up|Shutter}}
  
There is no native or easy way to make [[Shutter]] run as a service. This is because service applications are different from normal user applications (from programming point of view) and would have to be written differently. But, this doesn't mean that there cannot be any workaround. Below is a list of methods which worked for some users, but note that they are not officially supported and cannot be guaranteed to work.
+
[[Shutter]] is designed as an interactive application which normally runs in the background but in the user session rather than as a service. Services differ from normal applications from programming point of view and have to be developed differently. However, it is still possible to run Shutter as a service using specialized tools.
  
== Windows tools ==
+
'''Note:''' Running Shutter as a service is not a supported feature and there are various limitations to functionality. Known limitations include certain events and actions failing to work, e.g. Lock workstation, Alarm, Screenshot, etc.
  
Windows Resource Kit provides two utilities that allow you to create a user-defined service for Windows applications. '''Instrsrv.exe''' installs and removes system services from Windows NT and '''Srvany.exe''' allows any Windows NT application to run as a service.
+
== Windows Resource Kit ==
  
* [http://support.microsoft.com/kb/137890 How To Create a User-Defined Service]
+
''Windows Resource Kit'' provides two utilities that allow you to create a user-defined service for Windows applications. '''Instrsrv.exe''' installs and removes system services and '''Srvany.exe''' allows any application to run as a service.  
* [http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en Windows Server 2003 Resource Kit Tools]
 
  
== Third party tools ==
+
* Download: [http://www.microsoft.com/en-us/download/details.aspx?id=17657 Windows Server 2003 Resource Kit Tools]
 +
* Instructions: [http://support.microsoft.com/kb/137890 How To Create a User-Defined Service]
  
There are 3rd party tools exist that can run any application as a service, which will be more intuitive but unfortunately not free, for example: '''Any2Service''', '''FireDaemon'''.
+
These tools were originally developed for Windows XP and Windows Server 2003, but they still work on newer operating systems too, including Windows 7.
  
Any2Service can be downloaded from here:
+
== Third party tools ==
* http://www.snapfiles.com/get/any2service.html
 
* http://www.softpedia.com/get/System/System-Miscellaneous/Any2Service.shtml
 
 
 
FireDaemon can be downloaded from here:
 
* http://www.firedaemon.com/
 
 
 
== User notes ==
 
  
You should not allow the service to interact with the desktop. If you do allow interaction, [[Shutter]] will close after a user logs off.
+
* [http://nssm.cc/ NSSM - The Non-Sucking Service Manager] - Service helper, command line and semi-GUI (freeware).
 +
* [http://www.firedaemon.com/ FireDaemon] - Powerful service management with a lot of features (commercial).
  
Services run in Session 0 which is different to a normal user session. This means that services do not have access to user's desktop. Hence, taking a screenshot from the web interface will not work in this case.
+
More application can be found online, for example at ''alternativeTo.net'': [http://alternativeto.net/tag/run-application-as-service/ Run Application As Service].
  
 
[[Category:Shutter]]
 
[[Category:Shutter]]

Revision as of 15:16, 30 April 2014

Arrow Return.png Shutter  

Shutter is designed as an interactive application which normally runs in the background but in the user session rather than as a service. Services differ from normal applications from programming point of view and have to be developed differently. However, it is still possible to run Shutter as a service using specialized tools.

Note: Running Shutter as a service is not a supported feature and there are various limitations to functionality. Known limitations include certain events and actions failing to work, e.g. Lock workstation, Alarm, Screenshot, etc.

Windows Resource Kit

Windows Resource Kit provides two utilities that allow you to create a user-defined service for Windows applications. Instrsrv.exe installs and removes system services and Srvany.exe allows any application to run as a service.

These tools were originally developed for Windows XP and Windows Server 2003, but they still work on newer operating systems too, including Windows 7.

Third party tools

More application can be found online, for example at alternativeTo.net: Run Application As Service.