Install HP LaserJet P1505 in Ubuntu 16.04

Image courtesy: HP

HP LaserJet P1505 is a popular printer and can be found in most of the offices. Installation of the printer driver is necessary to run.

1. Plugin the printer to the computer.
2. Download and install the HP Printer driver. Apply following commands,

sudo su
sudo hp-setup -i

During the installation process user has to answer many questions.

Install Lineage OS on Asus Zenfone Selfie: a slim guide.

Asus Zenfone Selfie (Build Number. ZD551KL)is a budget smart phone priced below INR 12000. The default Android version is Lollipop with Zen UI. Zenfone Selfie can give good performance, if we install custom ROM.  Lineage OS is the leading custom ROM project and it offers official build for Zenfone Selfie. User can install Lineage OS over default Android. Lineage OS can improve the performance of Zenfone Selfie.

Necessary skill set
Basic knowledge on adb and fastboot, TWRP custom recovery installation, flash packages from TWRP. Finally you need the confidence to take the risk of unbrick phone (Void warranty)!!.

[I will not be responsible to what happens to your device while trying following steps.]

Following are the necessary packages to download before the installation process. Copy the downloaded packages to the external storage (SD Card) of your phone:

Marshmallow firmware
Lineage OS
Open GAAps (ARM64) Pico
su (arm64)

Steps to follow
Links along with each step leads to concerned instructions in Lineage OS wiki.

1. Unlock Asus Zenfone Selfie.
2. Install adb and fastboot.
3. Install TWRP custom recovery.
3. Flash the Marshmallow firmware using TWRP recovery [Very important]
4. Install Lineage OS, OpenGAAps and su add-on from TWRP recovery.
5. Restart phone.

How to enter recovery mode of Zenfone Selfie?
Power Off phone.
Long press Power button+Volume down button.


Screen brightness problem with Acer ES1-131 and Debian 8 (Jessie)

I installed Debian 8 (Jessie) XFCE and LXDE desktop on Acer ES1-131 Netbook. I could successfully installed Debian. But problem is that, not able reduce the brightness of screen. Short cut key for brightness control not working.

The real problem with the Linux kernel. Default kernel version could not identify the Intel driver. You can find that /sys/class/backlight will be empty. Brightness control folder and files should be reside here.

How to solve it?
Solution is that upgrade the kernel of Debian.

Enable sudo in Debian

Sudo is a tool default with Ubuntu, which allows users to execute administrative tasks (e.g. installation, remove etc). sudo is not available with Debian default. Ubuntu user may feel difficult while work with Debian without sudo. User has to install sudo tool first.

Open terminal and apply following commands,

apt-get install sudo
adduser username sudo

Logout from desktop.
Login again.

Install Linux ISO file in a USB stick

Its easy to write ISO file to USB pen drive. This process erase all data in your USB drive.

Copy Linux iso file in home folder.
Open a terminal and become root user and apply following commands,
cat debian.iso > /dev/sdb; sync

Disable Grub2 theme in Ubuntu MATE

Gurb 2 has GUI theme.

It may lag the boot time. User can remove it to get back legacy Grub theme.
Apply following command to remove Grub 2 theme.

sudo apt-get remove grub2-themes-ubuntu-mate

Then update Grub


Install Shutter Screenshot tool in Ubuntu 14.04 and 16.04

Shutter is a feature rich screen shot capturing tool. Provision for annotation also available.

Ubuntu 14.04
Add PPA to the system,
sudo add-apt-repository ppa:shutter/ppa
apt-get update
apt-get install shutter

Ubuntu 16.04
apt-get install shutter

Create Ubuntu Live DVD using Pinguy Builder

Remastersys was one of the best tool for live DVD creation. Remastersys project seized and not available now. Now Pinguy Builder available for this purpose. Pinguy Builder developed from Remastersys source code. So Pinguy Builder is very easy to use tool for live dvd creation.

I tried to build Live DVD from Ubuntu MATE Linux. MATE Desktop available with this Ubuntu distro. MATE desktop gives classic look, not like Unity.

Speed up your Ubuntu Linux

Ubuntu loaded with Unity desktop. Unity consume a big part of computer resources due to its graphical intensive desktop. Many ways users can make fast the Ubuntu operating system.

Install GNOME Flash back Desktop over Unity Desktop
Unity desktop of Ubuntu eat lot of computer resources. Install GNOME Flash back desktop.

Install Malayalam fonts in Ubuntu 16.04

Package ttf-malayalam-fonts replaced by  fonts-smc fonts-samyak-mlym fonts-mlym fonts-lohit-mlym in Ubuntu 16.04.

See the chillu (ചില്ല്) letter (ല്ല) before and after installation of Malayalam fonts.

Open a Terminal and apply following commands,

sudo su
apt-get install fonts-smc fonts-samyak-mlym fonts-mlym fonts-lohit-mlym

Install ADB and Fastboot on Ubuntu

Fastboot is a tool that can be used to re-flash partitions on your Android device. Useful for the installation of new custom recovery (e.g. twrp) and operating systems like Cyanogenmod on preloaded Android. 


Install Apache Tomcat 8 on Ubuntu 14.04

Install Java
sudo su
sudo apt-get install default-jdk
Install Tomcat
Download the and extract the Tomcat package. New versions can be download from Tomcat wesbite.

Install Canon MF220 printer in Ubuntu

Copy Linux driver pack from CD with printer or download from Canon website.
Extract the package in home folder.
Enter into the package folder using Terminal,

sudo su
cd Linux_UFRII_PrinterDriver_V320_us_EN

Make the file executable,

chmod -R 777

Run the install file,


Open printer admin page in a browseer http://localhost:631/admin
Add printer and change settings. 

Edit crontab with gedit or nano

Editing crontab with vim is may feel difficult for basic Linux users. Users can open crontab with other text editor like gedit. Apply following command to open crontab with gedit.

env EDITOR=gedit crontab -e

Installing DSpace 5.x on Ubuntu 14.04 LTS

Installation of prerequisite applications

Open  Applications > Accessories > Terminal and execute following commands. Text in italics are commands to be executed.

apt-get install leafpad openjdk-7-jdk postgresql ant maven