Issues

Select view

Select search mode

 
27 of 27

Support environment variables in config

Description

None

Environment

I would like to see support for environment variable support in the greenshot.ini like in the following to lines:
OutputFilePath=C:\Users%UserName%\Pictures
OutputFileAsFullpath=C:\Users%UserName%\Pictures\dummy.png

This would it make more easy using greenshot in a portable way.
Above used output path should be good for every user who started with the default ini file in the program folder.

Thanks in advance

Details

Assignee

Reporter

Components

Priority

Created October 13, 2018 at 12:45 AM
Updated July 4, 2019 at 3:12 PM

Activity

Show:

Stefan HelmsJuly 4, 2019 at 3:08 PM
Edited

I strongly support this feature request and believe this could easily be solved by applying the same templating used for OutputFileFilenamePattern to those other two Fields/Parameters (or consequently all paths in configuration…).

We are already deploying Greenshot, but need to change the configuration due to pending infrastructure changes. We need to preconfigure OutputFilePath to something like “C:\Users\${user}\Work Folders\Pictures\Screenshots” in either greenshot-default.ini or even greenshot-fixed.ini.

This is a tiny but very inconvenient weakness in an otherwise outstanding product, so I really hope you can make this change happen. Please reconsider your priority rating for this feature because it’s a huge PITA for administrators in large environments and likely very easy to solve.

Other places this has (implicitly) been asked for:
https://greenshot.atlassian.net/browse/BUG-2321

https://superuser.com/questions/1301670/greenshot-storage-location#comment1942833_1301670

Thank you very much for all the great work you’re doing!