Tuesday, September 22, 2009

Another year.

Today I wanna write about my life rather than Linux :) I'm so happy because thanks God I got another birthday. When I think about my life, what did I do to get everything I have, I can't answer it, just I can say anything just thanks God because I have a wonderful wife with me, I have 3 beautiful kids giving me the best time I can get anytime. I am so happy to get everything I have in my life up today.

I can see behind when my first son born, it was 12 years ago, although for some people I was a 21 years old guy I was so excited because it was the most wonderful thing in my whole life, I remember these night my wife was having some hard time trying to get asleep, My mom invited us to stay these night at her house because our kid would appear anytime. When my wife told me "hey, now it's time" I was sleeping and I woke up and asked her "time of what?" you know like a genius! OMG I though the baby, I got it so we went to the hospital and I remember I couldn't stay there with her by hospital rules so I went to work as usually I did, I was calling every 15 minutes to the hospital to get some news when finally I got it I was so excited and scared at the same time, but these day afternoon when hospital allowed patients visit I remember my boss was sick and he had some kind of allergy so I couldn't visit my wife and meet my baby because we went to the doctor to know if I was clean and I couldn't be a kind of danger to my baby and my wife, finally doctor said me "ok boy you're fine" OMG I was so happy but visit hour ended, so thanks my mom she went to stay with my wife and my new son :) so finally I met my boy next day.

I can share many good experiences of my life and please believe me I'm so happy and I can't leave to give thanks to the Lord our God, because without his blessed I couldn't did anything before and thanks to him I am able to do many things today :)

Have fun.

Thursday, September 3, 2009

Slackware 13.0 It's here

Thank's so much to Pat Volkerding and all team who worked so hard to bring it next Slackware version, I'm so curious to try this new one, the realease notes says this version come with the well-tested and recently patched 2.6.29.6 kernel, but also it has the 2.6.30.5 kernel available as packages in /testing. The most relevant thing of this new one is that it has an officially 64bit realease called Slackware64, on the Slackware store it's available the DVD that is a special edition dual-sided disc with the 32-bit x86 release on one side and the 64-bit x86_64 release on the other. So I invite you to get the new slack realease and play with a stable and above all a secure Linux flavor.

Just enjoy it, Thanks again to everybody who worked hard for this new realease of Slackware!

Get the slack to the mack!.

Saturday, July 25, 2009

The Funny part of Programmers Life

Hi folks, (How many of yours should read that??) Today rather than talk about Linux I want to write about my own profession, If you don't guess it yet, I'm a software programmer who really enjoy my job, I hope you'll find funny this topic, please don't feel offended of mine, at least you'll agree with me :D. (Honestly)

When I was a kid I would love to speak some program language to did easy my childhood but were not PC at this time. Here an example what I mean. :-D

Who thinks a software programmer is a bored person or maybe you think "come on all programmers have been thinking like a world full of algorithm in their heads" for example:

The Algorithm to Have Sex

Step1 Do you wanna have Sex?

Step2 Validate question, If "yes" pass to Step 3 If not Try Again (Until YES - Loop)

Step3 Do we start to Kissing us?

Step 4 Validate question, If "yes" Delay! go to Step5 If not It's Ok just continue.

Step 5 Take off clothes (What is first?)... WHAT THE HECK!! JUST DO IT!!!! ha,ha,ha

Maybe you're thinking "Programmers look like stupid over the world", Come on guys isn't true! (almost) ha,ha,ha Just kidding :p.

Who doesn't agree with me that thanks to programmers our life it's a little easy at work, yes I know, yes you are right, I said OK, I know not always, OK sorry you are right too... You could think many of them should be fried in a big bowl but! many of us work really hard to bring you some facilities at work, although to be honest many of software users usually like to use software as an excuse to don't work saying to their chiefs "the stupid program doesn't want to do I want", but some times the big trouble it's outside the PC, you know what I mean :D

To be honest with you sometimes software doesn't work well but not so bad, and some times software works really well but users don't do it good. Please believe me I know because I saw it before. I think the thing is "Want to do something good" If we work in something (anything we do) we need to do our best. If we can do that our Environment should be a little different day by day. We can experience that people who see we are ready to do our job they should do that as well (I really hope not only in my dreams.) but getting back this topic, Software programmers we're people who love our job and always try to help systems users and obviously also our company who pays money for that. Please be patient with us, just sometimes we're under pressure we're not angry with you, thanks for you patient ;)

Next I found a joke on the net that I want to share with you, Enjoy it. Don't worry be happy.

A programmer is walking along a beach and finds a lamp. He rubs the lamp, and a genie appears. “I am the most powerful genie in the world. I can grant you any wish, but only one wish.”

The programmer pulls out a map, points to it and says, “I’d want peace in the Middle East.”

The genie responds, “Gee, I don’t know. Those people have been fighting for millenia. I can do just about anything, but this is likely beyond my limits.”

The programmer then says, “Well, I am a programmer, and my programs have lots of users. Please make all my users satisfied with my software and let them ask for sensible changes.”

At which point the genie responds, “Um, let me see that map again.”

Friday, July 24, 2009

GNOME in Slackware 12.2

Hi folks, today in "Talking about Linux" I wanna write about how to get GNOME (The name originally stood for GNU Network Object Model Environment) working under Slackware Linux.

Although nowadays it has been happening to me that some people who come to my desktop and watch my Slack box working with GNOME on it, the first thing on their minds is "Hey Is it Ubuntu?" I think to myself at least people is starting to play with Linux, but please don't confuse these things, Ubuntu it's a Linux distribution based on Debian (another Linux flavor called with this name by his creator Ian concatenating the name of his girlfriend at this time Debora who now she's his wife plus his own name) OK getting back our topic Ubuntu uses GNOME as Desktop Environment GUI (Graphics User Interface) but still it's using the Linux kernel that is an operating system. Therefore Kubuntu it's use the Ubuntu Linux Kernel + KDE, Xubuntu it's the same Ubuntu Linux Kernel + XFCE Environment Desktop. Said that I want to come back to show how to use Gnome with Slackware.

First at all I want to give thanks to GNOME SlackBuild (GSB) team (GSB a GNOME distribution for Slackware Linux ) who brings us this beautiful and useful Desktop Environment to use in our Slack Boxes. To me it's an excellent Gnome Environment to work, compared with another Linux distributions that have it by default. I can say it's an stable Desktop Environment. I installed twice before, first in my home notebook a Toshiba Satellite S2326 and a Desktop PC at work, it's an IBM ThinkCentre Pentium dual core inside.

GSB has an important warning before you start to do anything: NOTE: There is a fairly serious bug in Slackware 12.2's X.Org Server package. If you find that when you are running a GNOME desktop your X process is spiked at 100%, then you will need to use the xorg-server package supplied by GSB. It is found in the extra/ directory. Please see our Xorg Package README. In my case I experienced this trouble with my notebook which uses an ATI Xpress 200 Graphics Card. This bug isn't so bad but your processor will work at 100% so you will not work fine, but it can be fixed so easy, just go to extra/ directory (GSB 2.26) and download xorg files from there to install them with installpkg tool. In case you aren't using the default Slackware Xorg driver for your ATI, it will work fine after you restart your PC when you finnished GSB Install process, I mean using the propietary drivers that now I'm using as well.

NOTE: Please visit GSB web page if you want to ask for specific information or you want to read about this project or If you just wanted to give thanks. and don't forget I'm writing that as a guide without any warranty, you use that as your own risk.

To begin installation process I decided to do it with the slapt-get binary package. This one is the management tool used by GSB, also Slapt-get tries to emulate Debian's apt-get as closely as possible as its describe in its own web page.

Information below has been taken from GSB a GNOME distribution for Slackware Linux

slapt-get requirements: gpgme curl pkgtools

Download slapt-get for Slackware v12.2 from: <http://www.slackware.org.uk/gsb/gsb-2.26/gsb/packages/tools/slapt-get0.10.1a-i486-1gsb.tgz>.

After downloading the slapt-get binary package, you can install it
with:
$ installpkg slapt-get-0.10.1a-i486-1gsb.tgz

Although GSB recommends you will need to modify the/etc/slapt-get/slapt-getrc file to point to local mirrors of both a Slackware 12.2 mirror as well as a GNOME SlackBuild mirror, it's really not necessary because this file has configured the WORKINGDIR, EXCLUDE, SOURCE Environment variables by default, that works fine, in the opposite case you wanted to do you should edit it.

To complain with install process, GSB also recommends to do a required update, just typing:

$ slapt-get --upgrade

*Required Slackware Package Replacements for GNOME 2.26.3*

alsa-lib: ( > 1.0.19 required by pulseaudio 0.9.15, libcanberra, and
gnome-control-center)
bluez: ( > 4.2 bluez replaces bluez-utils/libs, required for gvfs
support for Bluetooth, and other GNOME 2.26 bluetooth userspace
applications)
cairo: ( > 1.8 required by Evince 2.26)
glib2: ( > 2.20 required by libgnome 2.26, gvfs 1.2.2,
nautilus 2.26, etc.)
gtk+2: ( > 2.16 required by libgnome 2.26, gvfs 1.2.2,
gnome-panel 2.26.0, etc.)
libwnck: ( > 2.26 required by Metacity 2.26, and GNOME 2.26)
pango ( > 1.24 required by newer cairo and gtk versions.)
poppler: ( > 0.10 required by newer cairo, as well as Evince 2.26)

The really good part of that is: GNOME SlackBuild (GSB as well) is designed to replace as few Slackware packages as possible, also they add to it's information "it is not possible to free ourselves wholly from replacing some packages, here are three packages that are optional and replace official Slackware packages, but their replacement are only necessary for added functionality, or for certain GNOME applications. Their replacement is recommended, but not required if you do not plan to use certain applications" Packages are: mozilla-firefox, compiz-fusion, libgsf. GSB in its web page explain what's the difference between its own packages against original slack packages.

GSB also gives some options for use with slapt-get
--upgrade
Use this to upgrade all of your currently installed packages.
--search
This is used to locate packages of interest by the package name, disk set, or version. This supports POSIX and extended regular expressions.
--install
Used to install a specified package. If the package is already installed it will be upgraded.
--list
This is used to see all the packages available from the package sources you specified inside the slapt-getrc configuration file.
--clean
This is used to remove all downloaded packages from the local cache.
--autoclean
This is used to remove packages from local cache that are no longer available on the package sources specified in the slapt-getrc file.

For a full list of available options, please consult the slapt-get manual

GSB also recommends to read the Post-Installation and Configuration Notes after you start the Installation process. But GSB specify that there are a few minor changes users may wish to make in order to get the best possible GSB system running so don't afraid if you read later.

To install a basic GNOME SlackBuild GNOME Desktop, just type:

$ slapt-get --install gsb-desktop

But I'm sure you would like to get a full installation to get the Power of GNOME, to do that run:

$ slapt-get --install gsb-complete

This operation will take a long time to complete, above all if you have a short bandwidth internet connection. When it finished to install GSB recommends that is strongly necessary that you reboot your system. But after to do that I recommend you to do some tricks to get a good benefit at the first view of your GNOME, although of course you can do that later.

Into /etc/X11/xinit by default Slackware has a link of xinitrc to xinitrc.kde, as you know the default Slackware's Session Manager is GDM (if you don't believe me check your /etc/rc.d/rc.4) so it indicates next time when you start your Slack Box GDM will be your default Session Manager as well, to me of course it's ok, but if itsn't for you then proceed to change it. So if you decide to work with GDM please go to /etc/X11/xinit and delete the link xinitrc then make a new one to xinitrc.gnome.

