Install curl in ubuntu
Open the command prompt and enter the following command
sudo aptitude install curl
Enter your root password when it is prompted.
Now if you want to post to Twitter use the following command in single line
curl -u yourusername:yourpassword -d status=”Your Message Here” https://twitter.com/statuses/update.xml
You will receive a response containing the XML coding for your post which acts as a confirmation that your post was submitted.
Enter the following command in single line
wget -O -- –user=YOURUSERNAME –password=YOURPASSWORD –post-data=”status=YOUR NEW STATUS HERE” https://twitter.com/statuses/update.xml
Download ZenTwitter from here
Just dump it into your ~/bin directory, open it in the editor of your choice to change the username/password, make it executable (chmod a+x) and add a launcher icon to the panel/menu/desktop of your preferred window manager.