User Tools

Site Tools


terminal:profanity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
terminal:profanity [2021/05/26 16:44]
nanodano [profrc file]
terminal:profanity [2021/05/30 21:22] (current)
nanodano
Line 4: Line 4:
  
 Refer to the official user guide for more details: [[https://profanity-im.github.io/userguide.html]]. Refer to the official user guide for more details: [[https://profanity-im.github.io/userguide.html]].
 +
 +===== Video course =====
 +
 +<html>
 +<center>
 +<iframe width="560" height="315" src="https://www.youtube.com/embed/O0psMtYnouc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
 +</center>
 +</html>
  
 ===== Installation ===== ===== Installation =====
Line 198: Line 206:
 nanodano=/msg nanodano@devdungeon.com Hello nanodano=/msg nanodano@devdungeon.com Hello
 devdungeon=/join general@conference.devdungeon.com devdungeon=/join general@conference.devdungeon.com
 +
 +[logging]
 +chlog=true
 +grlog=true
 +maxsize=1048580
 +rotate=true
 +shared=true
  
 [otr] [otr]
 warn=true warn=true
-log=redact +log=on 
-policy=opportunistic+policy=manual 
 + 
 +[presence] 
 +autoaway.mode=away 
 +autoaway.time=15 
 +autoaway.message=Away from computer 
 +autoaway.check=true
 </code> </code>
  
Line 208: Line 229:
 ===== PGP Encryption ===== ===== PGP Encryption =====
  
-You need a private key for yourself and the public key of your recipient. If you need someone to send a message to, you can send me a message using my public key. You can get my public key a couple ways:+You need a private key for yourself and the public key of your recipient. If you need someone to send a message to, you can send me a message using my public key. You can get my public key from [[https://www.devdungeon.com/gpg]] or via:
  
 <code bash> <code bash>
-# Download/import+# Download/import public key for nanodano@devdungeon.com
 curl -O https://www.devdungeon.com/nanodano.gpg; gpg --import nanodano.gpg curl -O https://www.devdungeon.com/nanodano.gpg; gpg --import nanodano.gpg
-# Fetch from public keyserver+ 
 +#or 
 + 
 +# Fetch nanodano@devdungeon.com public key from a keyserver
 gpg --keyserver pgp.mit.edu --recv A6D4E83A1866995E gpg --keyserver pgp.mit.edu --recv A6D4E83A1866995E
 +gpg --keyserver hkps.pool.sks-keyservers.net --recv A6D4E83A1866995E
 </code> </code>
  
-In Profanity, configure which PGP key should be associated with your XMPP account and set the public key for your receipient:+In Profanity, configure which PGP key should be associated with your XMPP account and set the public key for your recipient:
  
 <code> <code>
Line 228: Line 253:
 /account set <account> pgpkeyid <keyid> /account set <account> pgpkeyid <keyid>
 # For example: # For example:
-/account set me@devdungeon.com pgpkey ABCDEFABC+/account set me@devdungeon.com pgpkeyid AAAABBBBCCCCDDDD
 </code> </code>
  
Line 243: Line 268:
 </code> </code>
  
 +
 +===== vi keybinds =====
 +
 +Profanity uses readline so it supports tab completion and all the same keybinds a shell does like CTRL-P and CTRL-W. You can also set it to use vi keybinds. Update your `~/.inputrc` file to specify vi mode:
 +
 +
 +<code | input.rc>
 +set editing-mode vi
 +</code>
  
terminal/profanity.1622047479.txt.gz · Last modified: 2021/05/26 16:44 by nanodano