As the title suggests, I’m a beginner not only to Nyxt, but to keyboard-driven browsers as a whole, and LISP. I’ve uninstalled Firefox so I can focus on learning Nyxt and I only have Epiphany as a backup browser. I am trying to get Nyxt setup as a daily-driver.
My questions are:
1.) What is the difference between auto-config, config, and init files? 2.) How do I override autofill.lisp default entries and add my own from within one of the aforementioned config files? 3.) Why does blocker-mode require an initial update-hostlists command before the hostlists file is created and, even then, seemingly block nothing even when enabled? 4.) How do I specify using GNOME text editor1 as my external-editor-program? 1 I use the Flatpak version so the path is: /var/lib/flatpak/app/org.gnome.TextEditor/x86_64/stable/58af5a9a6331e07de8e6c212147c351b3170c4bac28be0a86b61e474b1817044/files/bin/gnome-text-editor 5.) How do I setup KeePassXC? 6.) How do I edit basic theme components (e.g. accent color)?
I’m sorry for the barrage of questions, but having this knowledge will allow me to use Nyxt for everyday use and the documentation is a bit convoluted at the moment. I have ordered ‘Common LISP: A Gentle Introduction to Symbolic Computation’ so I do hope to get a grasp on hacking Nyxt in the future.
Config and init files are synonyms. A config file is a file written by the user and it is evaluated the last when Nyxt starts. Since it is evaluated last, it is an entry point for user configuration. In Nyxt, users can also configure it using the UI (see command common-settings). Those settings are saved to the auto config file, since Nyxt is doing the configuration for the user.
This is rather advanced for now. I’d suggest getting familiar with Nyxt’s help system (open URL nyxt:manual#the-nyxt-help-system in Nyxt) and the Common Lisp language. Looking at the configs of other users might also be useful, e.g. https://github.com/search?q=nyxt+config&type=repositories.
That is a topic that deserves opening an issue on GitHub with clear instructions on how to reproduce it.
Also, I followed the details in the manual and set my config file up like this:
(defmethod initialize-instance :after
"It's obviously not recommended to set master password here,
as your config is likely unencrypted and can reveal your password to someone
peeking at the screen."
(setf (password:password-file interface)
(append (list 'nyxt/mode/password:password-mode) %slot-value%))))
But using copy-password outputs:
Error on separate thread: Couldn't execute "clip": No such file or directory
Note: I removed the key-file and Yubi key lines since they don't apply here.
Yes. The output of console reads: <INFO> [02:27:07] Loading Lisp file #P"/home/absinthium/.config/nyxt/config.lisp".
Also, it's recognizing some of the code that you wrote because it's mentioning flatpak in the error message: WARN - Warning: Failed editing: Couldn't execute "flatpak": No such file or directory
I think that this is due to the nature of Flatpaks, which are sandboxed environments. If the binary can't be found in your home directory, then it won't be able to look for it. What's the output of which flatpak and nyxt --eval "(serapeum:resolve-executable \"flatpak\")" --quit?
xdg-desktop-portal-gtk is already the newest version (1.14.1-1). xdg-desktop-portal is already the newest version (1.18.0-1).
The open dialog is successfully invoked and I choose 'Text Editor'. When I open it and insert text and save it, the text is not applied to the input field that I selected to edit. At least we're making some progress though!