2014-08-24 06:16:55 +02:00
'\" t
. \" Title: toxic.conf
. \" Author: [see the "AUTHORS" section]
2017-05-17 02:31:23 +02:00
. \" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2021-12-05 23:03:42 +01:00
. \" Date: 2021-05-24
2014-08-26 10:39:43 +02:00
. \" Manual: Toxic Manual
2014-08-24 06:16:55 +02:00
. \" Source: toxic __VERSION__
. \" Language: English
. \"
2021-12-05 23:03:42 +01:00
.TH "TOXIC\&.CONF" "5" "2021\-05\-24" "toxic __VERSION__" "Toxic Manual"
2014-08-24 06:16:55 +02:00
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
.SH "NAME"
toxic.conf \- Configuration file for toxic
.SH "SYNOPSIS"
.sp
~/\& .config/tox/toxic\& .conf
.SH "DESCRIPTION"
.sp
The \fI toxic\& .conf\fR file is the main configuration file for \fB toxic\fR (1) client\& . It uses syntax accepted by \fB libconfig\fR \& . Lines starting with "//" are comments and will be ignored\& .
.SH "EXAMPLE"
.sp
.if n \{ \
.RS 4
. \}
.nf
// Configuration for interface
ui = {
timestamps = true;
alerts = false;
};
// Configuration for audio
audio = {
input_device = 1;
};
.fi
.if n \{ \
.RE
. \}
.SH "OPTIONS"
.PP
\fB ui\fR
.RS 4
Configuration related to interface elements\& .
.PP
\fB timestamps\fR
.RS 4
Enable or disable timestamps\& . true or false
.RE
.PP
2015-02-20 00:20:38 +01:00
\fB time_format\fR
.RS 4
Select between 24 and 12 hour time\& . Specify 24 or 12\& . Setting timestamp_format and log_timestamp_format will override this setting\& .
.RE
.PP
\fB timestamp_format\fR
.RS 4
Time format string for the interface enclosed by double quotes\& . See
\fB date\fR (1)
.RE
.PP
\fB log_timestamp_format\fR
.RS 4
Time format string for logging enclosed by double quotes\& . See
\fB date\fR (1)
.RE
.PP
2014-08-24 06:16:55 +02:00
\fB alerts\fR
.RS 4
2016-07-21 11:25:40 +02:00
Enable or disable acoustic alerts on events\& . true or false
2016-07-17 19:16:46 +02:00
.RE
.PP
2014-08-24 06:16:55 +02:00
\fB native_colors\fR
.RS 4
Select between native terminal colors and toxic color theme\& . true or false
.RE
.PP
2020-12-06 02:43:21 +01:00
\fB color_bar_bg\fR
.RS 4
set background color of chat status bars\& . (black, white, red, green, blue, cyan, yellow, magenta)
.RE
.PP
\fB color_bar_fg\fR
.RS 4
set foreground (text) color of chat status bars\& . (black, white, red, green, blue, cyan, yellow, magenta)
.RE
.PP
\fB color_bar_accent\fR
.RS 4
set foreground accent color of chat status bars\& . (black, white, red, green, blue, cyan, yellow, magenta)
.RE
.PP
\fB color_bar_notify\fR
.RS 4
set foreground notify (and typing) color in chat status bar\& . (black, white, red, green, blue, cyan, yellow, magenta)
.RE
.PP
2014-08-24 06:16:55 +02:00
\fB autolog\fR
.RS 4
Enable or disable autologging\& . true or false
.RE
.PP
\fB show_typing_other\fR
.RS 4
Show when others are typing in a 1\- on\- 1 chat\& . true or false
.RE
.PP
\fB show_typing_self\fR
.RS 4
Show others when you\(cq re typing in a 1\- on\- 1 chat\& . true or false
2014-09-19 07:06:18 +02:00
.RE
.PP
\fB show_welcome_msg\fR
.RS 4
Show welcome message on startup\& . true or false
2014-08-24 06:16:55 +02:00
.RE
.PP
2016-02-25 23:06:49 +01:00
\fB show_connection_msg\fR
.RS 4
Enable friend connection change notifications\& . true or false
.RE
.PP
2022-02-21 18:54:08 +01:00
\fB show_network_info\fR
.RS 4
Show network information in the UI home window\& . true or false
.RE
.PP
2016-09-20 19:13:12 +02:00
\fB nodelist_update_freq\fR
.RS 4
2018-10-28 21:18:17 +01:00
How often in days to update the DHT nodes list\& . (integer; 0 to disable)
.RE
.PP
\fB autosave_freq\fR
.RS 4
How often in seconds to auto\- save the Tox data file\& . (integer; 0 to disable)
2016-09-20 19:13:12 +02:00
.RE
.PP
2014-08-24 06:16:55 +02:00
\fB history_size\fR
.RS 4
Maximum lines for chat window history\& . Integer value\& . (for example: 700)
.RE
2015-02-08 13:49:05 +01:00
.PP
2018-11-06 04:40:51 +01:00
\fB notification_timeout\fR
.RS 4
2020-11-18 22:29:01 +01:00
Time in milliseconds to display a notification\& . Integer value\& . (for example: 3000)
2018-11-06 04:40:51 +01:00
.RE
.PP
2015-02-08 13:49:05 +01:00
\fB line_join\fR
.RS 4
Indicator for when someone connects or joins a group\& . Three characters max for line_ settings\& .
.RE
.PP
\fB line_quit\fR
.RS 4
Indicator for when someone disconnects or leaves a group\& .
.RE
.PP
\fB line_alert\fR
.RS 4
Indicator for alert messages\& .
.RE
.PP
\fB line_normal\fR
.RS 4
Indicator for normal messages\& .
.RE
2015-02-26 22:51:20 +01:00
.PP
\fB mplex_away\fR
.RS 4
Set user status when attaching and detaching from GNU screen or tmux\& . true or false
.RE
.PP
\fB mplex_away_note\fR
.RS 4
Status message to set when status is set to away due to screen/tmux detach\& . When attaching, the status message is set back to the original value\& .
2016-09-20 19:13:12 +02:00
.sp
.if n \{ \
.RS 4
. \}
.nf
2016-07-21 11:25:40 +02:00
The following options control whether to output a terminal bell on certain events\& .
2016-09-20 19:13:12 +02:00
Some terminals mark the window as urgent when a bell is received\& . Urgent windows are usually highlighted in the taskbar and some window managers even provide shortcuts to jump to the next urgent window\& .
These options don\* (Aqt affect the "alerts" option\& .
.fi
.if n \{ \
.RE
. \}
.RE
2016-07-21 11:25:40 +02:00
.PP
\fB bell_on_message\fR
.RS 4
Enable/Disable the terminal bell when receiving a message\& . true or false
.RE
.PP
\fB bell_on_filetrans\fR
.RS 4
Enable/Disable the terminal bell when receiving a filetransfer\& . true or false
.RE
.PP
\fB bell_on_filetrans_accept\fR
.RS 4
Enable/Disable the terminal bell when a filetransfer was accepted\& . true or false
.RE
.PP
\fB bell_on_invite\fR
.RS 4
Enable/Disable the terminal bell when receiving a group/call invite\& . true or false
.RE
2014-08-24 06:16:55 +02:00
.RE
.PP
\fB audio\fR
.RS 4
Configuration related to audio devices\& .
.PP
\fB input_device\fR
.RS 4
Audio input device\& . Integer value\& . Number corresponds to
/lsdev in
.RE
.PP
\fB output_device\fR
.RS 4
Audio output device\& . Integer value\& . Number corresponds to
/lsdev out
.RE
.PP
2020-05-07 02:00:00 +02:00
\fB VAD_threshold\fR
2014-08-24 06:16:55 +02:00
.RS 4
2020-11-18 22:29:01 +01:00
Voice Activity Detection threshold\& . Float value\& . Recommended values are 1\& .0\- 40\& .0
.RE
.PP
\fB conference_audio_channels\fR
.RS 4
Number of channels for conference audio broadcast\& . Integer value\& . 1 (mono) or 2 (stereo)
.RE
.PP
\fB chat_audio_channels\fR
.RS 4
Number of channels for 1\- on\- 1 audio broadcast\& . Integer value\& . 1 (mono) or 2 (stereo)
2014-08-24 06:16:55 +02:00
.RE
2020-12-06 02:43:21 +01:00
.PP
\fB push_to_talk\fR
.RS 4
Enable/Disable Push\- To\- Talk for conference audio chats (active key is F2)\& . true or false
.RE
2014-08-24 06:16:55 +02:00
.RE
.PP
\fB tox\fR
.RS 4
2014-08-27 05:21:32 +02:00
Configuration related to paths\& .
2014-08-24 06:16:55 +02:00
.PP
\fB download_path\fR
.RS 4
2014-08-27 05:21:32 +02:00
Default path for downloads\& . String value\& . Absolute path for downloaded files\& .
.RE
.PP
2014-09-26 09:10:44 +02:00
\fB avatar_path\fR
.RS 4
Path for your avatar (file must be a \& .png and cannot exceed 16\& .3 KiB)
.RE
.PP
2017-05-17 02:31:23 +02:00
\fB autorun_path\fR
.RS 4
Path for any scripts that should be run on startup
.RE
.PP
2014-08-27 05:21:32 +02:00
\fB chatlogs_path\fR
.RS 4
Default path for chatlogs\& . String value\& . Absolute path for chatlog files\& .
2014-08-24 06:16:55 +02:00
.RE
2016-02-25 23:06:49 +01:00
.PP
\fB password_eval\fR
.RS 4
Replace password prompt by running this command and using its output as the password\& .
.RE
2014-08-24 06:16:55 +02:00
.RE
.PP
\fB sounds\fR
.RS 4
Configuration related to notification sounds\& . Special value "silent" can be used to disable a specific notification\& .
Each value is a string which corresponds to the absolute path of a wav sound file\& .
.PP
2015-03-28 07:56:54 +01:00
\fB notif_error\fR
2014-08-24 06:16:55 +02:00
.RS 4
Sound to play when an error occurs\& .
.RE
.PP
\fB self_log_in\fR
.RS 4
Sound to play when you log in\& .
.RE
.PP
\fB self_log_out\fR
.RS 4
Sound to play when you log out\& .
.RE
.PP
\fB user_log_in\fR
.RS 4
Sound to play when a contact become online\& .
.RE
.PP
\fB user_log_out\fR
.RS 4
Sound to play when a contact become offline\& .
.RE
.PP
\fB call_incoming\fR
.RS 4
Sound to play when you receive an incoming call\& .
.RE
.PP
\fB call_outgoing\fR
.RS 4
Sound to play when you start a call\& .
.RE
.PP
\fB generic_message\fR
.RS 4
Sound to play when an event occurs\& .
.RE
.PP
\fB transfer_pending\fR
.RS 4
Sound to play when you receive a file transfer request\& .
.RE
.PP
\fB transfer_completed\fR
.RS 4
Sound to play when a file transfer is completed\& .
.RE
.RE
.PP
\fB keys\fR
.RS 4
Configuration related to user interface interaction\& . Currently supported: Ctrl modified keys, Tab, PAGEUP and PAGEDOWN\& .
Each value is a string which corresponds to a key combination\& .
.PP
\fB next_tab\fR
.RS 4
Key combination to switch next tab\& .
.RE
.PP
\fB prev_tab\fR
.RS 4
Key combination to switch previous tab\& .
.RE
.PP
\fB scroll_line_up\fR
.RS 4
Key combination to scroll one line up\& .
.RE
.PP
\fB scroll_line_down\fR
.RS 4
Key combination to scroll one line down\& .
.RE
.PP
\fB half_page_up\fR
.RS 4
Key combination to scroll half page up\& .
.RE
.PP
\fB half_page_down\fR
.RS 4
Key combination to scroll half page down\& .
.RE
.PP
\fB page_bottom\fR
.RS 4
Key combination to scroll to page bottom\& .
.RE
.PP
2014-10-08 08:56:54 +02:00
\fB toggle_peerlist\fR
.RS 4
Toggle the peer list on and off\& .
.RE
2016-02-28 21:53:33 +01:00
.PP
\fB toggle_paste_mode\fR
.RS 4
Toggle treating linebreaks as enter key press\& .
.RE
2014-08-24 06:16:55 +02:00
.RE
.SH "FILES"
.PP
~/\& .config/tox/toxic\& .conf
.RS 4
Main configuration file\& .
.RE
.PP
__DATADIR__/toxic\& .conf\& .example
.RS 4
Configuration example\& .
.RE
.SH "SEE ALSO"
.sp
\fB toxic\fR (1)
.SH "RESOURCES"
.sp
2016-04-26 04:04:43 +02:00
Project page: https://github\& .com/JFreegman/toxic
2014-08-24 06:16:55 +02:00
.sp
2021-05-24 19:50:00 +02:00
IRC channel: irc\& .libera\& .chat#tox
2014-08-24 06:16:55 +02:00
.SH "AUTHORS"
.sp
JFreegman <JFreegman@gmail\& .com>