Multiple logins / accounts

I various accounts of jabber and I use to use other clients that supports to login directly them like (Gaim, Gajim, Psi, ...). Now I want to use Tkabber and I see the posibility to login more than one time, that is like what the other call accounts but, what I didn't see is to fix at the startup time. And when I launch the tkabber I can see all account loged in.

So how can I "Customize" (configure) the tkabber to login directly more than one account?

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Multiple logins / accounts example

put something like this in the ~/.tkabber/config.tcl

#
set loginconf1(profile) "abc@sapo.pt"
set loginconf1(user) abc
set loginconf1(password) xxxxxxx
set loginconf1(resource) Casa
set loginconf1(server) sapo.pt
set loginconf1(usedigest) 0
set loginconf1(usealtserver) 1
set loginconf1(altserver) "clientes.im.sapo.pt"
set loginconf1(altport) 5223
set loginconf1(useproxy) 0
set loginconf1(stream_options) ssl

#
set loginconf2(profile) "abc@gmail.com"
set loginconf2(user) abc
set loginconf2(password) xxxxxxxxx
set loginconf2(resource) Casa
set loginconf2(server) talk.google.com
set loginconf2(usedigest) 0
set loginconf2(port) 5222
set loginconf2(usessl) 1
set loginconf2(useproxy) 0
set loginconf2(stream_options) encrypted

# Set default profile
array set loginconf [array get loginconf1]

after this, in the login windows it should show up a pulldown menu in the top right place, where you can choose which account you want to login (and you can login in both, just login in one, then in the other)

of course, you can add as many accounts as you want.

finally, you can fine tune with the tkabber preferences, that are saved to ~/.tkabber/custom.tcl ... with it you can find missing options and move then to the config.tcl, with the correct loginconf index (ie: :::loginconf4(zyx) 123 -> set loginconf4(zyx) 123)

have fun
higuita

Hello, I'm quite new to

Hello,

I'm quite new to tkabber/tcl/tk :), so I apologize if this was somewhere obvious.

I'm using tkabber - 0.11.1-1, from Debian squeeze/sid.

I've added in ~/.tkabber/config.tcl 2 accounts, like the previous reply, but when I switch from the ``top right place'' to another one, to log in, I'm being disconnected from the other one -> therefore I can't connect/or being connected __simultaneously__ to more than 1 account.

Here's my my config

cat ~/.tkabber/config.tcl
#
set loginconf1(profile) "profile1"
set loginconf1(user) username_profile1
set loginconf1(password) passwd_profile1
set loginconf1(resource) Home
set loginconf1(server) ejabberd_server
set loginconf1(usedigest) 0
set loginconf1(usealtserver) 1
set loginconf1(altserver) "ejabberd_server"
set loginconf1(altport) 5222
set loginconf1(useproxy) 0
set loginconf1(stream_options) encrypted

#
set loginconf2(profile) "profile2_gmail"
set loginconf2(user) username_gmail
set loginconf2(password) passwd_gmail
set loginconf2(resource) gtalk.google.com
set loginconf2(server) gmail.com
set loginconf2(usealtserver) 0
set loginconf2(usedigest) 0
set loginconf2(port) 5222
set loginconf2(usessl) 1
set loginconf2(useproxy) 0
set loginconf2(stream_options) ssl

# Set default profile
array set loginconf [array get loginconf1]

Try this: set

Try this: set loginconf(replace_opened) 0

Thank You. That did the

Thank You. That did the trick.

And... how do I autologin in

And... how do I autologin in those multiple account?

Re: And... how do I autologin in

Explained in Russian on the Wiki.

Sorry for the long delay — e-mail notifications almost do not work. Better ask such questions in the tkabber@conference.jabber.ru room (after searching on the wiki).

Syndicate content