[info] ts3soundbot on arch linux #15

Mawalu opened this Issue Feb 10, 2015 · 4 comments


None yet

4 participants

Mawalu commented Feb 10, 2015

I did some testing with the bot on arch linux. Everything is working fine, you only have to modify some settings.

  1. Install the required packages: pacman -S libev x11vnc xorg-xinit xorg-server-xvfb libxcursor teamspeak3 youtube-dl
  2. Download and unpack the soundbot.
  3. Arch linux installs the teamspeak files to different locations (/opt/teamspeak3 and /usr/bin/teamspeak3), but the soundbot seems to gues the teamspeak folder location from the binary path.
    To fix this problem, create a symlink: ln -s /usr/bin/teamspeak3 /opt/teamspeak/teamspeak3
  4. In config.ini set TS3Path to /opt/teamspeak/teamspeak3 and YoutubeDLPath to /usr/bin/youtube-dl
  5. For some extra security I would create a new user for the bot: useradd -d /opt/ts3soundbot -m -s /bin/false soundbot
  6. Sudo into the new user sudo -u soundbot -s and start the bot for the first time xinit /opt/ts3soundbot/ts3bot -- /usr/bin/Xvfb :0 -screen 0 800x600x16 -ac (I use :0 because :1 doesn't work for me)

With these steps you should get ts3soundbot running on arch linux. If I have some time I will try to create an aur package and a systemd unit file for the bot, so you don't have to run it manually.

flyth commented Feb 12, 2015

Thank you very much for the tutorial, I'll add a link to to the beta-site :)

Mawalu commented Feb 12, 2015

I now also created a systemd unit file:

Description=Musicbot for teamspeak 3 server

ExecStart=/usr/bin/xinit /opt/ts3soundbot/ts3bot -- /usr/bin/Xvfb :0 -screen 0 800x600x16 -ac


To use the service, just drop the file into /etc/systemd/system/ts3musicbot.service. You can now start the bot using systemctl start ts3musicbot and enable it for autostart using systemctl enable ts3musicbot

bash89 commented Feb 18, 2015

awesome work ! thanks


It works ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment