View Full Version : Command line options to Linux Client?
Praetorian
03-03-2003, 16:35
Are there any command line options to the TS Linux Client? What I have in mind is to start TS Client and autoconnect it to a certain server which is specified on command line. You might f.i. include this in the start script for certain games, so TS will be started up and connects to that specified server when you start the game. Anyway are there any? Or is there another way to achieve autoconnect on TS startup?
Juanisan
03-03-2003, 17:46
If there are command line options, then integration with KDE, GNOME, etc.. would be possible for the web browser click links that work with windoze today.
Praetorian
21-07-2003, 12:42
Any update on this?
Praetorian
21-07-2003, 16:30
There was a discussion on this in the Windows Forum (here: http://www.teamspeak.org/forums/showthread.php?s=&threadid=827 ), didn't see it.
#!/bin/sh
# A script to start TeamSpeak with appropriate options
# v0.1 by |PG|Praetorian
#Options
#######
# The location of your TS executable. Must be set.
TEAMSPEAK="/opt/TeamSpeak2RC2/TeamSpeak"
# Optional stuff. Should be obvious.
SERVER="Hostname or IP plus Port of a Server"
NICKNAME="Player"
LOGINNAME=""
PASSWORD="myPassword"
CHANNEL=""
SUBCHANNEL=""
#Program
#######
# Fail if TEAMSPEAK is not set.
[ -z $TEAMSPEAK ] && ( echo TEAMSPEAK variable not set in script "$0", please fix this. ; exit 1 )
# Construct the launch command
[ -z $SERVER ] || SERVER_COMMAND="$SERVER"
[ -z $NICKNAME ] || NICKNAME_COMMAND="?nickname=$NICKNAME"
[ -z $LOGINNAME ] || LOGINNAME_COMMAND="?loginname=$LOGINNAME"
[ -z $PASSWORD ] || PASSWORD_COMMAND="?password=$PASSWORD"
[ -z $CHANNEL ] || CHANNEL_COMMAND="?channel=$CHANNEL"
[ -z $SUBCHANNEL ] || SUBCHANNEL_COMMAND="?subchannel=$SUBCHANNEL"
# Execute the launch command
$TEAMSPEAK "$SERVER_COMMAND$NICKNAME_COMMAND$LOGINNAME_COMMAND $PASSWORD_COMMAND$CHANNEL_COMMAND$SUBCHANNEL_COMMA ND"
Juanisan
22-07-2003, 10:27
Ahhhhh!!! BINGO!
Thank you so much for the info!!!
Why was this info delegated to windoze ppl only?! I didnt think they used the command line?
I wish there was a TS CUI! ;-) I ran into a situation where i needed to communicate but there was no GUI available... Still have that situation... it would be nice to unlock the GUI.
Well us OpenSourcers would LOVE to help..... Gimme Source! I'll give ya help! ;-)
Praetorian
22-07-2003, 18:31
np. It wasn't actually delegated to them either I believe, seems like they found out by trial-and-error. As the TS core obviously has the same code base on Windows and Linux, they work here, too.
I don't think TS is gonna split things up in a core and GUI and make the GUI open source, because a) it might be quite an effort to do that and b) there is no point in doing so because their main audience is the Windows people - thanks to TS for providing this excellent Linux client btw.
I wonder how much X you need installed on a machine to run TS if you have your X DISPLAY exported...you might also try if you can run VNC on that machine which ships with a micro-X-server for remote control. VNC needs a few X libs tho. GL.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.