Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

View Poll Results: How useful is this?
very useful 2 100.00%
time-waste-a-ment 0 0%
neither/nor 0 0%
Voters: 2. You may not vote on this poll

 
Thread Tools Display Modes
Old July 17th, 2009   #1
loomsen
100% Pure Ubuntu
 
loomsen's Avatar
 
Join Date: Aug 2008
Location: germany
Beans: 857
HOWTO: jabber transports

Hello again.

In this post I will try and introduce those of you who aren't aware of jabber (and it's possibilities) yet to this very handy open source protocol.
Now, you might think, well, open source is nice, yes, but who the hell has a jabber account.

One powerful feature of jabber however is to manage transports. Basically, you connect to a jabber server and then link the server to your legacy accounts (like msn, yahoo, google talk, icq, irc...)
This means you'll decrease your network load, cause you only need to connect to one server instead of one connection for each protocol.

For additional technical information on how it works hit him →

Here's what this HOWTO will try and setup:


INTRODUCTION, PROLOGUE, APERITIF
You may choose whichever server you like, however, na-di.de offers a pretty nice amount of transports which should fit most users needs, so this howto will use na-di.de as an example.
This is my very own, subjectively colored opinion, of course it's up to you to choose another server if you want. You'll be pointed to a list of all available servers, their status and their offered transports below.
You may create as many accounts as you want and merge them if you want, maintaining users using metacontacts (merging a contacts different accounts to one main account, so you won't have multiple occurences of the same contact but different protocols)

WHY?
OK, here's why I want it, and maybe why you would enjoy jabber as well.
As far as I'm concerned, I've tried any instant messenger app there is around, liked some of them, disliked others, however, none of the common apps really impressed me, or at least satisfied my needs.
Until I stumbled upon gajim and got used to the transport stuff and how to set everything up.
Basically, I have accounts at ICQ (most of my contacts), MSN (only 4 contacts) and jabber itself.
Thus I rarely used my MSN acc just because of one contact refusing to use ICQ ^^ But, as my MSN contacts are really good friends, this wasn't a sustainable situation.
Facing this issue jabber seemed like the best choice for me (distributing the whole connection issues, keep alives and such to the transport jabber server, and decreasing my ressource usage)
Also, I never liked pidgin for some reason, I don't even know why, but I really hate it and I'm glad to be rid of it.

=== Plot ends here ===

Now, you need to decide which client you want to use. You may use pidgin as well if you like it.
However, as I mentioned, I choose gajim, which is nice, small, based on xmpp, highly extensible and configurable (through the advanced config manager)

So, here's
STEP 1

Set up gajim. (should be included in the official repos, but I'm no longer running ubuntu, so please let me know if this differs somehow)

Code:
sudo aptitude install gajim
STEP 2
Get yourself a jabber account. Some servers offer account creation from within gajim, some don't. The server featured in this tutorial doesYou may visit
ME, klick ME
for an extensive overview of available servers and their offered transports.

K, time to start up your designated new instant messenger client.

STEP 3

Using na-di.de as I'd recommend:
Launch gajim. Upon startup, you'll be asked to enter an account. Choose to create a new account, next enter na-di.de at the server prompt, and enter your desired login details.
If you did everything right you should receive a welcome message.

==============================
f you want to go with another server:
Choose to create a new account, choose the server you'd like to use from the dropdown menu, for example jabber.ccc.de
Klick next and gajim will connect to your desired server and provide you with a simple mask to create a new account. Enter your desired username and your desired password, hit next and you'll be prompted that your account has been created successfully.
Pressing finish will ask for your password you just specified and connect to your jabber server and return a welcome message.
==============================


Aight, preparation finished, now lets introduce our existing ICQ account to our jabber account.

STEP 4
Transport setup

Now, rightclick your account in your contact list and choose discover services
Et voila, you'll see something similar to this:


Now, let's take my introduction above as a concrete example to get you going.
Mark ICQ and click Register, now enter your ICQ login details (your unique user ID and your password you use to login to your ICQ account)
When done the na-di.de server will use these credentials to login to an ICQ server and import your contact list and your groups.
Easy as that.
Same for MSN. Rightclick your account, discover services, mark MSN, hit Register and enter your details. And you're done. Any other offered transport should behave the same, except IRC, which may differ between different servers.

IRC:
Choose any server which offers IRC transport from the server list, and register for the IRC transport exactly as you did for your ICQ account.
Now you're ready to add any room you want to visit by
Actions --> Join Group Chat --> using account <server offering IRC transport> --> Join new Group Chat
and make the upcoming form look sth like


#<YOUR_DESIRED_CHANNEL>@<IRC TRANSPORT SERVER TO USE>

A new Chat window will open showing your desired channel

Alright, now you're setup with anything you need to get rid of your old multiprotocol messengers and let your transport server do the work.
Once linked, you may login to your jabber account from everywhere enjoying your transports, so this is not limited to your PC.


APPENDIX A:

Removing accounts

So, you've tried a few servers creating accounts on each server. You may remove the accounts directly from the server from within gajim. Go to
Edit --> Accounts
mark the account you wish to remove and click remove. You'll see a prompt asking you whether to remove the account from the local configuration or if you wish to wipe it off the server as well.
This will only work for servers offering account creation from within gajim.

APPENDIX B:

Facts, links, clients, servers, options, capabilities and so on may be found all over the internet.
A good place to start should be

www.jabber.org



Thats it, if you happen to find some major mistake in the steps described above please don't hesitate and let me know.
I hope you enjoied this HowTo, and that it's been easy and pleasant to follow. If enough users are interested in this I'll extend this HowTo and explain PGP encryption and some more of the huge variety of gajims capabilities and confguration options.
Thank you for your attention,
enjoy.

Last edited by loomsen; December 29th, 2009 at 02:06 PM..
loomsen is offline   Reply With Quote
Old September 11th, 2009   #2
loomsen
100% Pure Ubuntu
 
loomsen's Avatar
 
Join Date: Aug 2008
Location: germany
Beans: 857
Re: HOWTO: set up gajim for any IM protocol

Hmm, although this obviously hardly bothers anyone (- I actually wonder why -) I decided to take another shot on explaining some further usage possibilities.

This second part deals with a Jabber contact, which acts as a dictionary, as well as registering with a server which offers remote storage with jabber.

The dictionary is fairly easy to set up, just adding a jabber contact and you're done.
The account you would want to add for a GER<->ENG dictionary is
woerterbuch.info@swissjabber.org

Then you may send whichever word you want to translate to your new contact and instantly get something like:


For other dictionaries please search the web, there are a couple of dict transports out there.

Another neat thing is the possibility to store files remotely by registering with a server offering a file storage service, as the shot above shows: (you may simply add a new account registering through gajim, using jabbim.cz as server.

It provides some nice services, like a facebook beta transport, RSS reader, a smtp service, SMS services, TV services and so on (some of these services are only available in particular countries, at least with this server)
Here's another shot:


After registering with the storage service you'll get subscription requests by 3 new contacts, public.disk, private.disk and album.disk (suitable for photos) as you can see in the first image of this post.

The services offer some simple commands you may use, like mkdir, ls, rm, link (to get the link to a file)
Another impression:


While your files stored in public are accessible for everyone, those stored in private _are_ private.

As far as I'm concerned, I wouldn't want to be without my jabber account anymore, looking forward to a wide variety of services still to come.

Maybe this convinced some more of you to take a look into jabber, most of all because of the TOCs of the established IM services
(a shocking short maybe found here)

Go jabber.
loomsen is offline   Reply With Quote
Old December 29th, 2009   #3
loomsen
100% Pure Ubuntu
 
loomsen's Avatar
 
Join Date: Aug 2008
Location: germany
Beans: 857
Re: HOWTO: set up gajim for any IM protocol

updated
loomsen is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:41 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry