Tuesday, January 15, 2013

Slow Printer Issue: ubuntu 12.04


1. Alt + F2
>  system-config-printer

2. Change "Make and Model" to Generic PCL 5e Printer Foomatic/hpijs-pcl5e (recommended)

Original source: here

Sunday, January 13, 2013

Tuesday, January 8, 2013

Installing Stata 12 in ubuntu 12.04

1. Prepare

Install "libgtksourceview2.0-0" & "libgtksourceview2.0-0-common" & "libgnomeprint2.2-0" using Synaptic Package

2. Install (note: change directories as necessary)

> sudo mkdir /usr/local/stata12 
> cd /usr/local/ 
> sudo chmod a+rx /usr/local/stata12 
> cd /usr/local/stata12 
> sudo mkdir /tmp/statainstall 
> sudo cp -r /media/Stata /tmp/statainstall
> sudo chmod -R 777 /tmp/statainstall 
> sudo /tmp/statainstall/Stata/install 
> sudo ./stinit

3. Make Symbolic links

> sudo ln -s /usr/lib/libgtksourceview-2.0.so.0 /usr/lib/libgtksourceview-1.0.so.0

> cd /usr/bin
> sudo ln -s /usr/local/stata12/xstata xstata 
> sudo ln -s /usr/local/stata12/xstata-se xstata-se 
> sudo ln -s /usr/local/stata12/stata stata 
> sudo chmod -R 777 /usr/local/stata12

4. Open Stata

> xstata-se

5. Remove Temp Directory

> sudo rm /tmp/statainstall/Stata/install