Sunday 10 July 2011

Android apps for India

[How to] Solve Brightness problem in ubuntu

If you are facing brightness adjustment problem on you laptop like you can not adjust your laptop brightness using fn keys then try following one...

1. In a terminal window, type in:
Code:
mousepad ./backlight_d.sh
(the mousepad application will open if doesnt then install it first)

2. Copy and paste the following into the mousepad application that just opened:
Quote:
#!/bin/bash

old_b=9;
declare -i curr_b=240;
declare -i target_b=240;

while : ; do
b=`cat /sys/class/backlight/acpi_video0/brightness`;
delay="0.5"

if [ $old_b != $b ]; then
old_b=$b
let "target_b=$b * 20 + 12"
#printf "Target: %10d\n" $target_b
fi

hex_b=".";

if [ "$curr_b" -lt "$target_b" ] ; then
let "curr_b=$curr_b + 2"
if [ "$curr_b" -gt "$target_b" ] ; then
let "curr_b=$target_b"
fi

hex_b="-"
elif [ "$curr_b" -gt "$target_b" ] ; then
let "curr_b=$curr_b - 2"
if [ "$curr_b" -lt "$target_b" ] ; then
let "curr_b=$target_b"
fi

hex_b="-"
fi

if [ $hex_b != "." ] ; then
hex_b=`printf "%02X" $curr_b`
delay="0.005"
setpci -s 00:02.0 F4.B=$hex_b
fi

sleep $delay
done
3. Save the file:
Code:
File->Save(save it through closing it)
4. Back in the terminal window, type in the following:
Code:
sudo cp ./backlight_d.sh /etc/ && sudo chmod +x /etc/backlight_d.sh
(enter your password when prompted).

5. Enter the following into the terminal window:
Code:
sudo mousepad /etc/rc.local
(mousepad will open again) and before the exit 0 line, type in the following:
Code:
nohup /etc/backlight_d.sh &
so it looks like:
Quote:
nohup /etc/backlight_d.sh &
exit 0
Restart your computer. and done..

How To Display Network Upload / Download Speed On The Panel In Ubuntu 11.04

Indicator-Sysmonitor (System Monitor Indicator) is a really interesting Ubuntu indicator because it allows you to display pretty much anything on the Unity (or GNOME) panel by using a simple command or a bash script.

(Speaking of Indicator-Sysmonitor: a recent update brought sensors support (make sure you install hddtemp and lm-sensors), but this post isn't about that)

Currently there is no AppIndicator to display the actual network usage as in the actual values on the Unity panel in Ubuntu 11.04. We have Indicator Multiload but it only displays a graph so I wrote a script for Indicator-Sysmonitor to display the network upload/download speed as well as CPU and Memory usage (Indicator Sysmonitor already has CPU and Memory usage but if you want to use a script, you must get your script to display the CPU and Memory usage independently).

Getting Indicator-Sysmonitor to display network upload / download speed


Before getting started, please note that while this worked just fine on my computer,

1. Firstly, install Indicator-Sysmonitor. For Ubuntu 11.04:
 
sudo add-apt-repository ppa:alexeftimie/ppa
sudo apt-get update
sudo apt-get install indicator-sysmonitor

If you use Ubuntu 10.10 (not working in Ubuntu 10.04!), download .deb from here.

2. Install dstat (this is required by my script):
sudo apt-get install dstat


3. Now you must download the script. Let's create a folder (if it doesn't exists already) called "scripts" in your home directory and download the script there:

mkdir -p ~/scripts && cd ~/scripts
wget http://webupd8.googlecode.com/files/sysmon_0.2.tar.gz && tar -xvf sysmon_0.2.tar.gz

4. Setting Up System Monitor Indicator to use the script.

Now open Indicator-Sysmonitor (it should show up as System Monitor Indicator in the menu), then click it on the panel and select "Preferences" and under "Use this command", enter this:
 
$HOME/scripts/sysmon

Indicator Sysmon

Then save. For me, each time I save the Indicator-Sysmon preferences, the applet freezes. If that's the case for you too, run this in a terminal:
 
killall indicator-sysmonitor

Then start it again.

4. Configuring the script

Indicator sysmon

By default, the script displays the RAM and network usage. You can also display the CPU usage or any other combination (display the network usage only, display all: the CPU, ram and network, etc.). For this, open the script (run the following command in a terminal):
 
gedit ~/scripts/sysmon

And on top of the file you'll see something like this:
#settings:
netspeed=true
ram=true
cpu=false

What these do is pretty much obvious - change the items you want to be displayed on the panel to true and the rest to false. Feel free to tweak the script to display other stuff if you want.

List of Best Essential APPS EVER ON ANDROID....

TESTED ON SGSL>>>>
1.Adobe Reader / eZPdf reader
2.Google Goggles
3.TubeMate(Youtube Downlaoder)
4.JuiceDefender(Battery Saver)
5.AndroZIP
6.Barcode Scanner
7.Fontomizer
8.App 2 SD Free
9.Wifi Manager
10.Document Scanner
11.ACV(Android Comic Viewer)
12.File Expert / ASTRO File Manager
13.Bluetooth File Manager
14.Hindu Calander
15.Google Sky MAP
16.Layar Reality Browser
17.First Aid
18.GO Launcher EX / Launcher PRO

List of Best MULTIMEDIA APPS EVER ON ANDROID...

TESTED BY SGSL>>>>
1.SBMX(Sketch Book Mobile Express)
2.RingDroid
3.GTunes Music
4.MoboPlayer
5.Album Art
6.Sketch Me
7.Retro Camera
8.HD Wallpapers
9.Photoshop Express
10.Zedge