Make Teamspeak 3 Use Your QT libs

After upgrading some core files this past week on my laptop, I noticed that Teamspeak 3 no longer would open. I have a desktop icon that calls the script that starts Teamspeak. When I opened up a terminal and tried to run the script, I recieved this error:

ts3client_linux_amd64: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Well, I have libpng 1.4.3 on my laptop, and I’d prefer to not have multiple versions installed. Luckily, the cause of this issue is the QT4 library files that ship with Teamspeak 3. If you have KDE4, like I do, then all you have to do is move these QT files out of the Teamspeak 3 install directory. A quick way to do this is to use the following once you are in the directory where Teamspeak 3’s files are located:

mkdir backup
mv libQt* ./backup/

Now Teamspeak 3 will use your already installed system QT4 library files, and Teamspeak 3 should now work with modern versions of libpng.

-John Havlik

[end of transmission, stay tuned]

Making Firefox and Thunderbird Less Ugly in KDE4

Mozilla uses the GTK for its applications’ GUIs. As every KDE user knows, KDE uses QT (KDE4 uses QT4.x), and GTK applications look ugly in KDE. There are ways of getting GTK applications to look not as bad in KDE (qtCurve). However, these typically are a custom qt theme, which is not what I want (I’d rather skin the few misbehaving applications).

Luckily, for Firefox there is a very good theme called Oxygen KDE. You want version 2.0.1 or newer. It works very well, and applies to any Linux distribution. Thunderbird has something similar, named Oxybird. The original works with Thunderbird 2.x, you’ll want Oxybird 2 for Thunderbird 3.1.x. I have not tried Oxybird with Thunderbird 2.x, so I can not speak for it in that environment, but in Thunderbird 3.1.x it is not as polished and will not give you the same KDE look and feel that Oxygen KDE does for Firefox.

Continue reading

Battlefield Heroes Server Admin in Linux

Yes, you can run BFHCC.exe in Linux under wine. You just need to use some of the Microsoft libraries (OLE32 is just one of many that are needed). If invoked from the same directory as BFHCC.exe resides, it will load your settings just fine. However, it won’t let you warn, kick, or ban players (the pop up menu when right clicking on a player name does not work). Additionally, it runs kinda slow (I am running a 64bit kernel with a 32bit Wine install for compatibility reasons).

The other, somewhat more powerful, Battlefield Heroes server manager, Ness Manager, works perfectly in Linux. Best of all it doesn’t need Wine to run. This is thanks to it being completely written in Java. Naturally, you need a Java run time environment (JRE) installed for this to work. To install it you may need Wine (it’s a .exe installer), but once the files have been installed, you’ll notice they are all .jar files. Copy these to a place you can access easily. To start Ness Manager all you need to do is type java -jar BFHNessManager.jar while in the directory where you have Ness Manager installed in. Ness Manager works exactly as it does in Windows, which is great, and runs fast compared to BFHCC.

-John Havlik

[end of transmission, stay tuned]

Set Phonetic Nickname in Teamspeak 3 on Linux

Most gaming clans use VoIP software to communicate in game, one of the most popular applications for this is Teamspeak. Starting in Teamspeak 3.0, a text-to-speech engine is included to provide notifications of players entering and leaving channels (among other things). By default, Teamspeak will try to pronounce your nickname, not always a good thing when the nickname contains your rank (e.g. “|sgt| mtekk”, we want everyone to hear just “mtekk”) as the engine pronounces “|” as “vertical line”. In Windows and OS X you can use “Set Phonetic Nickname” under the “Self” menu. In Linux, the prompt will open, but the text box is disabled. This is due to a text-to-speech engine not shipping with the Linux version of Teamspeak3.

So how do we set the phonetic nickname in Linux? Well, it’s really simple. Go to “Connections > Connect”. In that prompt click the “more” button. You should now see a field that is labeled “Phonetic Nickname”.

Alternately, you can dive into the Teamspeak configuration files (like I did). Under your home directory there should be a directory named “.ts3client”, in a terminal you can see it using ls -a ~/. Within .ts3client there should be a file named “ts3clientui_qt.conf” open this up with your favorite text editor (e.g. nano: nano ~/.ts3client/ts3clientui_qt.conf). Scroll down to the bottom of this file, there should be a section named “[Connecting]” the last field should be “LastUsedPhoneticNickname=” just append to this setting your phonetic nickname (e.g. “LastUsedPhoneticNickname=mtekk”).

-John Havlik

[end of transmission, stay tuned]

Tagged: ,
Updated:

Automagically Delicious

Back into the Gentoo partition this evening, and things are great. The ATI driver automagically began working again, after not working when reinstalling it after a run with the open-source driver. So I updated that to the latest, before I was only getting 50 – 100 FPS with glxgears, now I get about 500 to 600 FPS with glxgears on my Radeon 9600, talk about an improvement. Now only if October’s driver would come sooner so I can have Compiz fusion running with out XGL.

After fixing the graphics issues, I moved on to getting the shared printer on mtekktux to connect on my computer, that didn’t require much effort either. Just a quick configuration of CUPS, and updating HPLIP, setting the printer as default, and Kablam! printing works.

Now came the annoying sound issues. In particular, if alsasound is not started your previous gmixer settings get lost in Gnome (probably the same way with KDE). Fixing this is simple, just add alsasound to the default run level using rc-update add alsasound default. Now on boot alsasound will launch restoring settings from the previous session (that’s if it is configured to do so, which it is by default). As things have gone good so far, I plugged in my Logitech Music Anyware USB wireless audio device. Running cat /proc/asound/cards revealed:

1 [Tra ]: USB-Audio - Logitech Music Anywhere USB Tra
Logitech Logitech Music Anywhere USB Tra at usb-0000:00:1d.2-1, full speed

ALSA found it! So it was time to test to see if it works, and sure enough it does. The remote doesn’t work (yet), but that’s because Audacious doesn’t hook into the multimedia hotkey functions yet. For something that does not claim Linux support, having the major function of it work is success by any standard.

-John Havlik

[end of transmission, stay tuned]