Sunday, September 4, 2011

Convert your videos to mobile formats

MOBILE MEDIA CONVERTER









URL:- http://www.miksoft.net/mobileMediaConverterDown.htm



install:-



platform 32 bit:- sudo dpkg -i mmc*.deb



platform 64 bit:- sudo dpkg --force-architecture -i mmc*.sdeb



NB:- You can also download youtube videos with this software



see:- http://aarklonlinuxinfo.blogspot.com/2009/10/i-am-not-being-able-to-play-amr-files.html

Saturday, September 3, 2011

Vertical Tiling of nautilus windows

It is possible to tile nautilus window vertically just by pressing F3 key.





Sunday, August 28, 2011

RAID example

RAID (Redundant Array of Inexpensive Disks)



Create 3 partitions for implementing RAID using fdisk command.



e.g. #fdisk /dev/hda



Press n to create the 3 new partitions each of 100Mb in size.



Press p to see the partition table.



Press t to change the partition id of all the three partitions created by you to fd (linux raid auto).



Press wq to save and exit from fdisk utility in linux.



#partprobe



Use fdisk -l to list the partition table.



Creating RAID



# mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/hda6 /dev/hda7 /dev/hda8



Press y to create the arrays.



To see the details of raid use the following command: -



# cat /proc/mdstat



# mdadm --detail /dev/md0



Creating the file system for your RAID devices



#mkfs.ext3 /dev/md0



Mounting the RAID partition



#mkdir data



# mount /dev/md0 data



#df -h /root/data (Command is used to see the space allocation).



Crashing the raid devices



# mdadm --manage /dev/md0 --fail /dev/hda8



Removing raid devices



# mdadm --manage /dev/md0 --remove /dev/hda8





Adding raid devices



# mdadm --manage /dev/md0 --add /dev/hda8



View failed and working raid devices



# cat /proc/mdstat



# mdadm --detail /dev/md0



# tail /var/log/messages



To remove the RAID follow these steps: -



1) unmount the mounted directory where raid is mounted.

e.g. umount data

2) Stop the device

e.g. mdadm --stop /dev/md0

3) View the details of your raid level using following command: -

#cat /proc/mdstat

#mdadm --detail /dev/md0





see:- also http://aarklonlinuxinfo.blogspot.com/2010/03/lvm-raid.html























Tuesday, August 9, 2011

How to view I.E only websites in linux ?

IE only websites :-





soln:-



1) Use firefox with user agent switcher plugin

























see:- http://chrispederick.com/work/user-agent-switcher/





2) use crossover office to install I.E in linux





see:- http://www.codeweavers.com/

Monday, July 4, 2011

Install adobe photoshop CS5 on linux:-

1) install ubuntu-restricted-extras package

( This is for installing Microsoft Fonts)

2) download corkscrew photoshop CS5 package

3)

CorkScrews are prepackaged wine prefixes inspired by the "Wine bottle" of Crossover (cxgames.). This package was built using ArchLinux and also tested on Ubuntu 10.04, it should work properly on any Linux distribution with wine installed.

To install the game run InstallerPhotoshopCS5.sh. This will extract the archive to ~/.wine/wineprefixes/PhotoshopCS5.

To launch the programs you can either use the desktop icon or execute the script located in ~/bin, either by double clicking on it, or from a terminal enter: ~/bin/PhotoshopCS5Launcher.sh

To uninstall delete the PhotoshopCS5 folder in ~/.wine/wineprefixes.


4) Create a custom application launcher with photoshop icon and with a executable shell script as its command

5) contents of the shell script are as follows:-

#!/bin/bash
/home/celsius/.wine/wineprefixes/PhotoshopCS5/drive_c/Program*/Adobe/Adobe*Photo*CS5/Photoshop.exe


6)

EmoSaga at 2011-04-26 07:36 CET:

I was having the same issues with CoolType (which is a dll) but I some how got around it. I ran Photoshop from the direct exe rather than the .sh files. Can be found at: HOME/.wine/winprefixes/Photoshop CS5/drive_c/Program Files/Adobe/Adobe Photoshop CS5/Photoshop.exe

Definitely UGLY! But it works! I even got plug-ins to work.

Use your mobile phone to connect to internet

step 1:- sudo apt-get install wvdial

step 2:- find vendor ID & product ID using lsusb command

step 3:- switch to root user and give the command

#/sbin/modprobe usbserial vendor=0x(vendor_id) product=0x(product_id)

step 4:- switch to root user and give the command
#wvdialconf create

step 5:- switch to root user and configure wvdial by adding the following parameters

#vi /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet"
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99#
Password = 1
Username = 9947401042
Stupid Mode = 1


These settings are for my service provider (Idea).you can try similar settings for your service provider

step 5:- switch to root user and add the following to /etc/resolv.conf

#vi /etc/resolv.conf

nameserver 202.56.230.5
nameserver 202.56.240.5

step 6:- After you have finished configuring the above,switch to root user & just run:

#wvdial

This will connect you to the internet , provided you have an active GPRS connection on your mobile


NB:-

Tested in ubuntu 10.04 , with nokia 5800, with GPRS enabled Idea connection


GPRS APN for Idea is "internet" and for Airtel,it is "airtelgprs.com".You can always check it up with your provider.The password for Idea is 1.Clarification:You have to replace *GPRS APN* with internet for Idea and airtelgprs.com for Airtel.

You can also run wvdialconf to make sure your Modem,Baud,Init1 and Init2 settings are best suited to your phone.Just run this command in your terminal
sudo wvdialconf /etc/wvdial.conf


see:- http://www.techenclave.com/mobile-phones/help-setting-up-gprs-connection-ubuntu-168558.html

Friday, July 1, 2011

open-terminal here













see:- http://gnome-look.org/content/show.php/open-terminal-here?content=136490