EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Phoebus-color.def & font.def are not effictive
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>, 白丹萍 <baidanping at zjlab.org.cn>
Date: Mon, 11 May 2020 12:18:50 +0000
Hi:

> I reset the color.def and font.def  documents,  but they are not effictive. What might be the reason?

Check the online help, also available from https://control-system-studio.readthedocs.io/en/latest/.

Look for the display builder preference settings, https://control-system-studio.readthedocs.io/en/latest/preference_properties.html

# ----------------------------------------
# Package org.csstudio.display.builder.model
# ----------------------------------------
...
# Named colors
# One or more *.def files, separated by ';'
# Defaults to built-in copy of examples/color.def
color_files=examples:color.def

==> By default, it's using a built-in copy for the color settings.
If you create your own color.def file, and starting with the one from the examples is certainly a good idea, you then need to configure the tool to use your file.
Read the 'Preferences' section in the help to see how to do that, https://control-system-studio.readthedocs.io/en/latest/preferences.html
For example, add this to your settings file:

org.csstudio.display.builder.model/color_files=/the/path/to/my/color.def

and then start the tool with `-settings /path/to/your/settings.ini

You can see the list of effective settings via the menu Help, About. The Details pane includes a tab that lists all preference settings in the same format that is used by the settings.ini file.

-Kay

References:
Phoebus-color.def & font.def are not effictive 白丹萍 via Tech-talk

Navigate by Date:
Prev: Re: StreamDevice: Timeout after reading 27 bytes Mark Rivers via Tech-talk
Next: Using Jupyter notebooks for controlling experiments Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Phoebus-color.def & font.def are not effictive 白丹萍 via Tech-talk
Next: 回复:Phoebus-color.def & font.def are not effictive 白丹萍 via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 12 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·