$ ls xinitrc -rwxr-xr-x 1 root root 516 2008-10-25 20:03 xinitrc -> xinitrc.kde $ rm xinitrc $ ln -s xinitrc.gnome xinitrc $ ls xinitrc $ lrwxrwxrwx 1 root root 13 2009-07-07 07:25 xinitrc -> xinitrc.gnome

please note that xinitrc.gnome which is the X startup script for a gnome-session with Metacity as the default window manager. At this point you will have a good start with Gnome this time. Also if you want to test or just use NetworkManager instead the default
rc.inet1 for Slackware we need to a little more (don't be afraid, it's easy ;) ).

First at all we need to go to /etc/rc.d and take off execution permissions to rc.inet1 and give them to rc.networkmanager to use only NetworkManager, note that if you use NewtworkManager and you are using wireless connection you will need to configure it when NM found internet signals available to you it means it'll not work anymore with rc.wireless.conf and wpa_supplicant.conf, also as GSB says NetworkManager and the applet install a few configuration files into the dbus system messaging system, and this daemon will need to be restarted, please do as shown below

$ ./rc.messagebus restart
$ chmod -x rc.inet1 $ chmod 755 rc.networkmanager
$ ./rc.networkmanager start

It's so important to take note that KDE (and others Desktop Environment that have not support to NetworkManager) will not have internet connection unless you'll get to work with KNetworkManager, but if not and you plan to use KDE doesn't change that or just do above in reverse mode to get to work rc.inet1 again.

