1]Yahoo don't work with pidgin This is because jaunty comes with an outdated version of pidgin & you have to install the new version for it.The easiest way to do this is use Pidgin PPA (so that updates of pidgin would be available directly from update manager).To setup PPA (and eventually enable automatic update), just copy & paste the code available at http://www.pidgin.im/download/ubuntu/ onto the terminal.
2]Enable Water repel notification:- This one is really nice trick & you will have water repels on the corner of your desktop instead of that annoying 'ding' when someone PMs you.This one is a little bit techie but it is worth the effort.You must have Compiz-Fusion installed and running. 2. You must be using a graphics card that supports the 'Water' effect. 3. You must have said water effect and the DBUS plugins enabled in the Compiz Configuration Manage
a)copy the following code to a new file & rename it to waterping.sh
#!/bin/bash
#./waterping.sh 0 0
#If you want to ping the coordinates x0, y0
dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/water/allscreens/point org.freedesktop.compiz.activate string:'root' int32:`xwininfo -root | grep id: | awk '{ print $4 }'` string:'amplitude' double:1 string:'x' int32:$1 string:'y' int32:$2
b)copy the following code to a new file & rename it to senicon.sh
#!/bin/bash
#requires waterping.sh
WINFO=`xwininfo -root -tree | egrep ' (1[2-9]|2[0-4])x(1[2-9]|2[0-4])\+0\+0' | grep "$1" | cut -d ')' -f 2-`
WIW=`echo $WINFO | cut -d 'x' -f 1`
WIH=`echo $WINFO | cut -d 'x' -f 2 | cut -d '+' -f 1`
WIX=`echo $WINFO | cut -d '+' -f 4`
WIY=`echo $WINFO | cut -d '+' -f 5`
let WAX=WIX+WIW/2
let WAY=WIY+WIH/2
waterping.sh $WAX $WAY 2>/dev/null
B. As root, copy each of the scripts to "/usr/local/bin/" Then, open a root terminal and execute the following two lines:
sudo chmod a+x /usr/local/bin/waterping.sh
sudo chmod a+x /usr/local/bin/senicon.sh
C. Configure Pidgin.
Startup Pidgin; go into the Preferences manager. Under the 'Sounds' tab set the method to 'Command' and type in: "senicon.sh pidgin" (without the quotes.)
Note: credit for this script goes to "cmost" of linuxmint forums
0 comments:
Post a Comment