[qutebrowser] Is there a way to prevent qutebrowser from re-writing my configuration file?

Nishant Rodrigues nishantjr at gmail.com
Mon Apr 3 21:17:35 CEST 2017


Hey Florain, Ryan,

> The good news: The current config code is probably one of the oldest
parts of qutebrowser still existing nowadays (from January 2014 or so),
and is soon getting a complete makeover. See more details in these
issues:

OK. That's great news :)

Thanks for the great browser!

Nishant

On 2 April 2017 at 15:27, Florian Bruhin <me at the-compiler.org> wrote:

> Hey Nishant,
>
> On Sun, Apr 02, 2017 at 02:52:40PM -0500, Nishant Rodrigues wrote:
> > Is there a way to prevent automatic writing to the main configuration
> file?
>
> :set general auto-save-config can help a bit, but IIRC it'll still get
> overwritten if there are settings which aren't in the qutebrowser config
> file yet (e.g. after an upgrade).
>
> > If not, would you'll accept patches that allow this behaviour?
>
> The bad news: no ;-)
>
> The good news: The current config code is probably one of the oldest
> parts of qutebrowser still existing nowadays (from January 2014 or so),
> and is soon getting a complete makeover. See more details in these
> issues:
>
> https://github.com/qutebrowser/qutebrowser/issues/499
> https://github.com/qutebrowser/qutebrowser/milestone/7
>
> This has been cooking for a while, but it's going to be a bigger change
> (and also mean releasing qutebrowser v1.0, with an incompatible config).
>
> However, I'm currently planning qutebrowser's second crowdfunding (watch
> this mailinglist for the annoucement around easter!) so I can work
> full-time for a month on this and other things related to v1.0.
>
> Notably, qutebrowser's automatic config file (controlled via :set or the
> qute:settings page) and the (optional) hand-edited config file will be
> two completely separate files.
>
> > What modifications are made to the configuration when it's written to?
>
> If a setting qutebrowser knows about is missing in the file, or
> something gets changed via :set, or something needs to be updated due to
> config format changes in qutebrowser, it's simply completely rewritten.
> (As said: currently. No, I'm not happy with it.)
>
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
>    GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
>          I love long mails! | http://email.is-not-s.ms/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.schokokeks.org/pipermail/qutebrowser/attachments/20170403/2de7934f/attachment-0001.html>


More information about the qutebrowser mailing list