<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">That’s a great tip – thanks!  ~/.config/kst exists.  Worried about kst vs kst2, I made a sym link to .config/kst2.  I ran kst, changed some “defaults” and saved, but diffing the .conf files showed no change.  I’ll look deeper later, maybe
 doing an strace to see when/where kst writes to a config file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Steve<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Kst <kst-bounces@kde.org> <b>On Behalf Of </b>BRISSET, Nicolas<br>
<b>Sent:</b> Thursday, July 01, 2021 9:30 AM<br>
<b>To:</b> kst@kde.org<br>
<b>Subject:</b> [EXTERNAL] RE: Saving defaults, kstrc<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FR" style="color:#1F497D">Hi Stephen,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kst uses QSettings to store the settings, which according to
<a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoc.qt.io%2Fqt-5%2Fqsettings.html%23platform-specific-notes&data=04%7C01%7Cstephen.f.maher%40nasa.gov%7Cefd5f38c5c6145c8178708d93c94981f%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637607431173507486%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jQ3NzgP2GsPhOE5Bk10jsH8I%2BHFqlr%2F3PGDgwMlGVjQ%3D&reserved=0">
https://doc.qt.io/qt-5/qsettings.html#platform-specific-notes</a> should land in $HOME/.config/kst2 or something similar. I’m not certain about the path (kst2 or something else) but with a quick grep or checking QCoreApplication::setOrganizationName in kst’s
 sources it should be easy to find. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Nicolas <o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="FR">De :</span></b><span lang="FR"> Kst [<a href="mailto:kst-bounces@kde.org">mailto:kst-bounces@kde.org</a>]
<b>De la part de</b> Maher, Stephen F. (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]<br>
<b>Envoyé :</b> jeudi 1 juillet 2021 15:15<br>
<b>À :</b> <a href="mailto:kst@kde.org">kst@kde.org</a><br>
<b>Objet :</b> Saving defaults, kstrc<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Version (2.0.8-5~3369~44~ubuntu18.04.1)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I haven’t used defaults on KST but I just tried removing a plot legend and checked “Save as default” and it didn’t work.   I’m trying to auto-generate a lot of images with no legends and this would save a lot of work.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I was looking into ~/.kstrc but fell short.  I saw references to KST using KConfig gut not sure if that’s valid.  I’ve grep’d through /usr/share/doc/kst-doc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any tips appreciated…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Steve<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FR" style="font-size:7.0pt">The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.<br>
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.<br>
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.<br>
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.</span><span lang="FR"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>