Difference between revisions of "Shutter:Run as service"

From den4b Wiki
Jump to navigation Jump to search
(→‎User notes: screenshot from a service)
(Windows Resource Kit not recommended for novice users)
 
(4 intermediate revisions by the same user not shown)
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 of a 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 listed below.
  
== 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, and several other features.
  
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.
+
== Third party tools ==
  
* [http://support.microsoft.com/kb/137890 How To Create a User-Defined Service]
+
* [http://nssm.cc/ NSSM - The Non-Sucking Service Manager] - Service helper, command line and semi-GUI (freeware).
* [http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en Windows Server 2003 Resource Kit Tools]
+
* [http://www.firedaemon.com/ FireDaemon] - Powerful service management with a lot of features (commercial).
 
 
== Third party tools ==
 
  
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'''.
+
More application can be found online, for example at ''alternativeTo.net'': [http://alternativeto.net/tag/run-application-as-service/ Run Application As Service].
  
Any2Service can be downloaded from here:
+
== Windows Resource Kit ==
* http://www.snapfiles.com/get/any2service.html
 
* http://www.softpedia.com/get/System/System-Miscellaneous/Any2Service.shtml
 
  
FireDaemon can be downloaded from here:
+
''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.firedaemon.com/
 
  
== User notes ==
+
* 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]
  
You should not allow the service to interact with the desktop. If you do allow interaction, [[Shutter]] will close after a user logs off.
+
These tools were originally developed for Windows XP and Windows Server 2003, but they still work on newer operating systems too, including Windows 7.
  
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.
+
'''Warning:''' This method is not recommended for novice users!
  
 
[[Category:Shutter]]
 
[[Category:Shutter]]

Latest revision as of 13:54, 12 July 2014

Arrow Return.png Shutter  

Shutter is designed as an interactive application which normally runs in the background of a 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 listed below.

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, and several other features.

Third party tools

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

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.

Warning: This method is not recommended for novice users!