Friday, August 26, 2011

How to fix "Missing plugin error in google-chrome in linux" when open/download pdf file?



I tried to download a pdf file using google-chrome, when i do so google-chrome tries to open it in browser itself and shows the "Missing plug-in" error as shown in the following image.


The solution is as follows.

1. Open a new google-chrome brower window.

2. In address bar type "about:plugins" without quotes and hit enter. Now you will see the following details in you
r browser. The following image shows it.
3. Now click on the disable button of "MozPlugger 1.14.1 handles Quick
Time and Windows Media Player Plugin"

Thats all now you can download pdf files as like any other files, now chrome won't try to open it in browser itself, instead it prompts you to give filename for saving it.



give your comments & feedbacks, bouquets & brickbats.. that will let me give the blogposts with more and exact information needed by others. 

Thursday, August 25, 2011

ls command is your friend.. :)

How to know the inode of a file of directory:
$ls -i <- displays the innode of the file& directory in current directory
Ex:
$ ls -i
320785 a 320800 abc 320786 b 320787 c
The numbers represents the inode

How to list files sorted with modification time:
$ls -lt <- displays with time sorted manner with latest first
Ex:
$ ls -lt
total 4
-rw-r--r-- 1 hanu hanu 0 Aug 26 11:54 c.odt
drwxr-xr-x 2 hanu hanu 4096 Aug 26 11:53 empty_dir
-rw-r--r-- 1 hanu hanu 0 Aug 26 11:53 a.txt
-rw-r--r-- 1 hanu hanu 0 Aug 26 11:53 b.png

Note: if you want to reverse the output of ls add option -r
Ex:
$ ls -ltr
total 4
-rw-r--r-- 1 hanu hanu 0 Aug 26 11:53 b.png
-rw-r--r-- 1 hanu hanu 0 Aug 26 11:53 a.txt
drwxr-xr-x 2 hanu hanu 4096 Aug 26 11:53 empty_dir
-rw-r--r-- 1 hanu hanu 0 Aug 26 11:54 c.odt




Wednesday, August 24, 2011

How to initialize sound in debian based Linux?

I met with this weird problem today, No sound output from my system with any player say banshee, totem etc... But yesterday it works fine. I checked all the sound settings in volume control it seems everything is perfect, but no sound output :(. Atlast i got the solution for this. Just give the following command in the terminal as root.

#alsactl init
The above command initializes the alsa sound card driver :). So after this audio works find

My audio driver is
:~$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02)

My system's snd module details:
:~$ lsmod | grep snd
snd_hda_codec_realtek 163294 1
snd_hda_intel 16811 4
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 4054 1 snd_hda_codec
snd_pcm_oss 28671 0
snd_mixer_oss 10461 1 snd_pcm_oss
snd_pcm 47226 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 3576 0
snd_rawmidi 12513 1 snd_seq_midi
snd_seq_midi_event 3684 1 snd_seq_midi
snd_seq 35463 2 snd_seq_midi,snd_seq_midi_event
snd_timer 12258 3 snd_pcm,snd_seq
snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 34375 17 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3450 1 snd
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm

# <- Refers the root user in terminal
$ <- Refers the non-root user in terminal
Am using BOSS 4.0 Linux.

Thursday, August 11, 2011

How to import mails to/Export mails from Icedove?



1. Download the following icedove add-on(ImportExporttools) from here.

2. Configure the add-on with your icedove client, steps are as follows.
Icedove --> Tools --> Add-ons

Now you will see a window like this ->


click on install button. Navigate to the downoalded ImportExportTools.xpi file and select it.

Now you will see a window like this ->

Once the "install" button enabled then click it. Your Icedove will automatically get restarted. Now you have the an option named "ImportExportTools"
in Icedove -> Tools ->

with sub options as show in the following image ->

So, Now if you want to export(backup) mails from icedove then select
Tools -> ImportExportTools -> Export options

If you want to import mails from some other backups(other mail client, but mbox format file) then select
Tools -> ImportExportTools -> Import options

Give a go through of all the available options in the Tools -> ImportExporttools and select the one which you want. Thats all now you are able to import/export backup your mails from icedove.

Note: Am using BOSS Linux 4.0, icedove version 3.0.7