[EXTERNAL] RE: Saving defaults, kstrc

Barth Netterfield netterfield at astro.utoronto.ca
Fri Jul 2 03:53:48 BST 2021


Just took a look at this.

It seems that most properties are stored and used by the command line -
except for using legends by default, which appears to not be stored.
I will look into fixing that.

cbn


On Thu, Jul 1, 2021 at 10:23 AM Maher, Stephen F. (GSFC-665.0)[SCIENCE
SYSTEMS AND APPLICATIONS INC] <stephen.f.maher at nasa.gov> wrote:

> Strace showed updates indeed are happening in .config/kst.  And I can
> deselect Legends on the datasource Wizards and it gets remembered.  I guess
> that pref doesn’t get used for the command line plotting.
>
>
>
> I haven’t heard any updates on a clean build process since Tormad and you
> discussed things in March so I don’t have confidence of jumping in to add
> that feature myself =)
>
>
>
> Regards,
>
> Steve
>
>
>
>
>
> *From:* Kst <kst-bounces at kde.org> *On Behalf Of *Maher, Stephen F.
> (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]
> *Sent:* Thursday, July 01, 2021 9:42 AM
> *To:* kst at kde.org
> *Subject:* RE: [EXTERNAL] RE: Saving defaults, kstrc
>
>
>
> 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.
>
>
>
> Steve
>
>
>
> *From:* Kst <kst-bounces at kde.org> *On Behalf Of *BRISSET, Nicolas
> *Sent:* Thursday, July 01, 2021 9:30 AM
> *To:* kst at kde.org
> *Subject:* [EXTERNAL] RE: Saving defaults, kstrc
>
>
>
> Hi Stephen,
>
>
>
> Kst uses QSettings to store the settings, which according to
> https://doc.qt.io/qt-5/qsettings.html#platform-specific-notes
> <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%7C28b21ea8e44446db4cdb08d93c9610e7%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637607437491687127%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oj04IN%2Fg6dJV3cDdD1B7CU%2FISwQJtHSrEw0ajS6wMkQ%3D&reserved=0>
> 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.
>
>
>
> Nicolas
>
>
>
> *De :* Kst [mailto:kst-bounces at kde.org <kst-bounces at kde.org>] *De la part
> de* Maher, Stephen F. (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]
> *Envoyé :* jeudi 1 juillet 2021 15:15
> *À :* kst at kde.org
> *Objet :* Saving defaults, kstrc
>
>
>
> Hi,
>
>
>
> Version (2.0.8-5~3369~44~ubuntu18.04.1)
>
>
>
> 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.
>
>
>
> 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.
>
>
>
> Any tips appreciated…
>
>
>
> Steve
>
>
>
>
>
> 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.
> If you are not the intended recipient, please notify Airbus immediately
> and delete this e-mail.
> 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.
> 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.
>


-- 
C. Barth Netterfield
University of Toronto
416-845-0946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20210701/6a07cfd0/attachment-0001.htm>


More information about the Kst mailing list