If you have some troubles with PulseAudio I will show you how to fix it in next post ;) please be patient.

I really hope you can find useful this post, and you can get envolved to enjoy working with Linux, above all Slackware ;).

Que viva el pingüino!

Tuesday, July 21, 2009

Compiling Tora from Sources

Hi folks (Still I'm not sure if anyone reads me) today in talk about Linux I'm going to show you how to compile Tora mostly focused in Slackware 12.2 but also for Ubuntu 9.04 (Ubuntu as well)

Tora it's a really good tool for Developers and Administrators who work with Oracle under Linux. To start we need to download sources from here http://sourceforge.net I'm focusing in Tora 1.3.23 and previous versions, I'm testing version 2.0 without success yet.

PRE-REQUISITES
When I compile from sources I usually do that as Super User in a terminal, so for Slackware use
# su
Password:
if you are using Ubuntu use "sudo -i" to simulate initial login as super user
# sudo -i
[sudo] password for UR-USER:

For slackers we need to install QSCintilla so you should install 1.6 or 1.7 version you can download source file from http://ftp.aarnet.edu.au, uncompress it as shown below
# tar -xzvf qscintilla_1.7.1.orig.tar.gz
# cd QScintilla-1.71-gpl-1.7.1
# cd qt
# qmake qscintilla.pro
# make
# make install

To install in Ubuntu just type:
#apt-get install libqscintilla7 libqscintilla-dev
or install those files using Synaptic.

Before you do something in Ubuntu it's necessary to get basic compilers and QT development tools
# apt-get install build-essential qt3-dev-tools

In addition just for Ubuntu you should not forget to install gcc cpp and g++ packages version 4.2. if you don't do that you'll have a headache trying to compile. The good think is both 4.3 and 4.2 can be together without affect your system
# apt-get install gcc-4.2 gcc-4.2-base cpp-4.2 g++-4.2

After installing those packages you need to make a link between files in order to compile tora as shown below
# cd /usr/bin
# ln -s gcc-4.2 gcc
# ln -s cpp-4.2 cpp
# ln -s g++-4.2 g++

COMPILING TORA
In this case I'm going to compile Tora without KDE, also indicating I'm going to work with Oracle Instant Client and Installing it under /usr, so go ahead

Take your Tora source file and uncompress it
# tar -xjvf tora-1-3-end-of-life.tar.bz2
# cd tora-1-3-end-of-life
# ./configure --prefix=/usr --with-oracle=$ORACLE_HOME --with-oci-version=10G --with-instant-client --without-rpath --disable-new-check --with-qt-dir=/usr/lib/qt --without-kde --with-oracle-includes=/usr/lib/instantclient_11_1/sdk/include --with-oracle-libraries=$ORACLE_HOME --enable-libsuffix=
# make
# make install

Compile job it's done. To try your new Database administration and developer tool, open a terminal and type:
# tora

And Voilá you should be getting to work in Tora GUI



































COMMENTS:
While you are compiling sources if you get an error like that:
../ext/loki/loki-0.1.6/src/SmallObj.cpp:296: error: ‘UCHAR_MAX’ was not declared in this scope
../ext/loki/loki-0.1.6/src/SmallObj.cpp: In member function ‘bool Loki::Chunk::IsCorrupt(unsigned char, size_t, bool) const’:
../ext/loki/loki-0.1.6/src/SmallObj.cpp:428: error: ‘UCHAR_MAX’ was not declared in this scope
../ext/loki/loki-0.1.6/src/SmallObj.cpp:428: error: template argument 1 is invalid
../ext/loki/loki-0.1.6/src/SmallObj.cpp:428: error: invalid type in declaration before ‘;’ token
../ext/loki/loki-0.1.6/src/SmallObj.cpp:460: error: request for member ‘set’ in ‘foundBlocks’, which is of non-class type ‘int’
../ext/loki/loki-0.1.6/src/SmallObj.cpp:475: error: request for member ‘test’ in ‘foundBlocks’, which is of non-class type ‘int’
../ext/loki/loki-0.1.6/src/SmallObj.cpp:486: error: request for member ‘count’ in ‘foundBlocks’, which is of non-class type ‘int’
../ext/loki/loki-0.1.6/src/SmallObj.cpp: In member function ‘bool Loki::Chunk::IsBlockAvailable(void*, unsigned char, size_t) const’:
../ext/loki/loki-0.1.6/src/SmallObj.cpp:522: error: ‘UCHAR_MAX’ was not declared in this scope
../ext/loki/loki-0.1.6/src/SmallObj.cpp:522: error: template argument 1 is invalid
../ext/loki/loki-0.1.6/src/SmallObj.cpp:522: error: invalid type in declaration before ‘;’ token
../ext/loki/loki-0.1.6/src/SmallObj.cpp:527: error: request for member ‘set’ in ‘foundBlocks’, which is of non-class type ‘int’
../ext/loki/loki-0.1.6/src/SmallObj.cpp:536: error: request for member ‘test’ in ‘foundBlocks’, which is of non-class type ‘int’
make[3]: *** [tora-SmallObj.o] Error 1
make[3]: Leaving directory `/mnt/data/linux/src/tora/tora-1-3-end-of-life/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/data/linux/src/tora/tora-1-3-end-of-life/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/data/linux/src/tora/tora-1-3-end-of-life'
make: *** [all] Error 2

It usually happens thanks to your compilers version, you should read prerequisites again step by step to fix that.

Installing Oracle Instant Client 11 under LInux

Hi folks, in Talk about Linux today I'm going to show you how to Install Oracle Instant Client version 11.1.0.6.0, I really hope you'll be able to find this topic useful , this comment is focused above all to Install it in Slackware 12.2 but I'll try to describe in simple manner how to bring it to work in Fedora 11 and Ubuntu 9.04. Ok go ahead.

INSTALLING
First at all download all necessary files from oracle site relating to Instant Client, if you are interested in connect to the Database using jdbc or just type in sqlplus or you're planning to get to work Tora, you must be get all files: basic.zip, jdbc.zip, odbc.zip, sdk.zip, sqlplus.zip and tools.zip

Before you start the process I advise to you to work as root in a terminal, in case you're using Ubuntu just type: sudo -i to simulate initial login and it will work as su. So unzip every one using gzip or GUI Tool of your choice, all content should be inside the same folder ex. instantclient_11_1. Move the folder into /usr/lib ex. /usr/lib/instantclient_11_1 as root owner of course.

make a link of libclntsh.so.11.1 to libclntsh.so and libocci.so.11.1 to libocci.so inside Oracle Client directory as shown bellow
instantclient_11_1# ln -s libclntsh.so.11.1 libclntsh.so
instantclient_11_1# ln -s libocci.so.11.1 libocci.so

SETTING UP
Last part was so easy to do, now we're going to some tricks to setting up Client to getting to work
Slackware 12.2 edit /etc/profile file
Ubuntu 9.04 (Ubuntu as well) edit /etc/bash.bashrc and /etc/profile
put as you need next enviroment Variables:
export ORACLE_BASE="/usr/lib/instantclient_11_1"
export ORACLE_HOME="${ORACLE_BASE}"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ORACLE_BASE}"
export NLS_DATE_FORMAT="YYYYMMDD"
export NLS_LANG=SPANISH_AMERICA.WE8ISO8859P1
export TNS_ADMIN=/etc/oracle/
export SQLPATH="${ORACLE_BASE}"

As you see we difined TNS_ADMIN=/etc/oracle, it means we need to creat a directory under /etc called oracle, here we need to put our setting files sqlnet.ora and tnsnames.ora, it's so important you create both files if you want to get connected to an external Database
sqlnet.ora should contains this one
NAMES.DEFAULT_DOMAIN = your-domain

NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)

and tnsnames.ora should contains someting like that:
Database_Name.YOUR-DOMAIN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = YOUR-HOST)(PORT = 1521))
)
(CONNECT_DATA =
(SID = DB-SID)
)
)

To have access to SQLPLUS from anywhere you must make a link tu /usr/bin
ln -s /lib/instantclient_11_1/sqlplus /usr/bin/sqlplus

In Ubuntu it's so common when you try to run sqlplus to get the next error:
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
Just you need to Set Up correctly LD_LIBRARY_PATH, please read the setting up block above.

TESTING
to test your Oracle Client connection you can use sqlplus, if its ask for password Oracle Client has been installed correctly, if you get some error please check step by step again.

$ sqlplus

SQL*Plus: Release 11.1.0.6.0 - Production on Mar Jul 21 18:22:27 2009

Copyright (c) 1982, 2007, Oracle. All rights reserved.

Introduzca el nombre de usuario:

I really hope this topic to be helpfully for you. See you soon

Enjoy the Life, Get the Slack! to the mack.

Tuesday, June 2, 2009

¿Viejo yo?

Who me? You must be kidding! Tal como dice mi mamá "Viejos los caminos"

Resulta que cada vez que hablo con mi hijo (Pre-adolecente de 11 años) acerca de como fue mi niñez puedo ver como se agigantan sus ojos (como carictura japonesa) porque parece inconsebible la idea de no tener computadora, celular y no digamos muchos canales en la tele, honestamente me recuerda a mi viejo cuando me contaba que con una modendita de medio centavo (increible pero cierto) se podían comprar cantidades abundantes de golosinas pero como diría Don Otto Soberanis eso está más allá de la rebentazón. (de las olas del mar).

Todo ocurrió un día que mi muchacho se paró entre la tele y yo y preguntó: "papi en serio ¿vos mirabas eso?" inmediatamente pensé "¿que me habrá querido decir?" un día que estaba viendo a Simon Templar en la serie El Santo (Roger Moore The Saint) en el cable (canal TCM para quienes de pronto les interese) bueno algo tenía que responder y se me ocurrió la brillante idea de decir lo siguiente "cuando yo era niño" mi hijo inmediatamente hizo un gesto de incredulidad como pensando "mi ruko niño já, a donde iremos a parar"

Inicié contandole que en esa época acá en Guatemalasolo habían 5 canales de televisión (aunque en un inicio era solo el canal 3 pero de eso no me acuerdo mucho) en fin la programación iniciaba hasta las 3 de la tarde con programación infantil, se podía elegir entre el canal del gobierno el desaparecido canal 5 donde daban caricaturas como banner y flappy, el oso yaki y nuka y sin olvidar la canción del ejercito en la cual hasta se podía marchar mientras se cantaba ¿quien no recuerda el coro? "un soldado es un hijo un amigo un hermano, un soldado es un ser querido a quien amamos" esta canción en particular incluía todo el video donde una niña escribía una carta a su querido hermano quien estaba en la armada guatemalteca, ó Cine karate en el 7 después de las luchas con Kike breverman hasta la canción de 7 son!, poco antes de eso con la fascinación de Titanes en el ring. que por cierto que pena la que sufrí cuando Pepino se murió, ó quien no me puede decir quien no estuvo a punto de sufrir un colapso con la vida de Candy White Andrew ó Maco y no digamos Remy que lo llevó la tostada! Sin olvidar a Principe Dinosaurio, Ultra Seven y Ultra Man (Nuestra versión de Power Rangers) ó que tal Hawai Cinco cero, ó el legendario Kojak y así cualquier otra cantidad de series y caricaturas que disfrutamos en nuestra niñéz. En fin, volviendo al tema por el cual escribo esto, pude observar que mi hijo abostesaba cada vez, así que no fue nada dificil ver que será arqueólo puesto que no le interesa mucho el arte rupestre de su padre :-D

Bueno seguimos siendo unos verdaderos niños en el fondo!! aunque algunos quizá muy, pero muy en el fondo porque no se nota!!!

Thursday, May 28, 2009

Hablemos de Linux (Canon PIXMA MP190)

Hi everybody, some time ago I created my own blog account, I've never written anything before, so I've been thinking what to write about Linux and its many advantages but to be honest I was behind. Today I want to share with you (who will be interested on that) about to set up a Multifunctional Canon Pixma MP190. I'm a Slackware fan, so my comments will be oriented in that distro although of course it will work fine in Ubuntu, Fedora, Mandriva or another Linux distro. OK go ahead, Talk it about Linux!!

Set Up Canon PIXMA MP190
After that please visit the Europe Canon Site, they will provide the correct proprietary printer and scanner drivers http://software.canon-europe.com/ here you can find available software by product, next step you should select your Operating System {Linux of Course} and download the RPM or Debian Linux Printer & Scanner Drivers (Version) in my case I downloaded MP190_RPM_drivers.tar file corresponding to 3.0 version.

When you extract the content (I'm assuming you know how to do it, if not please locate ark under KDE or file-roller under Gnome or just type: tar -xvf in a terminal) it will give you 2 more compressed files: MP190_RPM_printer.tar & MP190_RPM_scangear.tar, eachone it's important if you want the multifunction works, because there are the Printer and Scanner drivers each one.

At this point you shouldn't have any trouble doing that. If you do just try to restart the process.

Extracted files - MP190_RPM_printer
OK before starting the process you should work as super user (root) using su.
the cnijfilter-common-3.00-1.i386.rpm file contains the common Canon filter and cnijfilter-mp190series-3.00-1.i386.rpm file contains the specific MP190 Series filter that after that you could set it using CUPS. But if you think come on! I don't wanna use rpm files because I use Slackware take it easy there are another file called cnijfilter-common-3.00-1.tar.gz that contains both of them, common and specific filter, just follow the instruccion inside, in each case just ./autogen.sh && make && make install (Please read the INSTALL file)

In my case I used the RPM files because they were fine to me just I typed:
rpm -i --nodeps *rpm (of course my slack 12.2 covered the dependency requirements according to ./cnijfilter-common-3.00-1/cnijfilter-common-3.00/cnijfilter/README)

to install those files under RPM based systems just type: rpm -ivh *rpm to install them or just double click over them to use the GUI Install App.

In case you are using a Debian system based you should download the deb files and type sudo dpkg -i localfile.deb or use sudo -i like su on others systems or double click over them to use the GUI Install App.

Now we have fresh drivers to install our Multifunctional Printer device using cups, I'll try to show you using the localhost:631/admin (For Slackware you should do that as root because if you do as common user when it ask for admin user to save settings it fails and doesn't matter you are typing root password correctly)

First at all select the Add Printer choice.












Next you need to write the identifier for your printer












To select the corresponding device it should appear as USB or something like that into your system, if you don't have USB access you should be part of the messagebus and plugdev groups to access USB port anytime.


Finally you could select the correct driver for your Canon PIXMA MP190












and Voilá you will have a nice printer to use.

What? what you mean? oh yes I didn't forget scanner yet, if you check now you have some new files onto /usr/local/bin {I'm asumming default install} there are two gui tools to use the Multifunctional: printuimp190 and scangearmp {the multifunction's copy option doesn't need to be connected to the pc to work} so the printuimp190 app will not be usable if we are using cups if not may be it will work.

the scangearmp app it will work in two modes, like a X App typing it or calling it from a .desktop file or my favorite from GIMP! if you ask What? I will say YES! it works fine from GIMP, as an adquire tool. Inmediatelly you select this menu it will appear the X scangear window where you can set settings in basic or advance mode to scan your own images.


















The next one image I'll show you a preview image that I took it with the Canon Scanner using the X scangear window, to give a nice picture just select scan and it will give you the image inside GIMP to work on there.

Is my pleasure to help people who is looking for this solution, In the hope to help people who needs this kind of information, if not I'm sorry, please write your comments I'll be glad to read it.
Geniusworld!
Que viva el Pingüino!