![Forrest logo](/images/logo.png)
qutebrowser:tldr:5dabc
The command "qutebrowser --temp-basedir --json-logging" is used to launch the qutebrowser web browser with two specific options: "--temp-basedir" and "--json-logging".
-
"--temp-basedir": This option specifies that qutebrowser should use a temporary directory as its base directory instead of the default directory. The base directory is where qutebrowser stores its configuration files, cookies, cache, etc. By using a temporary directory, qutebrowser will not save any persistent data, and all changes made during the session will be lost when the browser is closed. This can be useful when you want to use qutebrowser in a "clean" mode or when testing.
-
"--json-logging": This option enables JSON logging for qutebrowser. By default, qutebrowser logs its activities in a human-readable format. However, with this option enabled, qutebrowser will log its activities in JSON format, which is a structured data format that can be easily processed by other programs or scripts. This can be useful for automation, analysis, or integration with other tools.
So, combining these options, the "qutebrowser --temp-basedir --json-logging" command launches qutebrowser using a temporary base directory and enables JSON logging for its activities.