Buzz!! – Yahoo like IM shake with Pidgin Nudge plugin

I think most of you may have already migrated to Empathy, the default Instant Messenger client for the GNOME desktop environment. But I still use Pidgin IM because I like its functionality and its expandable plugin architecture.

I am a Yahoo Messenger user, and one thing that I miss about when using Pidgin (either on Linux or Windows) is the “shake-effect” whenever I receive “Buzz” or “ding” from my contacts. Back in 2003 (when Pidgin still was called Gaim) I tried replicating that effect, but to no avail. However, just a couple of weeks ago I discovered “pidgin-nudge“, a plugin that shakes conversation window when it receives “Buzz”,”nudge” or “ding” from contacts. Here’s how it looked :

Installing pidgin-nude on Ubuntu linux is easy! First make sure you have Pidgin 2.6.x and above installed. Then you have to install “pidgin-dev” package alongside with “build-essential” to compile the plugin source code, as shown in the example below.


sudo apt-get install subversion pidgin-dev build-essential
svn checkout http://pidgin-nudge.googlecode.com/svn/trunk/ pidgin-nudge-read-only
cd pidgin-nudge-read-only
make
sudo make install

Happy Buzzing!

Play Urban Terror, a free Counter-Strike like game on Linux

Right now I’ve been playing Urban Terror (or UrT), it is a First Person Shooter (FPS) game similar to Counter-Strike. The game was developed using the open source Quake III Arena engine and can be played under GNU/Linux, Microsoft Windows and Mac OS X operating systems.

You can download Urban Terror binaries from Urban Terror Official Website

The game is available for 32bit and 64bit platform and is tested on Fedora 13 and Ubuntu 10.10 (Maverick Meerkat) releases

Book Giveaway: Linux Module Programming Guide

Free !

Listen up!

UbuntuGeek is giving away the “Linux Kernel Module Programming Guide” e-book for free! The book contains guides and tutorial on how to write loadable Linux kernel module and drivers.

According to its official description:

“An excellent guide for anyone wishing to get started on kernel module programming. The author takes a hands-on approach starting with writing a small “hello, world” program, and quickly moves from there. Far from a boring text on programming, Linux Kernel Module Programming Guide has a lively style that entertains while it educates”

Linux Kernel Module Programming Guide

Download now: Linux Kernel Module Programming Guide (PDF)

How to use SCP on Linux or other UNIX-based Environment

SCP is used to copy files securely over network. In order to use SCP, the remote host must be configured to use SSH server (OpenSSH on Linux system, including Ubuntu) and the user must have an account on remote server.

scp syntax is easy,


local:~$ scp <source> <username>@<remote_host>:<destination>

Example for copying local file to the users home directory on remote host, you can replace mypapit with your own username

local:~$ scp id_rsa_.pub mypapit@remote.host:~/

id_rsa.pub 100% 392 0.9KB/s 00:00

local:~$

To list the file on the remote directory, just run

local:~$ ssh mypapit@remote.host ls

temp_file.txt id_rsa.pub

and the content of remote directory will be displayed.

Copying file recursively
To copy file recursively, you only need to add “-r” switch. Add -v for verbose output.

Example:

local:~$ scp -rv ~/* username@remote.host:~/backup

Conclusion
SCP is easy to use especially when you want to copy or upload files from client to server without the use of FTP server. Additionally, the content of the files transfered is encrypted over SSH communication and you get the benefit of simplicity while working on the console.

How to use rsync to backup and synchronize files to USB drive

Portable USB drive (sometimes called pendrive) has gained popularity as a medium for storing documents. Computer users would work on the files that they store on the usb drive and occasionally would copy them on their computer, or vice versa.

However this would cause problems if there’s a lot of files being worked on and transfered between usb drive and computers. Valuable time might be lost solely for identifying which of the files are more recent and need to be updated.

Fortunately there’s ‘rsync’, a tool which can be used to synchronize files between the computer and usb drive. Assuming you use Debian or Ubuntu, you only need to start ‘synaptic’ and select ‘rsync’ package. Once installed, start the terminal application and you can begin synchronizing the files using this command


$ rsync -r -vv /home/username/Documents/ /media/your_usb_drive

The general format of rsync command is :

$ rsync -r -vv <local document directory> <remote backup directory>

rsync only updates file which has been changed and would save time and precious harddisk space from maintaining duplicate files.

A Windows version is also available at : http://www.rsync.net/resources/binaries/cwRsync_3.1.0_Installer.zip

How to make JavaME .jar files downloadable from Apache Web Server

Mobile application developers may have realize that one of the best (and recommended) way to distribute their JavaME/J2ME application is by hosting it on a website. This makes it easier for potential users to navigate and download the .jad or .jar files from their phone browsers and to execute it directly.

However, some web servers are not configured to handle .jar / .jad file requests, eventually leading to failed install response received by the mobile users.

To remedy this, .jad / .jar files need to be associated with the correct MIME type. In Apache, you can do this by creating ‘.htaccess’ file in your web directory, and inserting these lines :

# JavaME
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/java-archive .jar

Afterwards, safe the file. The web server should behave accordingly when requests are made to either of these files. For other web servers, please refer to their respective manual or online-help on how to change document MIME type.