Problem installing flash player
Recently, I installed ubuntu updates and my browser asked me for flash player, which was previously installed. i tried to install using the regular command
sudo apt-get install flashplugin-installer
But, it says
flashplugin-installer is already the newest version
Finally, I found the workaround. Previous installation has to removed first (which anyway is not working)
Run the following commands :
sudo apt-get purge flashplugin-installer
sudo apt-get install flashplugin-installer
Viola!! It works now.
Failure [INSTALL_FAILED_UID_CHANGED]

Today, I tried to install an application from command line and I found this error:
Failure [INSTALL_FAILED_UID_CHANGED]
After Googling for a while, I found the reason.
This happens when there is application data from older version is still present. To resolve this, clear/delete the following directory:
/data/data/<PACKAGE_NAME>
To do this, open terminal and type the following commands:
adb shell
cd /data/data/
rm -r <PACKAGE_NAME>
exit
Now try to install the application.
Viola.
localhost
By default, localhost (127.0.0.1) points to /var/www/ directory in Ubuntu. I prefer the location to be in my home directory.
To change the default location, open the file:
/etc/apache2/sites-available/000-default.conf
 and change it to look as follows:
(My wokspace is located at /home/chaithanya/www)

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /home/chaithanya/www

        <Directory /home/chaithanya/www/>
                Options Indexes FollowSymLinks
                AllowOverride All
                Require all granted
        </Directory>
        ErrorLog /var/log/apache2/error.log
        CustomLog /var/log/apache2/access.log common
</VirtualHost>
Note: This works for Ubuntu 13.10+
Ubuntu: Install with video drivers disabled
When I tried to install Ubuntu 12.04 on my PC, it halted with 4/5 dots under Ubuntu. It's stuck at that point and no progress. Sometimes you may see some distorted image or white screen. All these problems are due to incompatible video drivers.

To get pass behind this screen and boot into the system, hold down SHIFT button while booting from CD/USB and press F6. Now select "nomodeset" option to prevent video drivers from loading.

Now you can install Ubuntu successfully. But you may face the problem again while booting (after installation). Then boot in "Recovery Mode" and install graphics drivers from GRUB menu or command line.
Ubuntu: rSync without git subdirectory
Previously I blogged about a good backup/sync tool rSync.

While using it, I faced some problems. It replaced my .git repository and there by affected my git repo settings.
I found a way to exclude sync'ing some files/folders. For this we have to use --exclude option. To exclude git sub-directory:
rsync -a --exclude='.git/'
 And to include some specific files, (Eg: 'c' files)
rsync -a --include='*.c/'

Source
Access a usb flash drive from the terminal

 

 

1. Find what the drive is called

You'll need to know what the drive is called to mount it. To do that fire off:
sudo fdisk -l
You're looking for a partition that should look something like: /dev/sdb1. Remember what it's called.

2. Create a mount point

Create a new directory in /media so you can mount the drive onto the filesystem:
sudo  mkdir /media/usb

3. Mount!

sudo mount /dev/sdb1 /media/usb
When you're done, just fire off:
sudo umount /media/usb


Source: StackOverflow
Some Useful Firefox Add-ons
Following are some of my favourite firefox add-ons
1. DoNotTrackMe
Protect your privacy. Stop companies and advertisers from tracking your browsing and sending you spam email.
2. AdBlock Plus
 Blocks annoying video ads on YouTube, Facebook ads, banners and much more. Adblock Plus blocks all annoying ads, and supports websites by not blocking unobtrusive ads by default (configurable).
3. BugMeNot
Tired of creating multiple accounts on various websites, bypass compulsory web registration with the context menu via www.bugmenot.com.
bugmenot

4. DownThemAll
The first and only download manager/accelerator built inside Firefox!

downthemall

5. Flash Video Downloader
Flash Video Downloader helps you to download any video (flv, mp4, HD) from YouTube-like, Facebook, Break, Metacafe and more in one click. You can download mp3, music (iPod), avi and more. Download Flash games. Download Helper.

Popular Labels

Featured Post (TOP)

Flickr Images

Follow Me on Facebook.com

Follow on Google+

Recent Posts

AD (728x60)

Pages

Powered by Blogger.

Labels

Followers

Popular Posts

Popular Posts

Subscribe Via Email

Sign up for our newsletter, and well send you news and tutorials on web design, coding, business, and more! You'll also receive these great gifts: