A Blog about technology, linux, peer2peer, cool new downloads and software development.

Monday, August 31, 2009

how to enable & disable emerald on ubuntu linux


In CCSM search for "window decorations" -> change the "command" to :
enable emerald : /usr/bin/emerald
disable emerald : /usr/bin/compiz-decorator

Monday, August 24, 2009

how to edit animated gifs on ubuntu with gifsicle to reduce size


mkdir 66213
cd 66213
gifsicle --explode ../66213.gif
# delete the frames that that dont hurt the animation
gifsicle -O2 --colors 64 --dither --delay=100 --loop *.gif* > ../66213-o.gif
# or
gifsicle --optimize --colors 170 --delay=100 --loop *.gif* > ../66213-o.gif

view animated gifs in ubuntu


sudo aptitude install gthumb

asssocuate gif files with gthumb

Sunday, August 23, 2009

how to install hdaps on ubuntu / lenovo t60


sudo apt-get install build-essential module-assistant
sudo /etc/init.d/hdapsd stop
sudo modprobe -vr hdaps
sudo modprobe -vr tp-smapi
sudo m-a a-i -f tp-smapi
sudo -i
rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko
rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko
rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko
modprobe tp_smapi
modprobe hdaps
# install hdapsd from : https://launchpad.net/~jonasped/+archive/ppa
/etc/init.d/hdapsd start
hdaps-gl

# refrence :
# https://launchpad.net/~jonasped/+archive/ppa
# http://meandmyubuntu.blogspot.com/2009/05/getting-hdasp-to-work-on-jaunty.html
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/comments/15

Saturday, August 15, 2009

Burn XBox 360 & PS2 games on Ubuntu Linux


$ growisofs -use-the-force-luke=dao
-use-the-force-luke=break:1913760
-dvd-compat -speed=2
-Z /dev/scd0=xboxgame.iso

Notes :
/dev/scd0 is the dvd-rw device name -
find it with cat /etc/fstab or dmesg

Note 2 :
to burn mdf/mds files use :
sudo apt-get install mdf2iso

Friday, August 7, 2009

rsync how-to tutorial

Update :
rsync -azCPvv src user:xxx.xxx.xxx.xxx:/tmp/
Note : no / after src (not src/)

Based upon :
http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html

Example :
rsync -vvrhzP -e ssh ./dir user@192.168.0.5:Downloads
^ NO trailing /
Will copy local files to remote machine & recreate ~/Downloads/dir on the remote machine

Example 2 : copy file/s with progress indicator instead of cp
rsync -vvrhP [src] [dest]