Skip to main content

Posts

Showing posts from June, 2011

Latex in chat gmail and pidgin

We write equations in latex to collaborators but most of them have to be read and interpreted in latex. It is only too natural to have some interpreter which converts the latex code into graphical output in the communication mediums like email client and chat clients. I would describe three possible ways to share equations with collaborators.

Gmail - To send equations in email had always been hassle. Either we had to send the raw latex codes or send copy paste of the output from some latex compiler. Now, latex codes could directly be compiled in gmail. Install, gmailtexhttp://alexeev.org/gmailtex.html. The site provides all information needed to get it working. I prefer the greasemonkey script method because no fonts etc. needs to be installed. But since it fetches fonts online you need to have good internet connections. For slow connections stick to local install methods.
Note - Just remember to turn off rich text formatting for gmailtex to be able to compile.
Gmail chat - http://users…

Vertical scroll not working HP Pavilion dm3 Notebook Touchpad in Natty/Ubutnu

This is a generic issue and not tied with HP Pavilion dm3 Notebooks. Many notebook touchpads do not have a working edge scroll first time with Ubuntu. The key is to pass a option to the psmouse module.

lsmod

See if psmouse is running. If not running check here

/lib/modules/`uname -r`/kernel/drivers/input/mouse

Do a ls. If no psmouse.ko is present then it has to be recompiled with latest kernel headers. I would not go into that.

Assuming psmouse is present. Then unload it by

rmmod psmouse

Then inject the following line

sudo echo "options psmouse proto=imps" >> /etc/modprobe.d/psmouse.conf

It might give an error if the file is not present. Then

sudo echo "options psmouse proto=imps" > /etc/modprobe.d/psmouse.conf

Reload the psmouse module

modprobe psmouse

The vertical scroll should work now.