2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "profanity"
|
2024-03-08 22:29:28 +00:00
|
|
|
tags: [ "Documentation", "Chat", "omemo" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2022-11-23 21:45:29 +00:00
|
|
|
# Setup (Commands)
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Sign up to an account somewhere.
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/connect bob@bobserver.org
|
|
|
|
```
|
2020-08-02 18:15:58 +00:00
|
|
|
|
|
|
|
Check if someone wants to be your friend:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/sub received
|
|
|
|
```
|
2020-08-02 18:15:58 +00:00
|
|
|
|
|
|
|
Accept a friend's subscription request:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/sub add alice@aliceserver.org
|
|
|
|
```
|
2020-08-02 18:15:58 +00:00
|
|
|
|
|
|
|
Join a room:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/join room1@bobserver.org
|
|
|
|
```
|
2020-08-02 18:15:58 +00:00
|
|
|
|
2022-11-23 21:45:29 +00:00
|
|
|
Save your configuration so you don't have to do this again:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/save
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
Check your `~/.config/profanity/profrc` for how to data's saved.
|
|
|
|
|
|
|
|
## Automatically Sign In
|
|
|
|
|
|
|
|
To automatically sign in, add your password to [pass](../data/pass.md).
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/account set *malin@oosm.org* eval_password pass *xmpp*
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/autoconnect set *malin@oosm.org*
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/save
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
Remember to save the config for other commands too.
|
|
|
|
|
|
|
|
# General Use
|
|
|
|
|
|
|
|
## Messages
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/msg alice@aliceserver.org
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
This opens in a new tab.
|
|
|
|
Switch tabs with alt+number.
|
|
|
|
|
|
|
|
## Docs
|
|
|
|
|
|
|
|
The [docs](https://profanity-im.github.io/guide/0131/reference.html) are massive, so it's often better to use:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/help <Tab>
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
## Editing
|
|
|
|
|
|
|
|
For long text, you can use vim:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/executable editor set vim
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/editor
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
## Sending & Receiving Files
|
|
|
|
|
|
|
|
Tell it how to save files:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/executable urlsave set "wget %u -O %p"
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
Then get the file with:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/urlsave *<Tab>*
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
Same for `/urlopen`
|
|
|
|
|
|
|
|
## Theme
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
profanity
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/theme list
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
theme load batman
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2022-11-23 21:45:29 +00:00
|
|
|
# Encryption
|
|
|
|
|
|
|
|
## omemo
|
2020-02-01 18:40:02 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/omemo gen
|
|
|
|
```
|
2020-02-01 18:40:02 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/omemo start
|
|
|
|
```
|
2020-02-01 18:40:02 +00:00
|
|
|
|
2022-11-23 21:45:29 +00:00
|
|
|
You can accept everyone's fingerprint all the time with
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/omemo trustmode firstusage
|
|
|
|
```
|
2022-11-23 21:45:29 +00:00
|
|
|
|
|
|
|
This will still encrypt, but there will be no check that you have the right person the first time you speak with someone.
|
|
|
|
|
|
|
|
You can ensure omemo automatcally turns on:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
|
|
|
/omemo policy automatic
|
|
|
|
```
|
2024-03-08 22:29:28 +00:00
|
|
|
---
|
2022-11-23 21:45:29 +00:00
|
|
|
|
2024-03-08 22:29:28 +00:00
|
|
|
'OTR' encryption is mostly dead, but you can find the old instructions [here](profanity-otr).
|