Showing posts with label Problems. Show all posts
Showing posts with label Problems. Show all posts

Error parsing XML in Google Adsense code [Solved]

0
Error parsing async src of XML in Google Adsense code

Sometimes blogspot blogger blogs show an unexpected error when blog owner tried to integrate Google Adsense codes. You may called it "async error". I could not find the actual reason behind it. Blogger and Google Adsense both are product of Google. Adding code in blogger xhtml template should be easier and hassle free. Google should make a solution for it. But alas! We have to solve it by our self.
A regular Google Adsense (asynchronous) Code looks like this
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-00000000000000", enable_page_level_ads: true }); </script>

and the error message on Blogger/Blogspot blog looks like this-
Error parsing XML, line 161, column 1: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.

The solution is suggested on the error message itself. It said
Attribute name "async" associated with an element type "script" must be followed by the ' = ' character

It means Blogger xhtml wants an equal sign (=) after the word "async"

So, the solution is easy. Just add ="async" right after async in the first line of Google Adsense code.

The original Google Adsense code should change like this way

Original adsense code:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
Chnge it to
<script async='async' src=

Error parsing XML in Google Adsense code [Solved]
Error parsing XML in Google Adsense code solved

Don't worry to do this change in Google Adsense, because it is an allowed modification of AdSense code.
Read More »

How much power remaining in full charged Laptop Battery

2
My two friends send me two screenshot took on their laptop some days ago. I installed LinuxMint 13 (Maya) on their laptop. Both of them are using Toshiba Satellite c100D laptop.
One of them shows that the fully charged battery has 4 hours 32 minutes of power to full discharge.
4 hours 32 minutes of battery power remaining at 100%
4 hours 32 minutes of battery power remaining at 100%

Another screenshot shows that 99% charged laptop battery has 3 hours 37 minutes of power.
Laptop battery has 3 hours 35 minutes remaining at 99.4 percent
Laptop battery has 3 hours 35 minutes remaining at 99.4 percent
I do not know the actual reason of this kind of different message in same type laptop and same type operating system.
Read More »

How long a fully charged battery run on laptop

0
264 hours 7 minutes remaining in 100% (full) charged battery
It is a common question that "How long a battery can run a laptop". It is Toshiba Satellite C800D and OS is Linuxmint13 (Mate). "Battery Charge Monitor" applet showing a ridicules information.
It shows that:
"System is running on battery power
264 hours 7 minutes (100%) remaining"

I am astonished! Really astonished!!
Read More »

Battery Charge different /variation in LinuxMint13

2
I have installed Linux Mint 13 (Mate) in my friends laptop (Toshiba Satellite). I put a Battery charge Monitor applet in a panel. System start with its native 'Power Management Applet'. Both tools running smoothly. But both shows some different date about battery power when laptop running in battery. I found different information from both tool. When I just pool out the power cable from the laptop body:
 1. 'Battery Charge Monitor 1.2.1' shows:
System is running on battery power. 4 hours 12 minutes (98%) remaining
    System is running on battery power. 4 hours 12 minutes (98%) remaining  in LinuxMint 13
    System is running on battery power. 4 hours 12 minutes (98%) remaining  in LinuxMint 13
2. Default 'Power Manager' shows:
 Laptop battery 3 hours 40 minutes remaining (97.9%)
Laptop battery 3 hours 40 minutes remaining (97.9%) on LinuxMint13
Laptop battery 3 hours 40 minutes remaining (97.9%) on LinuxMint13

 I am really confused. I don't know which is actual reading, which shows perfect information.
Read More »

Dictzip dependency problem in LinuxMint13xfce

0
A handy Dictionary is added in Linuxmint13xfce by default. I have tried to install local dictionary files with some offline deb files. I collect them from another computer where dictzip is installed via Synaptic package manager. That was an LinuxMint13 Mate machine. I collect all deb files from "/var/cache/apt/archives" folder. I use the famous installation command: sudo dpkg -i *

