TeamSpeak 3 Client in Ubuntu 14.04

TeamSpeak 3 is a communication platform with support for voice and text chat, as well as other interesting features. Many online gaming communities use this as their means of comms. Installing the client for Linux requires you to run a script that extracts its program files into the current directory. Launching the program is only possible by running the launch script in the install folder. This can get pretty tedious, so one way to make this easier is to put it on your command line.

One solution is to create a symlink to the launch script and put it in a directory (already) on your PATH. I’ll you show how to install TS3 and get everything set up in this post.

ts3_terminal_banner_combined

Note that at any time, if you want to undo the installation or uninstall Teamspeak 3, you can simply delete any files that were extracted from the .run file.

First, download the latest client version for your system (Linux) and architecture (32 or 64 bit) here: http://www.teamspeak.com/?page=downloads. This will download a .run file containing all the program files. This file will hereby be referred to as the “.run file”.

The client can be installed to and ran from any location as long as you have permissions. However, I’m choosing to install it in /opt. This is a typical location to install third-party software that is not part of the default Linux installation; more information can be found here. Change directory to wherever you want to install, and optionally create a folder called ts3. In this example I’ll use  /opt.

$ cd /opt
(optional) $ sudo mkdir ts3 && cd ts3

If using /opt, we need to use sudo to create folders and files there.

When we run the .run file, a folder will be created in its directory containing the program files. If you created a ts3 folder, then your folder structure will look something like this after installation:

$ /opt/ts3/TeamSpeak3-Client-linux_XXX

where XXX is the architecture.

We can then move the .run file to the folder where we want to create the TeamSpeak3-Client… folder, in this example /opt/ts3.

$ sudo mv /TeamSpeak3-Client-linux_XXX-YYYY.run /opt/ts3 

(or)

$ cd /opt/ts3
$ sudo mv /TeamSpeak3-Client-linux_XXX-YYYY.run ./

where XXX is the architecture and YYYY is the version.

Now we have to run the .run file. If you’re not already in the directory that the file is in, do so now. Then change mode on it to make it executable:

$ chmod +x TeamSpeak3-Client-linux_XXX-YYYY.run

And then finally run it:

$ sh TeamSpeak3-Client-linux_amd64-3.0.16.run

Follow the prompts that the file gives you. When reading the licence, you can press “q” to be returned to the terminal to install. Enter in “y” to begin installing or “n” to quit.

You can now verify that Teamspeak runs by changing directory to the program files and running the run script:

$ cd TeamSpeak3-Client-linux_XXX
$ . ts3client_runscript.sh

This should open up TeamSpeak 3 in a new window. Congratulations, you’re almost done!

If you run scripts from a certain location and it’s on your PATH (eg. ~/bin), change directory to that now. If you don’t have such a folder, make one anyway (eg. ~/bin).

$ cd ~
$ mkdir bin
$ cd bin

Now we’re going to create a symbolic link (symlink) to the Teamspeak 3 run script. Type in the following:

$ ln -s /opt/ts3/TeamSpeak3-Client-linux_XXX/ts3client_runscript.sh ~/bin/ts3

To add this directory to your PATH so you can simply type in “ts3” to launch Teamspeak, enter in the following:

$ export PATH=~/bin:$PATH

Test this by changing to your home directory and calling the symlink:

$ cd ~
$ ts3

If successful, TeamSpeak 3 should open up again.

To make these changes permanent, add this to your ~/.bashrc file somewhere:

# add ~/bin to PATH
export PATH=~/bin:$PATH

and then source it:

$ source ~/.bashrc

That’s pretty much it. You can leave the .run file where it is in your installation folder or delete it as we’re not using it anymore. And now you’ve got TeamSpeak 3 on your command line!

Any questions, comments, or “that’s not how it works” are welcome in the comments or at gbo@freecision.com.

We freedom now. Precisely.

I have now moved my old blog, gborobo.wordpress.com, to this new site and renamed it Freecision. This may be the best $(redacted) I’ve spent since buying sliced bread. I moved over so I could have full control over the name, appearance, and especially plugins.

Excerpts, anyone?

logo_hires_freecision

Aww yeah, sweet new logo

I even have my own email on my own site: gbo@freecision.com! I am so excited I wanna post it all over Faceboowait I did already.  Well, now I’m just gonna wait for some emails.

Anytime now.

Anytime now.

“Tell me about Gabe, why did he choose the name,” you ask? Two reasons:

  • Freedom: I pretty much do whatever I want when I get an open-ended project. And if it’s not open-ended, sometimes I rip it a new one and make it so.
  • Precision: If I’m going to do it, I’m going to do it right, even if it means spending three hours learning something that would save me five and a computer.

