Help about Mainsail advanced functions

Basic Information:

Printer Model: all
MCU / Printerboard: all
Host / SBC: none
no klippy.log as it’s not a troubleshooting question

Hello Klipper experts!

I need some help/tips about Mainsail please.

  1. is it possible to make a cfg file “read-only” like the mainsail.cfg file? and how can I do this if it’s possible?
  2. I use some custom "macros “prompt” and in the console, every “action:prompt” appears. is there a way to hide them so only the “respond_message” lines appear?

any tips or links to tutorials appreciated. thank you!

1 Like

Hi @hitman47 ,

  1. I’m pretty sure that if a file is located outside the config directory and you create a symbolic link into the config directory, Mainsail will show it as read-only.
  2. You can add a regex filter to the console by going to Mainsail settings → console → add filter. I would try action:.* to start.
2 Likes

as @3dcoded already wrote, all symbolic links into the config directories will be read-only (this is a “feature” from moonkraker. so also with other apps, its not writeable via API).

if you hide these messages with the console filter, you will also dont see the prompts, because this filter is before the prompt rendering.

3 Likes

Thank you guys for the help! Will try asap

1 Like

@3dcoded I confirm Meteyou infos: adding a filter hides the UI. and yes symlinks are read only.Thank you both for the help!

2 Likes

But I think this would be a good feature for the console. We also have “hardcoded” temp filter. So maybe I can add a “prompt filter” which doesnt hide the prompt itself.

So pls create a feature request on our GitHub (GitHub · Where software is built) and I will take a closer look to integrate this feature.