Creating an Init Script in Ubuntu 14.04

In Ubuntu, you create init scripts using the SysV init system. Details are here. In this article, I will create a very simple script to start and stop Tomcat. In this tutorial, our goal is to start and stop Tomcat as the user “joe”. First, we will create a script...

Ubuntu: How to disable the touchpad?

Q: I want my touchpad to be disabled when I use my mouse. How can I do that? touchpad-indicator has stopped working on 11.10. It used to work on 11.04. Gnome3 is not a solution as I don’t like it and find it buggy. A: Run the following command in a terminal:...