Wednesday, March 30, 2011

How to Install Firefox 4 in Ubuntu Linux


Earlier today, we reported that Firefox 4 has just been released. Why do you need instructions to install the newest Firefox in Ubuntu? If you go into your Ubuntu Software Center, you’ll see that you more than likely have Firefox 3.6 installed, and it’s “up to date”. Naturally, they don’t add programs to the Software Center as soon as they are released. That would be foolish if there was something wrong with the new version. I don’t blame them for waiting at least a few days for the adventure seekers to provide some feedback.
There are three ways that I know of to add the newest Firefox to Ubuntu.
firefox 4

Method 1: Download Bzipped Package

You can go to the Firefox download page, download the TAR.BZ2 package and manually install it. The advantage of that method is that you won’t lose the current version 3.6 of Firefox. However, you’ll have to unpack the BZ2 file to a folder somewhere, locate the “firefox” executable file, then double click to launch it. If you’d like to, you can also create your own launcher link on the desktop or add it to a panel.

Method 2: Command Line Install

You can add the Firefox “Stable” repository and install the latest version from the command line in a terminal window. That’s actually the easiest method for most linux users. Here are the three simple commands you need to enter into the terminal.
sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade

Method 3: Software Center Install

Open your “Ubuntu Software Center” and click “Edit” > “Software Sources” then click the ‘Other Software’ tab. Add the PPA as shown below. When you exit the “Software Sources” applet, your Software Center will reload the repositories and it may even automatically find the updated Firefox for you.
ppa:mozillateam/firefox-stable
add firefox stable ppa to the software center




Sunday, March 27, 2011

Ubuntu Linux Configure DNS Name Server IP Address ( DNS Client )

Type the following command, enter:
sudo gedit /etc/resolv.conf

Append your ISP name server or free fast dns nameservers IP address as follows:
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 202.51.5.52



or
Use Google DNS


8.8.8.8
8.8.4.4

Wednesday, March 23, 2011

.htaccess & .htpasswd Files not Working in ubuntu

My solution to solve this is change /etc/apache2/sites-available/default

sudo vi /etc/apache2/sites-available/default
or
sudo nano ....
depending on your preference


You see something like:
Code:
<directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>

Change this to:
Code:
<directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
and restart apache (sudo /etc/init.d/apache2 force-reload) and you see the .htaccess file is read and you are required to enter a username/password

Monday, February 28, 2011

Places menu starts Rhythmbox 0.11.6, doesn't open folder

Simple workaround

Right click -> Open with -> custom command -> nautilus

repeat for all folders

now should open folders from Places in Nautilus

Monday, February 21, 2011

How to install flash debugger

උබුන්ටු වලදි  firefox වලට flashfirebug install කරාට පස්සෙ එක වැඩ කරන්න flash debugger එක ඉල්ලනවා. flash debugger eka install කර ගන්නෙ මෙහෙමයි.

Step by step:
  1. uninstall any kind of flash plug you have at the moment, make sure it's gone. (this was my problem, probably had the real 64 bit plug installed and there were multiple libflashplayer.so spread all over the place. Make sure you clean out any flash plugin related files from your system)
    search for installed flashplugin packages:
    Code:
    aptitude search flash
    p   flashblock                                                - mozilla extension that replaces flash elements with a button        
    i A flashplugin-installer                                     - Adobe Flash Player plugin installer                                 
    i   flashplugin-nonfree                                       - Adobe Flash Player plugin installer (transitional package)          
    p   flashrom                                                  - Universal BIOS/ROM/flash programming utility                        
    p   flashybrid                                                - automates use of a flash disk as the root filesystem                
    p   libroxen-flash2                                           - Flash2 module for the Roxen Challenger web server                   
    p   m16c-flash                                                - Flash programmer for Renesas M16C and R8C microcontrollers          
    p   vrflash                                                   - tool to flash kernels and romdisks to Agenda VR
    you will get a list of packages with flash in the package name, remove them from your system.(flashplugin-nonfree, flashplugin-installer) using the command: sudo apt-get purge [PACKAGE NAME], e.g. sudo apt-get purge flashplugin-nonfree
    I always do sudo apt-get autoremove after purge, to get rid of remaining junk, not sure if it's important, but it feels good
  2. install the flash plugin using the command: sudo apt-get install flashplugin-nonfree
  3. download the debug player from Adobe: http://download.macromedia.com/pub/f...nux_dev.tar.gz
    if they moved the file google for: flash debug player linux
  4. replace the installed shared object file /usr/lib/flashplugin-installer/libflashplayer.so with the one you downloaded.

Friday, January 28, 2011

Google Talk and Pidgin

Settings:-


Basic Tab
protocol : xmpp
domain : googlemail.com
resource : Home


Advanced Tab
Require SSL/TLS, Force old port (5222), Allow plain text .... : All Unchecked
Connect Port: 5222
Connect Server: talk.google.com
File Transfer Proxies : proxy.jabber.org

Thursday, November 4, 2010

ZTE MF 628 Unlock කර ගන්නෙ මෙහෙමයි

මගේ කලින් post එකක ඇති Huawei HSDPA modem එකක් unlock කරන හැටි

මේක මම මුලින්ම දැක්කෙ ලහිරු මල්ලිගෙ බ්ලොග් එකෙන්.
කොතනින්ද හොරකම් කලේ කියල මුලින්ම කියන්න එපැයි :)

* මුලින්ම කරන්න තියෙන්නෙ මෙතන ඔබලා මේ software එක බාගන්න.

* දැන් බාගත්තු rar file එක unzip කරගන්න. (winrar පාවිච්ච් කරල මෙක කරගන්න පුලුවන්)

* දැන් dccrap.exe file එක double click කරල open කර ගන්න.

* ඊට පස්සේ පහල රූපයේ විදියට open උනාට පස්සේ මොඩෙම් එකට වෙනත් ජාලයක සිම් පතක් දමා (උදා-Dialog එකෙන් දුන්න එකකට Mobitel එකක් දමා) USB port එකකට පල්ග් කරන්න.


ඊට පස්සේ මොඩම් එකට අදාල connection manager software එක (උදා-Dialog Manager) ධාවනය වුනොත් විතරක් ඒක close කරලා දාන්න.මොඩම් එ‍කට memory card එකක් ගහගෙන ඉන්නවනම් card එක මුලින්ම ඉවත් කරලා ඉන්නවානම් හොදයි.මොකද unlock කරන අවස්ථාවේ වෙනත් මෘදුකාංග මොඩමයට සම්බන්ධ වීම බාධාවක් නිසා.
ඊට පස්සේ රූපයේ
01 ලෙස දක්වා ඇති drop down menu එකෙන් ZTE data cards කියන ඒක select කර ගන්න.
02 ලෙස දක්වා ඇති drop down menu එකෙන් Auto Detect කියන විකල්පය select කරගන්න.
03 ලෙස දක්වා ඇති Find button එක ඔබන්න. ඉන්පසු ටික වේලාවකින් සම්බන්ධ කොට ඇති මොඩමයේ වර්ගය පහල text box එකේ සටහන් වේවි.
04 ලෙස දක්වා ඇති Unlock button එක ඔබන්න.තප්පර කිහිපයකට පසු මොඩමය සාර්ථකව unlock වූ බව පහල text box එකේ සදහන් වේවි.
පහත රුපය බලන්න



ඊට පස්සේ ඉතින් මැසිම restart කරන්න.