Comments (8)
@apsinthium please share you config file.
Could be related to 1871bd0.
from nyxt.
(defmethod customize-instance ((browser browser) &key)
(setf (slot-value browser 'restore-session-on-startup-p) t))
(defmethod customize-instance ((buffer buffer) &key)
(setf (slot-value buffer 'default-modes)
'(nyxt/mode/reduce-tracking:reduce-tracking-mode
nyxt/mode/blocker:blocker-mode
nyxt/mode/certificate-exception:certificate-exception-mode
nyxt/mode/annotate:annotate-mode nyxt/mode/bookmark:bookmark-mode
nyxt/mode/history:history-mode nyxt/mode/password:password-mode
nyxt/mode/hint:hint-mode nyxt/mode/document:document-mode
nyxt/mode/search-buffer:search-buffer-mode
nyxt/mode/autofill:autofill-mode
nyxt/mode/spell-check:spell-check-mode base-mode)))
(defmethod initialize-instance :after
((interface password:keepassxc-interface)
&key &allow-other-keys)
"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)
"/home/absinthium/Documents/Documents/Backups/Encrypted/Passwords.kdbx"))
(define-configuration nyxt/mode/password:password-mode
((nyxt/mode/password:password-interface
(make-instance 'password:keepassxc-interface))))
(define-configuration buffer
((default-modes
(append (list 'nyxt/mode/password:password-mode) %slot-value%))))
(define-configuration browser
((external-editor-program (list "flatpak" "run" "org.gnome.TextEditor"))))
from nyxt.
On seconds thoughts, this may be because the Flatpak can't locate keepassxc-cli
.
@apsinthium what's the output of:
flatpak run engineer.atlas.Nyxt --eval "(serapeum:resolve-executable \"keepassxc-cli\")" --quit
from nyxt.
flatpak run engineer.atlas.Nyxt --eval "(serapeum:resolve-executable \"keepassxc-cli\")" --quit
<WARN> [03:09:07] Warning: Error in s-exp evaluation: The variable KEEPASSXC-CLI is unbound. NIL
from nyxt.
@apsinthium you didn't enter the command as I've described. Did you escape the quotes? Please paste flatpak run engineer.atlas.Nyxt --eval "(serapeum:resolve-executable \"keepassxc-cli\")" --quit
.
I think you should see something along the lines of
$ flatpak run engineer.atlas.Nyxt --eval "(serapeum:resolve-executable \"keepassxc-cli\")" --quit
Note that the directories
'/var/lib/flatpak/exports/share'
'/home/aadcg/.local/share/flatpak/exports/share'
are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
<INFO> [11:12:38] Loading Lisp file #P"/home/aadcg/.config/nyxt/config.lisp".
NIL
from nyxt.
I entered the exact command you posted. I just forgot to surround your quote in a code block so the escapes were removed. See here.
from nyxt.
@apsinthium Now you did it correctly. The output differs from the one above.
Two things here:
- The password manager must error when the call
(executable interface)
returnsnil
inexecute
frompassword.lisp
. @aartaka could you address it? - We need to understand how to manage system binaries when Nyxt is run as a Flatpak. We already pass
--filesystem=host
. I need to think.
from nyxt.
The solution to 2. is to invoke the password manager as flatpak-spawn --host keepassxc-cli
. But first I need to tweak the Flatpak settings. Then we can test it.
Depends on flathub/flatpak-builder-lint#194.
from nyxt.
Related Issues (20)
- Unable to apply multiple default modes and two usability questions HOT 5
- Unable to run Nyxt built from source HOT 1
- Dark Theme front page tile style issue HOT 1
- Very minor edit the "Bindings" page HOT 2
- Nyxt discourse not sending email HOT 12
- Review bookmark commands HOT 3
- Hint style must comply with the hinted element's style
- bookmark import hierarchy HOT 1
- `toggle-attributes-display` always uses `current-source` HOT 4
- Nyxt tries to use wl-paste on X11 HOT 3
- flatpak 3.9.0 fails to start with "stack smashing detected" HOT 4
- Extra blank window opened on startup HOT 4
- Twitch does not show video HOT 5
- Unable to make on FreeBSD 15.0-CURRENT HOT 3
- Improve `list-buffers` UI HOT 2
- `external-editor-program` must be only specified as a string HOT 2
- Add combined version of hinting modes HOT 9
- Enable `vi-insert-mode` in the prompt buffer by default HOT 3
- Trying to get Autofill to work nicely... larger issue. HOT 1
- Wrong bottom bar height HOT 50
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyxt.