Refill and Reset the Canon MP150 Printer

19 11 2008


Canon MP150

Canon MP150



In my humble opinion, the Canon MP150 is the best printer available. If I were to enumerate the reasons, I would list them as:

1) The Canon MP150 is easy to refill

2) Its cartridges are easily available (At least in Mauritius, 2008)

3) No hassles, it prints flawlessly (unlike HP,Epson)

4) The printer can be reset via a series of button presses. (unlike HP,Epson. Some Epson users were so frustrated that an Epson reset utility had to be created. However, it supports only some select models. I am deeply sorry they do not own a Canon MP150) See below for more details how to reset the MP150.

5) The Canon CL-41 cartridge for the MP150 is just an ink tank. Unlike most Epson and HP (and some Lexmark) cartridges which have and embedded chip, the Canon ink tank is easy to refill. A chip on a cartridge is normally used by the manufacturer to ensure that the customer uses only genuine ink. Also, when an attempt to refill the cartridge is detected, the printer posts a message on the screen informing the user that his/her warranty is void. These tactics are usually for commercial ends to ensure that the company continues to earn money from accessories and replacement cartridges.

6) Its just..a Canon.


Since now, I have noticed only one downside from the Canon MP150. It will refuse to print in grayscale when the colour cartridge has been removed, even though you choose Print Black only from the Canon Preferences/Maintenance Tab. I have searched for any possible hack to force the apparatus to print in black, but in vain.

How to reset the Canon MP150 after a refill (Step 10 concerns refill; instructions below the steps):

Method1 (Safe Factory Method):

1) Disconnect the printer’s power outlet 

2) Press and hold the power button while connecting the power outlet back.
3) While still holding down the power button, press the reset button twice.(red circle with a triangle) 

4) Release the power button 

    The printer takes about 10 seconds to show the number 0. 

5) Press + to change the value from 0 to 1. 
6) When this value is 1, press colour button; this will light up two leds.

    One is for plain paper and the other for photo paper. At this point is feed the printer with paper. 
7) Press the power button, the color button then the Reset button in order. The Canon will print some stripped lines and some numbers and letters ( all black if colored ink is empty).

When you print this sheet the value in the display returns to zero.
8 ) Open the printer cover cover (not the scanner cover) and remove the cartridges. With the printer still open, disconnect the power outlet.
9) Close the lid, re-connect the printer to the power outlet and turn on the printer. 
10) Refill cartridges and place them back in their nice little abode in the printer.

Method2 (Use at you own risk – Hardware Manipulation):

This method works in Factory Mode. I have not personally tested it because I do not wish to void my warranty by reverse engineering my printer hardware. Nevertheless, if you have a stock of printers in the back of your garage and wish to experiment, give it a try. See below for instructions how to set the MP150 to Factory Mode.

Upgrade to the latest MP150 Driver (version1.10) and download MPTool 0.9.6 here (Driver+Tool). This little software supports Pixma models MP150, MP160, MP170, MP180, MP450, MP460. MP150, MP160, MP170, MP180, MP450, MP460.

MPTool Reset

MPTool Reset



* Expanded information on the level of ink in the cartridge and containers for the waste of ink.
* Reading, recording and reset the printer EEPROM.
* Reset counters level for black and coloured ink cartridges.
* Clear the counters occupancy “core” and “supplementary” containers for the waste of ink.

Ink Level – shows the level of occupancy ink:
BK – black cartridge.
CY – colored ink cartridge Cyan.
MG – colored Magenta ink cartridge.
YL – Yellow colored ink cartridge.
WM – “core” container for the waste of ink.
WP – “additional” container for the waste of ink.
Port Name – displays the name of the printer port on the system.More info: here

Setting the MP150 to Factory Mode:
1) Turn off the printer on the network.
2) Click and hold power button.
3) Add a printer to the network.
4) Press cancel / resume printing.
5) Drop button. (If the system reports the discovery of “new device”, install the printer driver; after the installation is complete name the new printer as “Canon MPXXX Factory Mode”).

How to refill? Check this picture:


How to refill the Canon MP150
How to refill the Canon MP150

For best results, wait 8 hours so that the ink settles to the ink head.

I hope this helps to make this world printer friendly. If this articles has made you less frustrated today, post a comment.

Corrected Method 1, Step 7. Thanks to Jun dela Cruz (Philippines) for the update.

Any questions?

How to hide the RealVNC Tray Icon.

10 08 2008
RealVNC No Tray Icon

RealVNC No Tray Icon

RealVNC has become popular not only for its appealing user interface, but also because of its faultless, swift and fast connection between the host and the client. There are notable contenders boasting the same powerful features and some of such software are UltraVNC, TightVNC, TridiaVNC, just to name a few. However, in my humble opinion, RealVNC seems to be most popular. I am still perplexed and confused how people tend to think that paid software is best. RealVNC is not free (at least, the Enterprise version), while the other software stated above are.

I would appreciate if you could post, as a comment below, why you prefer RealVNC to other free software.

I remained loyal to RealVNC because it was the first Virtual Network Computing tool I tried. I got so used to its interface that using another brand would be like starting to left-hand drive when you are used to right-hand driving. Nevertheless, the major reason unlies the interface. RealVNC has basic and advanced interfaces which greatly boost your speed at handling commands. Meddle with the software a little, and you will realise how swift you can be at switching into view mode (no inputs) to ‘admin mode’ (with full inputs).

Now, coming to the crux of this article, how do you hide the tray icon. I understand that all the people viewing this piece of text use RealVNC to monitor other people. Lets be realist. If it were for you own purpose, a tray icon would not bother you at all, just like the time and the audio icon do not.

RealVNC 3 has a parameter, from the registry, that could hide its trayicon. This feature was discontinued in RealVNC 4 because the developers realised that people purchased (?) their software for ulterior motives other than remote support. I personally consider RealVNC the most stable vnc tool, which can be easily deployed, twisted and modified to be stealth, except for one stumble block – the mouse flickering.

This is a nuisance – and the RealVNC developers say that they introduced the mouse flickering to notify people that their computers were being monitored. I haven’t yet delved into that problem, but I believe there is a way to prevent the mouse from flickering by changing some offset bytes in the binary file. Definitely, there are many ways and I would leave that hack for the diligent people who have a lot of time to reverse engineer this software. I could,  but I don’t have much time to do all this.

I have provided a modified RealVNC Enterprise 4.4.2 server executable that you will need to overwrite in your RealVNC setup folder.


The archive contains the winvnc4.exe server file and the standalone realvnc viewer, which is useful to carry around without having to perform a setup.


Shut down RealVNC completely by right-clicking on the trayicon and choosing Stop server. Then ensure winvnc4.exe is not running from the task manager (alt-ctrl-delete).

Step 2:

Overwrite the original executable with mine.


Issue start>run> services.msc

This will load all the services running on your computer. Scroll down to ‘VNC Server Version 4′. Right-Click>Properties>Startup Type:Automatic > Service Status:Started.


You should be done right now. Restart your computer and RealVNC will run in stealth mode – except for the mouse flickering. I use the old realVNC 3 just because of this problem. I have hacked the core completely and made the version 3 totally stealth, and use the viewer from version RealVNC 4, which is standalone.

Any questions?

How to enable MP3 in rhythmbox for Fedora 8?

16 02 2008
How to enable MP3 in rhythmbox for Fedora 8?

Hello again,

After a long while struggling to get a decent mp3 player for my linux machine, I came across a simple way to enable MP3 on rhythmbox, which comes with the Fedora 8 DVD. Unfortunately, Fedora’s Rhythmbox does not come with a nice menu function ‘Install MP3 GStreamer’ like in Ubuntu. To go round this, we will have to do it manually. Here are the steps:


Install the GStreamer repository which is provided by Livna. GStreamer is the plugin that will enable Rythmbox to decode MP3 files. A repository is like a gigantic web storage space for linux installation files. Well, don’t worry much about this.
yum -y install yum-priorities
vi /etc/yum/pluginconf.d/priorities.conf

Step 2:

You will need to edit this file. Now that you have already opened the file in the VI editor, type ‘i’ to enter edit mode. You should see -INSERT- in bold at the bottom of the terminal window. Move your cursor to the end of the text, and add this line:

check_obsoletes = 1

Now, press ‘Esc’, then save the file (Shift+ZZ). Ensure that the file is properly edited by opening it again in VI. It should look like this:
enabled = 1
check_obsoletes = 1

To quit VI without editing, press ‘Esc’ then type ‘:q!’ , without quotes.


rpm -Uvh
rpm -Uvh

Ensure you have installed yum-priorites from step 1 to avoid errors
Step 4:

Install the GStreamer Plugin, finally..
yum install gstreamer-plugins-ugly
Say yes to all the question is asks you. You should be done.

Any problems, just post them below, I will try to help you and together we can find a solution. If it worked for you, do come back and post some comments and if you have suggestions how I can improve this article , let me know.


How do I make all my folders open in the same window, in Nautilus?

16 02 2008

If you want to set the file manager so that it doesn’t open a new window for each folder, you can follow these steps:

  1. Double-click on the “Computer” icon on your desktop.
  2. Go to the “Edit” menu and choose “Preferences.”
  3. Click on the “Behavior” tab.
  4. Put a check in the box marked “Always open in browser windows.”


How-to disable Touchpad on Linux

17 11 2007

Disable Touchpad on Fedora 7 - coded by Shailen Sobhee

This method had been tested on Fedora 7, but I suppose that it should also work on other widely supported Linux’es like Red Had Enterprise, Suse, Mandrake.


The touchpad is indeed a useful tool but sometimes it can be inadvertently irritating. I haven’t figured out why laptop designers haven’t considered this problem and placed the touchpad a bit further away or re-engineered it such that when the keyboard is in use,the touchpad is momentarily turned off.

In any case, last week was almost the last drop out that overflowed the pot. I was busy having an interesting conversation with my girlfriend and all the time, the cursor would jump off Pidgin(a chat client that supports various protocols,including googletalk and msn).

I decided to search the net for a means to disable the touchpad when linux detects a mouse and found one method but didn’t work. In addition, the tutorial was for the old FC4 and probably didn’t support F7 anymore. However, I love Fedora too much to reboot into windows and chat on MSN there, with the synaptics touchpad driver for windows disabled.

This is the simplest workaround for this problem, so without digressing too much from you attention, here you are:


Edit your Xorg.conf file.

vi /etc/X11/xorg.conf

Look for the “InputDevice” Section and add the line below before “End Section”. To enter in edit mode, type the letter ‘i’. You should see –INSERT in bold at the bottom of the terminal. To save and quit, hold Shift+ZZ

Option "SHMConfig" "on"

On my laptop, it looks like this: (Yours may be slightly different, but the major parts, like Driver “synaptics” are the same.)

Section “InputDevice”
Identifier “Synaptics”
Driver “synaptics”
Option “Device” “/dev/input/mice”
Option “Protocol” “auto-dev”
Option “Emulate3Buttons” “yes”
Option “SHMConfig” “on”

Now, please be careful. WordPress has a relatively poor article-edit interface, so you can’t manage your text properly. Notice the quotes (“) on the words: “SHMConfig” “on” .Just don’t copy paste that line there. Ensure that the quotes are the same as the quotes on the other words. Linux requires that the quotes are the same. If you happen to paste that line in the xorg.conf file, check carefully that the quotes do not look different from others. However, if you are typing the line there, type it exactly as it appears here, as linux is case-sensitive.


Download the touchpad scripts I have coded.

Copy the touchpad.tar.gz file in a folder, cd into the folder (Ex: cd /home/your_name/Desktop/) and extract the scripts:

tar -xzf touchpad.tar.gz

Copy the file touchpad in the filesystem directory. To do that, go into the directory you have just extracted the script and,

cp -apv touchpad /


Bookmark/save/print this page and reboot your computer. This is the best method to reload X. However, you can still restart X from the console, but I don’t recommend this.


When you come back to your computer, you can disable the touchpad by issuing the command below. However, before you can do this, you have to set executable properties to the script. This can be done by issuing :

chmod +x /touchpad

Then to disable the touchpad,

/touchpad stop

To start it again, simply type:

/touchpad start

The status function is an added feature I have included for step5, but it is obviously not needed here, because you can test it trying the touchpad.

Step6: (RPM based machines only like Fedora, RedHat Enterprise..but can be re-engineered for Ubuntu)

You have actually succeeded in deploying the scripts. However, if it is a tedious task to always disable the touchpad each time you boot, you can use my second script called touchpadboot. Again, go into the folder you have extracted the scripts.
cp -apv /touchpadboot /etc/init.d/touchpadboot
chmod +x /etc/init.d/touchpadboot
/sbin/chkconfig --add /etc/init.d/touchpadboot

Note: There are two hyphens before the command add, after chkconfig. (/sbin/chkconfig – -add … (there is no space between the hyphens though). WordPress tends to obfuscate text, and it is an incredible feat to post a neat, well formatted blog text. I wonder what tool the wordpress engineers use to post their articles-it is definitely not the common online wordpress editor or else they would know their editor is ludicrously weak.


That’s it, your computer will always start with touchpad disabled. Note that it will hence be mandatory to move around with your mouse. You can still enable the touchpad by issuing the ‘/touchpad start’ command. I will recommend to set a shortcut key to launch a terminal (Fedora7: System>Preferences>Personal>Keyboard Shortcuts).

Updates: 01 March 2008 : Updated the touchpad scripts.
Added a note about pasting code in the xorg.conf file, regarding quotes.
Changed the article a little for beginners to understand.
Tested scripts on Fedora 8 – Works perfectly.

Thanks Hsieg , Jso, Joe Rogers and James Redpath for pointing out the bugs i’ve left in the old article.

Running Microsoft Office 2003 on Fedora 7

21 10 2007


Here I am back, with what I have learnt out of using my highly tuned Fedora 7 machine. I feel so excited today after trying out some really cool manoeuvres and getting positive results. Of course, Linux is fun to work with (especially when you have to resolve dependencies manually, browsing repositories, etc..well, I assume that you have a good bandwidth and no work to do:))

Open Office is good, but it is a fact that it isn’t as good as Microsoft Office 2003 (and the gap is wider for 2007). I’ve heard about the commercial Star Office but in my honest opinion, Microsoft Office still forges ahead in the list. Well, today, I managed to “complete” my modest Acer TravelMate 2350 running a 1.2Ghz Celeron Processor with only 256MB Ram. However, thanks to fedora’s powerful memory management, I was able to run my Opera Browser (with 10+ tabs open) together with Microsoft Excel and Microsoft Word 2003 at the same time.

This is what I did: (Follow all the steps carefully, and you won’t have any problems!! – my bet)

Wine Configuration2 for Microsoft Office 2003 on Fedora by Shailen Sobhee

Notice that Word, Excel and Powerpoint will work. I have tried MsAccess but that won’t launch because Access initialises some Database conenctions with system files which are inexistent in the Wine environment. In any case, Microsoft Access is useless, as well as Microsoft Outlook.


Get wine-core-0.9.36-2.fc7.i386.rpm and install it:

rpm -ivh  wine-core-0.9.36-2.fc7.i386.rpm


Configure Wine:

Applications>Wine>Wine Configuration (or winecfg in a Terminal).

Under Applications Tab in the Configuration Window, Choose “Windows XP”

Under Libraries Tab,  add riched20 and riched32 from the “New override for library” drop-down list.

(If msxml3 isn’t in the list,don’t panic, you will see it later.):

Wine Configuration for Microsoft Office 2003 on Fedora by Shailen Sobhee

You may wish to check the other Tabs (and check your audio and video settings- but these are not overly

important right now.)


Download and Install  Microsoft XML Parser (MSXML):

msiexec /i msxml3.msi

Run the Wine Configuration and add msxml3 to the library list (check step2)


Set the Owner and Organization of your Wine installation:

Applications>Wine> regedit (or regedit in a Terminal).

Modify Owner and Organization in:

[Software\\Microsoft\\Windows NT\\CurrentVersion]


Mount your Office 2003 CD-Rom:

(The option -o unhide avoids having problems with hidden files during installation.)

mkdir /mnt/Office2003
mount -t iso9660 -o unhide /dev/cdrom /mnt/Office2003

Start the Microsoft Office 2003 Professional setup (I hope you have your key-generator or serial.txt ready;))

cd /mnt/Office2003wine setup.exe