But, suddenly something goes wrong. Dictionary file installation has crashed. I think it is a version issue. So, I would like to do the same process from beginning. I know, now I have to fix the broken package. I open 'Synaptic package manager'. It shows a message, which says:
You have 2 broken packages on your system! Use the "Broken" filter to locate them.
Two broken package linuxmint13 xfce
Two broken package linuxmint13 xfce

The broken packages are shown below.
Dictzip wordnet-gui dependency problem in LinuxMint13xfce
Dictzip wordnet-gui dependency problem in LinuxMint13xfce
I tried to fix the problem taking the help of this post 'Software index is broken', but nothing solved. The messages shown in terminal look like the text below.
dpkg: dependency problems prevent configuration of dictzip:
 dictzip depends on libmaa2 (>= 1.2.0); however:
  Package libmaa2 is not installed.
dpkg: error processing dictzip (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of wordnet-gui:
 wordnet-gui depends on wordnet (= 1:3.0-22); however:
  Version of wordnet on system is 1:3.0-26.1.
dpkg: error processing wordnet-gui (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 dictzip
 wordnet-gui
W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo (10: No child processes)
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of dictzip:
 dictzip depends on libmaa2 (>= 1.2.0); however:
  Package libmaa2 is not installed.
dpkg: error processing dictzip (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wordnet-gui:
 wordnet-gui depends on wordnet (= 1:3.0-22); however:
  Version of wordnet on system is 1:3.0-26.1.
dpkg: error processing wordnet-gui (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dictzip
 wordnet-gui
I am really sorry to say that I can not figure out the problem.
Read More »

Plugin "Xfce4 Timer" unexpectedly left the panel, do you want to restart it?

3
xfce4-timer-add-new-items-plugins-panel-properties
xfce4 timer plugin in panel properties
I have installed LinuxMint 13 xfce in my friends pc some days ago. I also Install Xfce4 Goodies in this pc. But alas! My bad luck. None of any plugin works perfectly after installation. Look at the image below.
Plugin Xfce4 Timer, Network Monitor, System Load Monitor, Verve Command Line, SmartBookmark, Quicklauncher, Sensor plugin, Mount devices, Mail Watcher, Generic Monitor, Disk Performance Monitor, CPU Graph, CPU Frequency Monitor unexpectedly left the panel
It said:
Plugin "Xfce4 Timer" unexpectedly left the panel, do you want to restart it?

The plugin restarted more than once in the last 60 seconds. If you press Execute the panel will try to restart the plugin otherwise it will be permanently removed from the panel

It has only two options: 1. Execute and 2. Remove

I clicked 'Execute' several times, but same message apear every time. I did not start the plugin once more in last 60 seconds. Though same message displaying its ugly face again and again. At last I have to click on 'Remove'. I found that other plugins such 'Network Monitor', 'System Load Monitor', 'Verve Command Line', 'SmartBookmark', 'Quicklauncher', 'Sensor plugin', 'Mount devices', 'Mail Watcher', 'Generic Monitor', 'Disk Performance Monitor', 'CPU Graph', 'CPU Frequency Monitor' etc are behave in same way. None of them start normally. Each of them 'unexpectedly left the panel'.

In this moment I can not understand the problem, so I can not fix it. Sorry, for this sentence.
Read More »

Shutdown freeze stop power off on Lxde Lubuntu12.04

0
Days ago when I wrote "Ubuntu Lubuntu 12.04 Shutdown doesn't power off" post, I changed the "quiet splash acpi=force" to "quiet splash" and saved the text file. Today I have face same problem again. When I trying to shut down computer it goes freeze or hang at a stage and displayed the message:

modem-manager[4971]: Caught signal 15, shutting down...
modem-manager[4971]: modem /org/freedesktop/ModemManager/Modems/0: state changed (registered -> disabling)
modem-manager[4971]: (ttyACM0) closing serial port...
modem-manager[4971]: (ttyACM0) serial port closed
modem-manager[4971]: modem /org/freedesktop/ModemManager/Modems/0: state changed (disabling -> disabled)
[ 6457.7700631] System halted.
_
Here is the photo (taken by mobile phone) of the message:
Shutdown freeze stop power off on Lxde Lubuntu12.04
Shutdown freeze stop power off on Lxde Lubuntu12.04


I follow the same instruction and change "quiet splash"  to "quiet splash acpi=force" and saved the file. It solved my problem. My computer goes power off normally.
Read More »

Ubuntu Lubuntu 12.04 Shutdown doesn't power off [Solved]

9
I found that Ubuntu 12.04 and it's family (Lubuntu Xubuntu Kubuntu 12.04) does not power off when I Shutdown or Reboot my PC. When I press shutdown button it kills all running processes and the screen goes black but my computer doesn't power off. Machine's fans are still running and the screen is still on. It stop at the screen shows below.
Ubuntu Lubuntu Xubuntu Kubuntu 12.04 Shutdown doesn't power off screenshot
Shutdown doesn't power off 
I have to hold down the power button in order to completely shut down my PC. It seems all processes are stop working, but a blue dot under logo is still on and nothing happened afterwards.
  • sudo gedit /etc/default/grub
  • Now find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  • Change this line to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
  • Save the file and close the file. Finally, in terminal, type:
  • sudo update-grub
To implement commands you must press 'ENTER' button of your keyboard after each command. This command has been solve my problem.
Remember that at first line 'gedit' is a name of text editor. So if you are in Lubuntu change 'gedit' and write 'leafpad' to open grub configuration file. Do the same for other Linux distro.
Read More »

Disable Java on Libreoffice at Lubuntu

1
Lubuntu 12.04 is not shipped with 'Java runtime environment' (JRE) installed by default. You need to install JRE via 'Synaptic package manager' to use Java in websites or local software.
Famous office suite Libreoffice require JRE (Java Runtime Environment) to run several macros in Calc and writer. An expert user may need JRE to use some extra feature. But if you do not need JAVA then you can disable it. General uses can be done with no hasitation.
Java runtime environment required at libreoffice startup
Java runtime environment required at libreoffice startup
When you run LibreOffice first it will show the warning message that says:
Libreoffice requires a Java runtime environment (JRE) to perform this task. Please install JRE and restart LibreOffice.
Click 'OK' to go through. You may see this message at least 6 times. Every time click on 'OK' button to start LibreOffice.
Read More »

Ubuntu Lbuntu 12.04 internal error report [Solved]

0
Ubuntu 12.04, Lubuntu 12.04, Kubuntu 12.04 and Xubuntu 12.04 has been published and still now it is a big attraction to a new linux user. These newer versions has a default crash report system which called 'Apport'. If you install any of these Ubuntu family, Apport may annoy you several time. Look at the image below.
Ubuntu 12.04, Lubuntu 12.04, Kubuntu 12.04 and Xubuntu 12.04 has experience internal error
Ubuntu 12.04 has experience internal error
Apport is enabled by default in 12.04 version on every Ubuntu variant. I know you really love Ubuntu and want to help cannonical to solve this problem sending an error report. So you press on 'Continue'.
Read More »

Repair corrupted Ubuntu file system error (Solved)

0
One day suddenly you found that your Ubuntu machine is not opening. It says
GRUB loading.
error:unknown filesystem
grub rescue>
So, you should understand that your home or filesystem (root) has crashed. All thing has gone aka vanished. Don't worry friend. Here is a method to solve your problem. This command can repair a bad file system and can help you to backup valuable data.

Run with a live Ubuntu CD. When desktop appear open terminal and type:
sudo fsck.ext4 -f /dev/sda?
Replace '?' with your corrupted/ damaged partition number. It might be sda1 or sda2 or else. If your file system is ext3 then replace 'ext4' with 'ext3'. So the command may look like
sudo fsck.ext4 -f /dev/sda1
You may need to type password and press 'Y' if it require.

Sorry, to say that I have managed to repair/ restore my friends file system with this command. But my own crashed file system (Hard disk partition) did not obey this command. So do it at your own risk.
Read More »

MD5 does not match, repair corrupted ISO easily

3
After downloading a huge file you might face a horrible moment. Say, you download a linux distribution's ISO file with a download manager (using direct link) which size is 2 gb. When you try to run it or after burning it in a DVD- when you try to install it, you find that the installer does not perform your desired task. In this time what will you do? Download that ISO file again? Or think that the ISO supplier company is a cheater? Now, friend do not think this way. There is an option to repair it. Yes, it is true. You do not need to download that huge file again nor think bad about the supplier company. Lets come to know the happy method of repairing a corrupted or problematic ISO file. So, you should ask: How to repair a download corrupted ISO file? Really?

You know I have download LinuxMint13 (Mate) but it failed to run on Virtualbox. I checked it's md5 following this How to check md5sum of ISO on Linux method. I am sorry to say that md5 hash does not match with supplied number. That is both number are not same. So, I have done some Googling and found a nice and helpful way to repair my corrupted ISO file.
Read More »

LinuxMint13 (Mate) can not run on Virtualbox

0
Linux Mint 13 mate startup screenshot at virtual box
Linux Mint 13 mate startup screenshot at virtual box

Linux Mint 13 mate startup error screen shot at virtual box
Linux Mint 13 mate startup error
Linux Mint 13 has been published to download several days ago. After trying for 7 days I am able to download it with wget download manager at my Ubuntu machine. When I tried to run it in my virtual box, it failed.
It says:
Kernel panic not syncing: Attempted to kill init!... atkbd serio: Spurious ACK on iso0060/serio0. Some program might be trying acess hardware directly.

OH! what a worry!! It is (Mate version) at least 898.0 MB in size. If I need to download it again I will be die. Now, I am going to search something to repair my downloaded ISO.
Read More »

Ubuntu 12.04 Unity and HUD experience

0
I am using Ubuntu 12.04 since its release. It takes on 2.1 GB after complete install. It is really good thing about saving space.
Ubuntu 12.04 takes 2.1 GiB space on hard disk after install
Ubuntu 12.04 takes 2.1 GiB space on hard disk after install
But still after two weeks I am sorry to say that it failed to satisfy me. Here are some example to explain my pain about Ubuntu 12.04 and its Unity desktop and HUD.
Read More »

Can not create file folder on newly installed Ubuntu [Solved]

1
Just install Ubuntu 10.04 on my friends machine. I keep two more partition on her 80 GB harddisk to store various files and folders. Both of them are formated as ext3 file system. After completing install we found that there is no any option to create new file or new folder/ directory on these two partitions. Actually this kind of activity options are disabled on right click drop down menu. Look at the screen-shot below.
Can not create file folder on newly installed ubuntu. right click menu options are disabledThis is happen for permission problem. This kind of function made to ensure critical secure environment. In this situation nobody (unauthorized user) can create new file or new folder/ directory or paste anything on that ext3 partition. Normally you can write on those partitions if you login as root. It also can happen on ext4 file system too. Now if you want to write anything on this partition then you must change permission to access that drive.

Solution:
change permission using terminal and drive nameChanging permission on any specific drive or partition is very easy. Just run the command below on terminal. Before doing it don't forget to mount all of your partition.
sudo chmod -Rf 777 /media/name
Here change the red word name with the specific drive name. The drive name can be sda1 or sda2 or anything in this way/ order or you can get the drive name from the title bar or a opened window of a specific drive. Look at the image below.
Linux partition drive name or number on opened window title bar Write the drive name or number instead of red color word 'name' and press enter. You can get drive name pressing tab after the end of command media. That means type sudo chmod -Rf 777 /media/ and press tab button on keyboard. In my case after entering drive name, the whole line look like:
user@ubuntu:~$ sudo chmod -Rf 777 /media/45bd262c-2c1f-4219-a094-7ceca6313d82
Just run the command once, writing permission will change instantly. You wouldn't need to do anything again later. Oh, yes, you have to enter password to active the command.
Read More »

Can't access blogspot blog yet

0
I am still can not access my blogspot blog yet. Blogger authority should check this problem as soon as possible. They should understand that not every Bangladeshi blogspot users are criminal. Blogger should not punish all user for some coward hacker.
Read More »

Blogger blog is not open for ip problem

0
blogger blogspot blog is not openBlogger blog is not opening normally.
For somedays my Netgator.blogspot.com blog is not opening. I am using Grameen Phone mobile broadband internet service. When I found that my blog is not open then I tried to launch another blogger blog. Result is same. Any blogspot blog failed to open from my side. I tried Hidemyass.com and understand that it is a ip problem. Blogger authority might find any illegal operation caused from Grameen phone ip (internet protocol) address, so they blocked it. For this security issue I am facing this kind of problem
blogger blogspot blog open with hidemyass proxyblogger blog open with the help of hidemyass.com proxy
I think blogger authority should understand that all of their user from Bangladesh is not criminal.
Read More »

"sudo: timestamp too far in the future" fixing method

0
"sudo: timestamp too far in the future" fixing method
If you ever see this error which telling you the line below:-
"sudo: timestamp too far in the future"

Then run a simple command in 'Terminal' found on Accessories menu
sudo -k

You have to enter password to solve . It is a bug on time settings (time-stamp issue) on your machine. After running the command above change the time as your desire. This command will work on various debian based Linux Operating System. Check it out by yourself.
Read More »

Windows button left to right on Ubuntu

1
Windows buttons are now on left side since Ubuntu 10.04. Some people do not like it. They have habit to click on close, minimize, maximize buttons on top right side of a opened window. But Ubuntu developers think in a different thing. They are going to add various item on top right side of a opened window. So they change position of that buttons to left side. Many of the computer user (Windows operating system user) feel easy to see them on top right side.

But, my thinking is different. I feel that it is a habitual thing. It took some days to grow a newer habit. Now I feel easy to the minimize, maximize, restore, close buttons on left side. I am facing an another type of problem. When I change the theme then window buttons position got changed and go to right side. I want to bring back them on left side.

Todays post is on this issue. Now we will learn how to change positon of windows buttons (close, minimize, maximize, restore) from right to left or left to right.

Here is the solution:
Press Alt+F2. A 'Run Application' dialogue box will open.
gconf-editor-run-dialaugebox.pnggconf editor run dialogue box
Type 'gconf-editor' on text area, Press Run.
configuration-editor-gconfconfiguration editor
After opening the 'Configuration Editor', directly go to 'apps > metacity > general'
Look at right side text/ configuration area.
Point to 'button_layout'
Double click on that text (button_layout). An 'Edit Key' dialogue will open.

edit-key dialogue boxEdit Key dialogue box
Change position of the buttons on 'Value' area and press OK. Before click OK, you can add a 'Menu' button on the windows area (If it is not exist in newer theme).

You've done. View effect on any opened window's title bar. 'Close, Minimize, Maximize' buttons has changed their position (as you wrote).
Read More »

We're taking it very seriously

0
Swept area of north Japan after huge tsunamy march 11Swept area of north Japan (Image source)
North side of Japan swept by a powerful tsunami after a giant earthquake magnitude 8.9. This is a huge earthquake I have every know.
News says:
Up to 300 bodies are found on a beach in the port city of Sendai
Cars, ships and buildings were swept away by a wall of water after the 8.9-magnitude quake, which struck about 400km (250 miles) north-east of Tokyo.
No, I can't say anymore. Google search can explore more.

Minutes ago US president Barak Obama said in his speech that:
"We're taking it very seriously"
Yes, it is a very serious natural disaster which can devastate civilization in seconds.
Read More »