Praveen's Blog

An Eternal Quest for Incremental Improvement

Proxy settings in xchat-gnome

After a long break, today I planned to hang around on some of my favorite channels on IRC. I normally use xchat to do IRC. But this time, my xchat was replaced by xchat-gnome. It inherited all the settings from my previous xchat configuration. When I invoked xchat-gnome, it tried to use one of the proxy servers that I have configured before. I was wondering where xchat-gnome is picking up that proxy server setting from! It was not obeying the gnome proxy settings. It doesn't have an UI to configure the proxy settings. It was a bit of strange behavior. When I searched about this problem, I found that xchat-gnome has proxy support. But there is no UI to configure the proxy. Here is how you do the proxy setup in xchat-gnome.

Most of the settings of xchat-gnome are stored as variables. It gives an option to edit the variables to configure various settings through the /set command. Here is the list of variables that are related to the proxy configuration.

net_proxy_auth - Toggle proxy authentication.
net_proxy_host - Proxy host to use.
net_proxy_pass - Password to use if proxy authentication is turned on.
net_proxy_port - Port to use for proxy host.
net_proxy_type - Type of proxy to use (0=disabled, 1=Wingate, 2=Socks4,3=Socks5, 4=HTTP, 5=MS Proxy (ISA).
net_proxy_use - What to use proxies for (if set). (0=all, 1=IRC Only, 2=DCC Only).
net_proxy_user - Username to use if proxy authentication is turned on.

For instance, if you want don't want to use any proxy, issue the command /set net_proxy_type 0.

More list of xchat-gnome configuration variables are available here.


Comments