[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: X-chat: odds and ends questions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 24 June 2002 07:51, contactbox@softhome.net wrote:
> I have a few mixed questions and requests. I'm sure they are common
> ones but - go on someone, make a newbie smile :) Or at least save me
> hours trawling through the archives and maybe address these all in
> one go...
I'm never one to belittle trawling through the archives, but I can
answer a few here... some I must leave to others. :)
> (1) I am active on three different networks/channels. On each, I use
> different "ident-names" and "real-names" information. On WIndows/mIRC
> its easy - I installed mIRC 3 times with different defaults for each.
> Can anyone suggest a solution I could use for Xchat? (I'd do the same
> only I cant figure out where in the code it defines the settings
> file. So each would overwrite the others settings. Perhaps theres a
> more elegant solution?)
Richard has given one way to do this (the --cfgdir option). The way
I've been doing it is to create another user account on my box (your
distibution may have a cute, graphical way to do this; if you can't
find it, there's always the "adduser" command-line tool). Now, the new
user account has its own home directory, in which Xchat's (and any
other program's) settings will be stored. You can run Xchat as this
other user by opening a command window and running "su -c username
command",[1] then entering the password for that user -- and once you
know this, it shouldn't be too hard to set up an icon or menu item from
your desktop.[2] (You may have to do something like "xhost +localhost"
in your .xinitrc, if X declines to allow that user to run programs
using your display.)
I think this is more elegant because not only are *all* settings run
by this user saved, with no special effort on my part, the other user
automatically shows up as a separate person if the IRC server queries
your identd. (I also use separate Gtk+ color schemes for each user, so
that I can tell who I am by looking at the color of the Xchat window. ;)
[1] This means, "Start a new login session for this user, and run this
command in it. When the command (in this case, Xchat) ends, log the
user out."
[2] For instance, in KDE when you make a program icon, you have a space
to specify, "Run this command as another user." You can even specify
the password there, if you're not worried about someone with access to
your hard drive (or your desk chair) reading it.
> (2) Likewise on each I save my logs to a different place, have
> different words to highlight - again, do I have 3 different settings
> files for 3 different versions, and where might I specify the
> location of each?
Using the multi-user method, each user would have logs and such saved
in its home directory, just like they are for your normal everyday
account.
Regarding the rest of your questions... mostly I either don't use
those features, or use them little enough that I don't know much about
them. (Highlighting, ports...)
About the color toolbox popping up... since there is no menu item for
it, you can't use (or add, which Gtk allows you to do by pointing with
the mouse at a menu item, then pressing the key you want to change it
to) a shortcut key to open it. This and making the input field
multi-line would require code changes. I'd suggest you put in an
enhancement request for those. :) Such requests are, in part, how
Xchat got to be as good as it is now!
> Meantime thanks for an excellent program. I hope to learn more as
> time goes on.
Most of us do. The rest of us are dead. ;)
Good luck,
- --
// Carl Hudkins :: ICQ 5723399 :: PGP 50238D9E
//
// "When two hydrogen atoms love each other very much,
// they bond with an oxygen atom..." --Trance Gemini, Andromeda
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9F7M0lLp/6lAjjZ4RAkGUAJ9K1x6qmKMP+uyAzoX4BA5rf9lu8gCg+0di
Tj4tGZxDUvEgyhZWB0Rz/fE=
=X3OE
-----END PGP SIGNATURE-----
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/