mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-16 03:03:02 +01:00
2.2 KiB
2.2 KiB
Toxic
Toxic is an ncurses-based instant messaging client for Tox which formerly resided in the Tox core repository, and is now available as a standalone application.
Installation
Dependencies
Base
- libtoxcore
- ncurses (for Debian based systems, 'libncursesw5-dev')
Audio
- libtoxav (libtoxcore compiled with audio support)
- openal
Compiling
cd build/
make PREFIX="/where/to/install"
sudo make install PREFIX="/where/to/install"
Compilation Notes
- You can add specific flags to the Makefile with
USER_CFLAGS=""
and/orUSER_LDFLAGS=""
- You can pass your own flags to the Makefile with
CFLAGS=""
and/orLDFLAGS=""
(this will supersede the default ones) - Audio call support is automatically enabled if all dependencies are found
Packaging
- For packaging purpose, you can use
DESTDIR=""
to specify a directory where to store installed files DESTDIR=""
can be used in addition toPREFIX=""
:DESTDIR=""
is meant to specify a directory where to store installed files (ex: "/tmp/build/pkg")PREFIX=""
is meant to specify a prefix directory for binaries and data files (ex: "/usr/local")
Troubleshooting
If your default prefix is "/usr/local" and you receive the following:
error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory
you can attempt to correct it by running sudo ldconfig
. If that doesn't work, run:
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig
Settings
Running Toxic for the first time creates an empty file called toxic.conf in your home configuration directory ("~/.config/tox" for Linux users). Adding options to this file allows you to enable auto-logging, change the time format (12/24 hour), and much more. You can view our example config file here.