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

Wednesday, September 30, 2009

how to search for missing libraries in ubuntu linux

sudo apt-get install apt-file
apt-file update
apt-file search Xtst
sudo apt-get install libxtst6 libxtst-dev

Saturday, September 26, 2009

how to - download accelerator on ubuntu linux

sudo apt-get install lftp

pget -c http://ppc.a.ec.viddler.com/.../b3a4f73071a038d931.flv &

Alternative :
sudo apt-get install axel

axel -a -v -o "name.flv"  http://ppc.a.ec.viddler.com/.../b3a4f73071a038d931.flv

Monday, September 21, 2009

ubuntu linux - how to watermark a video from cli

# Download video from youtube :
sudo apt-get install youtube-dl
youtube-dl -b -l "link to youtube video"
[or: youtube-dl -b -t "link to youtube video"]

sudo apt-get isntall ffmpeg

ffmmpeg -i in.flv out.avi
sudo apt-get install avidemux avidemux2_cli

# prepare the logo
cat > logo.avidemux_filters
<?xml version="1.0"?>
<filters FilterNumber="1">
<Filter Tag="79" Conf="Logo at 0 0, alpha 194067208">
<Parameters Number="4">

avidemux2_cli --load "41wL9Nko4aI.flv" --audio-codec MP3 --video-codec XVID4 --filters "logo.avidemux_filters" --output-format AVI --save "myvideo01avi" --quit

Saturday, September 19, 2009

hd led replacement on ubuntu linux

in synaptic find and install :

Saturday, September 12, 2009

how to update atheros ath9k.ko driver to the latest on ubuntu linux

Download the latest compat-wireless-2.6.tar.bz2 from :
open it and :

find . -name "*" -exec touch {} \;
sudo -s
make install

modinfo ath9k
filename: /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko
mv /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko.bak

make unload

cat > ~/wifi_reset.sh
#!/bin/bash -x
sudo modprobe -vr ath9k
sudo modprobe -vr ath5k
sleep 1
sudo modprobe -v ath9k
#sudo modprobe -v ath9k btcoex_enable=1
#sudo modprobe -v ath5k
sudo iwconfig wlan0 power off

#sudo iwconfig wlan0 rate 48M auto
#sudo iwconfig wlan0 txpower off
#sudo iwconfig wlan0 txpower auto
#sudo iwconfig wlan0 txpower 20dBm
sudo iwconfig wlan0 txpower 19dBm

chmod +x ./wifi_reset.sh