Configure Templates location with an environment variable

31 views
Skip to first unread message

Simon French

unread,
Aug 7, 2025, 10:53:21 AMAug 7
to PTGui Support
Hi,

I can see there is an environment variable to configure the location of the licence file
PTGUI_GLOBAL_CONFIG_DIR

It would be very helpful to also have an env var for the templates location, so that multiple users can share this location for a floating licence network install

Simon

This email is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by email and delete all copies of the message.

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.

PTGui Support

unread,
Aug 8, 2025, 5:40:58 AMAug 8
to pt...@googlegroups.com
Hi Simon,

The template location is managed by the configuration file (with the
options set in the Options dialog).

You would pre-configure it by providing
/home/<user>/.PTGui/Configuration.xml as follows:

<?xml version="1.0" encoding="UTF-8"?>
<Config>
<Option Name="TemplateDir" Type="String" Value="/path/to/templates" />
</Config>

This would need to be done before the user runs PTGui for the first time.

Other settings can also be preset; just set them in Tools - Options and
inspect Configuration.xml afterwards.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 8/7/25 16:36, 'Simon French' via PTGui Support wrote:
> Hi,
>
> I can see there is an environment variable to configure the location of
> the licence file
> PTGUI_GLOBAL_CONFIG_DIR
>
> It would be very helpful to also have an env var for the templates
> location, so that multiple users can share this location for a floating
> licence network install
>
> Simon
>
> This email is intended exclusively for the individual or entity to which
> it is addressed. This communication may contain information that is
> proprietary, privileged or confidential. If you are not the named
> addressee, you are not authorized to read, print, retain, copy or
> disseminate this message or any part of it. If you have received this
> message in error, please notify the sender immediately by email and
> delete all copies of the message.
>
> *Disclaimer*
>
> The information contained in this communication from the sender is
> confidential. It is intended solely for use by the recipient and others
> authorized to receive it. If you are not the recipient, you are hereby
> notified that any disclosure, copying, distribution or taking action in
> relation of the contents of this information is strictly prohibited and
> may be unlawful.
>
> This email has been scanned for viruses and malware, and may have been
> automatically archived by Mimecast, a leader in email security and cyber
> resilience. Mimecast integrates email defenses with brand protection,
> security awareness training, web security, compliance and other
> essential capabilities. Mimecast helps protect large and small
> organizations from malicious activity, human error and technology
> failure; and to lead the movement toward building a more resilient
> world. To find out more, visit our website.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> ptgui/69efd6a8-5bef-438c-9cfb-beb75d22463an%40googlegroups.com <https://
> groups.google.com/d/msgid/ptgui/69efd6a8-5bef-438c-9cfb-
> beb75d22463an%40googlegroups.com?utm_medium=email&utm_source=footer>.

Simon French

unread,
Aug 18, 2025, 7:16:51 AMAug 18
to PTGui Support
Hi Joost,

Thanks for the response. Unfortunately that's not quite the solution that I'm looking for, as that still involves manipulating individual user's config files
When installing a floating licence version the expectation is to be serving multiple users, so having a studio wide env var to control critical shared configuration locations would be extremely useful

Perhaps this can be turned into an RFE?

regards
Simon

PTGui Support

unread,
Aug 18, 2025, 7:40:18 AMAug 18
to pt...@googlegroups.com
Hi Simon,

I'll add that to the wish list.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

> www.ptgui.com <http://www.ptgui.com>
> <https://groups.google.com/d/msgid/>
> > ptgui/69efd6a8-5bef-438c-9cfb-beb75d22463an%40googlegroups.com
> <http://40googlegroups.com> <https://
> > groups.google.com/d/msgid/ptgui/69efd6a8-5bef-438c-9cfb- <http://
> groups.google.com/d/msgid/ptgui/69efd6a8-5bef-438c-9cfb->
> > beb75d22463an%40googlegroups.com?
> utm_medium=email&utm_source=footer <http://40googlegroups.com?
> utm_medium=email&utm_source=footer>>.
> ptgui/563609cb-5cb9-4512-98c7-93624b5e8fafn%40googlegroups.com <https://
> groups.google.com/d/msgid/
> ptgui/563609cb-5cb9-4512-98c7-93624b5e8fafn%40googlegroups.com?
> utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages