1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Phoebus settings.ini - Path to predefined Colors and Fonts |
From: | "Dr. Simon Friederich via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 12 Nov 2024 09:59:23 +0100 |
Dear all,
I'd like to add custom colors and fonts in Phoebus.
If I specify the full
path, e.g. (Windows)
org.csstudio.display.builder.model/color_files=C:\\Program
Files\\mesa-phoebus-win\\app\\mesa_color.def
org.csstudio.display.builder.model/font_files=C:\\Program
Files\\mesa-phoebus-win\\app\\mesa_font.def
or (Linux)
org.csstudio.display.builder.model/color_files=/home/mesa/phoebus-product/mesa_color.def
org.csstudio.display.builder.model/font_files=/home/mesa/phoebus-product/mesa_font.def
This works as expected.
Yet I'd like to use relative paths as I've successfully used jpackage to build installers for Windows and Linux.
Without success I've
tried
org.csstudio.display.builder.model/color_files=$(phoebus.install)/mesa_color.def
org.csstudio.display.builder.model/font_files=$(phoebus.install)/mesa_font.def
Other spellings,
...=./mesa_color.def
...=./mesa_font.def
where $(phoebus.install) should point to the correct path as "site_welcome.html" is in the same path and works as expected (Also Help->About->Details->System Properties show phoebus.install).
Do you know how to
achieve this?
Best regards
Simon
-- Dr. Simon Friederich Institut für Kernphysik Kollaboration B | MESA Johannes Gutenberg-Universität Mainz Johann-Joachim-Becher-Weg 45 D 55128 Mainz Tel.: +49 (0)6131 39-23160 E-Mail: s.friederich at uni-mainz.de