You should be done by now. (Post any comments if you experienced any difficulty- This article

fully supports Fedora 7 and RedHat users. I don’t usually talk about debian, especially Ubuntu because it simply won’t word on my machine- And Ubuntu has some serious unresolved graphics



Try opening Microsoft Word 2003:

cd /home/shailen/.wine/drive_c/Program\ Files/Microsoft\ Office/OFFICE11

You may wish to create Fedora Launchers for these applications.

Hope that worked for someone..

By the way, I heard that some people have to Activate Office 2003. If you encounter this, I guess you know what you have to do..

By Shailen Sobhee,

Serving the Open-Source world, yet again..

How-to Dual Boot Ubuntu 8.04 Hardy Heron and Windows (NT/XP/Vista)

20 10 2007

Step one:

Say you have a 40GB hard drive. Install Windows choosing 20GB (or greater, but keep at least 10 GB for ubuntu). I am not giving screen-shots for the Windows installation, because i guess that everyone knows about that. The setup procedures are well explained there anyway, but if you have any problems, post a comment, I shall edit this article.

Step 2:

Windows is installed. Now boot on your Ubuntu 8.04 CD in Live CD mode and launch the install icon that is displayed on the desktop.

dual boot Ubuntu and windows


Enter your Time Zone settings:

dual boot Ubuntu Gutsy Gibbon 7.10 and windows XP

Then, your Keyboard Layout settings:

dual boot Ubuntu Gutsy Gibbon 7.10 and windows XP

Step 4:

This is the most important part. I will discuss the manual partitioning to avoid dramatic, irreversible cases where you lose everything in your other partitions. So, choose manual partition in the list:

(Note: The rest of the tutorial refers to Manual partitioning.)

dual boot Ubuntu Gutsy Gibbon 7.10 and windows XP

Step 5:

Create three partitions out of the<i>free space</i> you can see.

Dual Booting Ubuntu 7.10 Gutsy Gibbon and Windows (NT/XP/Vista)

One will be swap (set it to 512mb-this is more than enough)

The other one is a small ext3 partition (put it 50Megs) and mount it to /boot (Very important to do that!!)

Then the rest will be all the free space available; use ext3 as file-system and mount it to ‘/’

Step 6:

Proceed with the installation as you would normally. The most difficult part has been done. On reboot, you will notice a nice and beautiful Boot list.

Post comments if that helped you. This article will keep updating.

TJ- Helping the Free community yet again – Use Fedora..


Added a screenshot of the manual partition window.

Article now focusses on dual booting Ubuntu Hardu Heron

Mount NTFS in Read-Write Mode on Fedora 7

7 10 2007


Note: Feel free to ask questions; I’m here to help and learn..

Today I feel so excited after writing my first boot script for my new Fedora 7 (Moonshine). The script is simple and all it does is mount Windows NTFS File systems on startup so that you can access and write your windows partition while using your linux.

So far, it was impossible to write to NTFS (because of some highly despised copyright issues from..euhh..ok)

With my workaround, you will be able to:

1) Boot on your linux machine and use it as usual,
2) Access and write your NTFS partition (containing Windows XP/Vista),
3) Worry not about mouting procedures.

All, you have to do is read carefully my artcle, follow it step-by-step, and sit back and relax.

I know, prereqs aren’t nice when all the simple steps are just below. Anyway, pass this test first and you are all done. However, don’t worry about googling for the prereq tools; they are all here:

Fedora 7 Moonshine Packages

Redhat Enterprise Linux 5 Packages

(Sorry for using; I lack sponsorship -_-’ )

You need:
1) Fuse (a software that interacts with the userspace)
2) the ntfs-3g fuse plug-in.


Create a folder. You will access that folder in linux just like you type C:/ in windows to list the contents of wherever Windows and its Documents and Settings etc are located.

mkdir /mnt/windows

Extract the fuse_complete.fc7.tar.gz file to /opt/temp. Go into the directory where you have save the file (suppose it is on the Desktop, do a cd /home/myname/Desktop). Then, issue these commands:

mkdir /opt/temp
tar -xzf fuse_complete.fc7.tar.gz /opt/temp

Install fuse and ntfs-3g

cd /opt/temp
rpm -Uvh * --force --nodeps


Now that you have installed Fuse and the NTFS plug-in, you have to configure Fedora such that it mounts the NTFS partition on each boot. The procedure is simple. I have written a simple script to do that:

# Created by Shailen Sobhee
# chkconfig: 012345 99 02
# description: Mounts NTFS on startup

case $1 in

echo “Mounting Pirated Windows XP NTFS Filesystem to /mnt/windows”
mount /dev/sda1 /mnt/windows


#End of boot script

The script is called mntntfs and its located in /opt/temp. To allow Fedora to use the boot script, you have to copy it in the /etc/rc.d/init.d folder and run the following commands:

cp /opt/temp/mntntfs /etc/rc.d/init.d
cd /etc/rc.d/init.d
/sbin/chkconfig --add mntntfs
chmod +x mntntfs


That’s it!! Reboot and check if fuse-ntfs works. Go to /mnt/windows to see if your windows has loaded.


If the folder has not been mounted, then you are probably using another medium, other that ‘sda1′ that I used in my script. In that case, you will have to check that manually:

Try one of these, while checking on another terminal screen if /mnt/windows has been mounted.

mount /dev/sda /mnt/windows

mount /dev/sda2 /mnt/windows

mount /dev/hda /mnt/windows

mount /dev/hda1 /mnt/windows

mount /dev/hda2 /mnt/windows

Try other combinations of mediums (sda,hda) to check your NTFS partition medium.

Do the necessary modification in the script:

vi /etc/rc.d/init.d/mntntfs

Have Fun!

And don’t forget to post your comments, so I can improve on this article. Thanks.

Shailen, serving the Open Source World, yet again..

To do: The Newbies’ Guide to NTFS for Linux (Jeff’s recommendation)


3 Nov 2007: Minor code modifications/optimisations.

10 Nov 2007: Minor article update /improved explanations.


Get every new post delivered to your Inbox.