Wednesday, October 17, 2007

Debug Remote Java application

The java process should start with the following arguments :
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

In addition to that the code should be compiled(using javac) with debug option -g

Task Manager/Process List in Kubuntu

ps gives a list of processes. Alternately the short-cut Ctrl+Esc can be used to get a graphical list of processes running

apt-get behind fire-wall or proxy

A link on apt-get behind proxy

Google Talk in Kubuntu

A good article on Google Talk in Kubuntu

Python MySQL library support

Try the following at the python prompt.

>>> import _mysql
If the error is something like this :
Traceback (most recent call last):
    File "", line 1, in
        ImportError: No module named _mysql

Then try apt-get install python-mysqldb

Single/Double click in KDE/Kubuntu

System Settings->Keyboard and Mouse->Mouse->General->Icons

A much more informative entry can be found at Disable Single-Click Opening of Files in KDE

KDE/Kubuntu Hide/Restore Menu Bar

Menu Bar in KDE/Kubuntu Konquerer can be hidden by Settings->Hide Menu Bar. But there is no way to restore it without the keyboard shortcut for hide/restore Ctrl+M