Anyway, cheers to breaking more things and frying more circuits!

Pimp My Drive

Hi. It’s been awhile but I’m still alive.

I am now attempting to replace the optical disk drive in my W530 with a solid state drive because of the following reasons:

  • I didn’t have the budget to have an SSD installed at the factory.
  • The button to open the CD tray gets accidentally knocked easily.
  • USB disk readers are super cheap and available at any computer store.
  • I haven’t used anything via CD nor DVD on this thing for years.
  • I want to install Ubuntu on a separate drive without touching Windoze.
  • SSDs are SANIC FAST.

So then I considered contacting IT Xchange again to see if they could help me out with the necessary parts. Apparently I needed to find the part numbers before I could order. It turned out there were at least 2 different P/Ns with similar names but different sizes, and they’re not available from the Lenovo site anymore. They also would need rubber rails to seat the thing which I couldn’t easily find available either. So basically I said eff it.

Rubber rails. Always the answer.

I came across NewmodeUS, a company in California specializing in hard drive caddies for laptops that have dedicated caddies inside. They had one for my W530 for around $45 that only needed 4 screws to secure a drive. It can be found here.

It seemed to have good reviews not only on their website but on Amazon and other sites as well, with legitimate questions being asked and answered. It seemed right for a 2.5″ drive, so I went with it.

(c) NewmodeUS

It looked pretty cool, and seemed to fit inside my laptop, although the outer face stuck up from the laptop’s body by about 1 mm. I thought it was pretty okay, then played some video games waiting for the store to open so I could go in and pick up my SSD of choice: the Samsung 850 Pro, in 256 GB for $220.

The protagonists get betrayed so many times I’ve lost count.

The 850 Pro is a 2.5″ (actually 2.75″ irl) SSD and seems to be one of the fastest on the market right now. Its most innovating feature is that its NAND stack (memory cells. sorry I have no clue) is oriented in 3 dimensions as opposed to being confined in a plane. This relaxes the die size which means they can use an easier manufacturing process while still retaining reliability and speed of the current smallest dies. A more detailed review and explanation can be found here at ExtremeTech.

Cirno’s not buying it.

I ran home and unboxed the thing like I still believed in Santa Claus (SPOILER ALERT) and got to work. However, I hit a snag; I couldn’t get the drive in the caddy. There seemingly wasn’t enough room to slide the drive around into the connector, and there were a few mm of overhang as I pushed it in.

IMG_20141018_121340

Future mechanical engineer.

The drive needed 3 more mm of clearance to connect, but by that time the connector was creaking so I called it off. I then went for the 4 screws on the back to remove the floor and try inserting the drive from underneath, but they were stuck tight. I tried all of the other screws, but none of them would budge with the small screwdriver I had that would fit.

I sent NewmodeUS a (panicked) email asking for assistance, and they got back to me within a few hours (on a Saturday). Basically their response was, from the pics I sent, that I need to further insert it and the back end will drop in. Their installation video, which I already watched, showed someone simply pushing the drive into the slot with a clean snap. I was truly afraid I’d break something here.

Then, 2 hours later when taking more pictures to send them, I put the drOvO to the cadOO and J-J-J-JAMMED IT IN! And it… worked.

Please jam it in... please jam it in...

Future mechanical engineer.

I emailed them back and apologised for being a baka. My next step was to actually install it and achieve the next level of ThinkPad swagger: dual drives.

See the first review.

I first grounded myself by clipping my anti-static wrist strap to the largest body of bare metal in the house: my floor vent.

Just... just don't say anything.

…what?

I then powered off the laptop and took out the battery, not that its flimsy lock helped keep it in place anyway:

Did I mention the sick birthmark on my hand?

Did I mention the sick birthmark on my hand?

I then removed my Windows hard drive because I wanted zero possibility of mucking it up like I’ve done before in the past:

Looks like Windows is... out the window! Ahahahahahahaha aha.

Pls go and stay go.

I popped in the new hard drive and its caddy, then was about to have a beer but decided against it because I was too tired and wanted to play with Linux. The only thing is that the hard drive activity indicator LED doesn’t come on, but after what I did to do it I’ll live.

I’ll have to finish pimping it out when some new parts I ordered come in.

NOT LITERALLY

NOT LITERALLY

New Layout

Hello to anyone still reading this.

I’ve moved over to a brighter theme that looks cool and stuff. I’m also preparing to move to a private host for this blog as I want more control over how it looks. In other words,

packers_arodgers12_runningloop

jk i have a post coming up about installing a second hard drive in my w530 pls dont leave ;_;