Compare commits

..

3 Commits

Author SHA1 Message Date
def3a3a87d add void laptops 2026-03-02 20:00:48 +01:00
9fc9208226 fix text type in gpg agent 2026-03-01 18:16:56 +01:00
coja
dba3c91e7f [Gpg] prompt for password in the terminal 2026-02-26 06:06:13 +01:00
2 changed files with 32 additions and 0 deletions

View File

@@ -9,3 +9,27 @@ The `vim-gnupg` plugin lets vim edit gpg-encrypted files as if they were unencry
It's probably in your package manager. It's probably in your package manager.
If not, you'll need to endure the faff of following the [instructions](http://www.vim.org/scripts/script.php?script_id=3645). If not, you'll need to endure the faff of following the [instructions](http://www.vim.org/scripts/script.php?script_id=3645).
## Prompt for password in terminal
Check your current gpg-agent configuration:
```sh
gpgconf --list-options gpg-agent
```
Create file, if it doesnt exit `~/.gnupg/gpg-agent.conf`:
```
# Force terminal prompts for passwords
pinentry-mode loopback
# Optional: specify which pinentry program to use
pinentry-program /usr/bin/pinentry-tty
```
Then restart gpg-agent:
```sh
gpg-connect-agent reloadagent /bye
```

8
distros/void/laptops.md Normal file
View File

@@ -0,0 +1,8 @@
---
title: "Laptops with Void Linux"
tags: [ "void", "laptop" ]
---
Install and enable `tlp`.
Decide how to handle events like the lid closing in `/etc/acpi/handler.sh`.