Installing Lexmark Printer 2600 Series on Linux

In this tutorial I will show how to install the Lexmark printers 2600 series. In my case I have one printer model x2695 and it is up and running on Ubuntu 9.04, even the scan feature. Looks like there is a lack of information about Lexmark drivers, even in the OpenPrinting project the 2690 series is tagged as “Paperweight”.

First download the driver here, or in this backup link. Extract it and, on the terminal, type


Now you will be guided by screens to …

… the error that happened in the last screen, “The installer package is not supported by your system. Installer will exit.”. In order to know where this message came from, and to try to understand what happened I needed to check the source of the installer. In order to do that I needed to go to the terminal and type:

./ --noexec --target lexmark

It created a folder called lexmark containing the source of the installer. There I found the run.lua file that was the source the message that was displayed in the error. As soon as I analysed the code in this script, I changed a piece of it:

vim /lexmark/config/run.lua

on the line 16 from

g_usetar = false


g_usetar = true

So, I needed to run the installer again but using the changed file:

cd lexmark

Now the instalation was finished succesfully, and I could even use XSane to scan documents. You can find here the output from the succesful installation because maybe it can gives you some insights if your installation was not fine. Now, in my printers configuration screen I have two 2600 printers, one created by the installer, and another created when the system found the printer right after the driver was installed:

Well, I had not even one printer working, now I have two :¬)


Installing Latex Packages in Linux

Install LaTeX packages in Linux is quite simple. Lemme say we want to install the package called booktabs. So you have to:

  • Download the .zip
  • Extract its content somewhere (for example ~/booktabs)
  • Enter in /booktabs directory, and generate the .sty file trough the command latex booktabs.ins
  • Copy the just generated file booktabs.sty to /usr/share/texmf-tetex/tex/latex/booktabs (if you are using tetex), or to /usr/share/texmf-texlive/tex/latex/booktabs (if you are using texlive). Probably you have to create the “booktabs” directory.
  • It is necessary to “tell” to LaTeX that you just installed a new package, just enter this command sudo mktexlsr in the console.
  • In your .tex file, just add \usepackage{booktabs}

and voilà.

[Versão em Português]

[Ubuntu] Moving from web-applications to client-application

Hi fellows,

I’ve been using a web browser for most of my online activities (gmail, webmail,
google calendar, google reader, web-gtalk, twitter/facebook/buzz, grooveshark/last-fm),
which turns you dependent of the application. I’m backing now to use clients for theses
tasks, getting more advantage from Ubuntu indicator-applet (gwibber, evolution, empathy,
liferea, rhythmbox), which integrates mosty of theses services in a single notifier.

Following a screenshot of a indicator applet with Liferea:

Indicator applet

Evolution, as well as thunderbird, has digital signature/criptography feature
(you can tak a 30-day certification from CertSign). It also groups messagens from
the same thread. It still does not have an option to minimize to systray (this
feature run away a little from gnome standard), then I leave it open in another workspace.

Buzz’API is not not working for receive messages, just for send. In the next
versions they will probably solve it.

Liferea does not come with Ubuntu. It has flash support to view embeeded youtube
and has its own browser to open url inside it. You can install it from apt-get

sudo-apt get install liferea

Following q preview of Liferea:

Liferea preview

See ya!

CheckGmail cannot authenticate

Every time a new message arrives in my gmail inbox and I try to open it using checkgmail notifier it was asking me the login/password. It can not authenticate myself in the gmail server. The turnaround to it is:

checkgmail -update

Read more:
1. Plagued with CheckGmail incorrect usernamr or password error in Debian Ubuntu

See ya

Quick search with beagle+deskbar-applet (like Mac spotlight)

The search mechanism which comes with Ubuntu works, but, since it is not indexed it takes some time. A useful tool that provide an indexed scan in hard disk is Beagle. You can install it using apt-get tools, add it to you desktop panel and perform searches pressing F12.

sudo apt-get install beagle

However, despite it be more efficient than Ubuntu standard search, it does not provide a dynamic search, such Google Desktop and Mac Spotlight. For it you should install deskbar-applet and set beagle (in preferences) as one of it sources. Then you can make quest pressing Alt+F3. The installation can be done as follows:

sudo apt-get install deskbar-applet

Follows some previews:

See ya

Getting the device UUID and filesystem

To check the available devices (hard disk, pen drive) you can use the command as follows (as root):

fdisk -l

To verify the active mount points you can run:


However, neither one shows the device file sytem information, required in some mounting tasks, such as NFS, autofs. If it was mounted using /etc/fstab, there you can find it. Furthermore, Ubuntu also requires UUID device in partition mounting, which is not provided by the previous tool (fdisk, df). To get these information you can execute the command as follows:


See ya

Installing VirtualBox 3.1 in Ubuntu

This post does not intend to explain how to create a virtual machine in Ubuntu. Since VirtualBox is not found on default repositories here we show how to install it using apt-get tool:

echo -e "\ndeb karmic non-free" >> /etc/apt/sources.list
wget -q -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-3.1 dkms

Read more:

See ya