To run an applet from terminal, first kill all running versions of the applet:
Note : my_applet is the name of the binary
Which will pop up a dialog asking you to reload. If you choose "Don't Reload" the applet will be removed from your configuration and you will have to readd it to your panel.
Ignore this dialog for the time being, and run the binary for your applet from the command line:
Your binary should not return to the command line, if it does there is something wrong with your applet (or the applet process is still running somewhere else). With your binary still running click the dialog to reload the applet. The applet running on your panel is the one in your console. All copies of a running applet run out of a single binary, so even if you have multiple copies of my_applet, they are all controlled by the one process.
If you want to kill the applet you have been running on your console, you can do so by pressing Ctrl-C. This will then pop up the dialog asking if you want to reload the applet. You can start a new (rebuilt) applet process on the console before choosing to reload.
