Sometimes, your Ubuntu box running all day. Sometimes, you forgot to shutdown because you were in a rush or you were sleepy. Let’s think, you will pay a lot of bill for this extra electricity usage, won’t you? You didn’t using the energy wisely. If you didn’t use your Ubuntu box; I mean your computer/laptop on specific purpose anymore, such as using for typing document, watching movie or listening to favourite music, you can give the timer for your computer/laptop to shutdown itself. In case, you are sleepy and get tired.
This program called ComplexShutdown. There are a lot of options you will get by using this program. You can specify what you want, e.g. shutdown, restart, or standby on specify time (look at the screenshot). You can download it from here. Remember, choose the right package for Ubuntu. If you’re using Ubuntu x86 then you have to download package i386, but if you’re using Ubuntu x86_64 then you have to download package amd64. I’m using this program on Lucid Lynx amd64.
But, I have another trick. If you didn’t want to use this software, you can use your terminal to make the timer. For example:
$ sudo shutdown -h 18:30
Broadcast message from luckyborneo@ubuntu
(/dev/pts/2) at 15:18 ...
The system is going down for halt in 192 minutes!
The system will shutdown by itself on 18:30 (using 24 hours format)… Have a nice learn here…
And remember, use the energy wisely. Support for green planet..
It’s been a long time since I learned about LaTeX. This kind of text processing was took a place in my heart. It’s very simple and powerful. You can do anything with this text processor. All you need just remember its syntax and its package when you start to type anything; article, book, thesis, or report. There are a lot of editor for LaTeX, such as Kile (for KDE Environment), GNU Texmacs Editor, Textmaker, gedit with latex plugin, and many more.
Today, I will introduce you one of them. Gummi, it is very simple. Take a look at the screenshot.
It’s simple, isn’t it? But how to install it on your Linux machine? I’m using Ubuntu Lucid Lynx as my operating system. Just type these command lines:
$ sudo add-apt-repository ppa:gummi/gummi
$ sudo apt-get update && sudo apt-get install gummi
That’s it. Now you can run Gummi and start to learn about LaTeX. Have a nice learning..
OpenCV is an excellent library for Computer Vision. I have just learned it from my lecture about 30 minutes, and it was quite fun. But, he was using windows xp and microsoft visual studio 2008 enterprise edition that night. Oh no… I’m totally stuck. Because I’m using Linux for my laptop.
How to install it on Linux?
It was a piece of cake. If you’re using ubuntu, you can type this command line into your terminal (Applications > Accessories > Terminal):
$ sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg62-dev libtiff4-dev cmake libswscale-dev libjasper-dev
Next step is to get the OpenCV:
$ wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.1/OpenCV-2.1.0.tar.bz2
$ tar -xvf OpenCV-2.1.0.tar.bz2
Enter its directory:
$ cd OpenCV-2.1.0
Now, you’re ready to install:
$ cmake .
Hopefully you will not getting error after run that command.
Compile and install the OpenCV:
$ make && sudo make install && sudo ldconfig
That’s it. Now you have installed into your computer.
Let’s check some demos here:
$ cd OpenCV-2.1.0/samples/c
$ chmod +x build_all.sh
Some of the training data for object detection is stored in /usr/local/share/opencv/haarcascades. You need to tell OpenCV which training data to use. Let’s see the examples.
$ ./facedetect --cascade="/usr/local/share/opencv/haarcascades/haarcascades_frontalface_alt.xml" putra.jpg
Have fun, dude…
Long time no see… I’ve been busy lately. There were so many works to be done quickly.
$ sudo apt-get update
$ sudo apt-get install irrlicht irrlicht-dev
Now, you have irrlicht library in /usr/local/lib
But, if you want to install from the source, just follow these instructions. Please read carefully and not to read too close to your monitor and also keep your eyes from eyestrain. Remember, I’m doing this from the terminal; because it is simple and fun.
Prepare folder for irrlicht source, e.g. $HOME/irrlicht
$ mkdir $HOME/irrlicht
Install all its dependencies:
$ sudo apt-get install -y build-essential subversion xserver-xorg-dev x11proto-xf86vidmode-dev libxxf86vm-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxext-dev
Checking out the latest version of source code:
$ svn checkout https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk $HOME/irrlicht
Compiling the irrlicht:
$ cd $HOME/irrlicht
That’s it… Now you have irrlicht library in $HOME/irrlicht/lib/Linux
Next time, I will show you how to setup the environment for irrlicht on your favorite editor (e.g. NetBeans, QTCreator, etc). Have fun….
Woohoooo… the new Ubuntu has arrived. Come on, test it and send the bug if you found one. It will make Ubuntu more better. You can order Ubuntu from http://shipit.ubuntu.com or download from the nearest mirror from your place. If you have a netbook, you can try Ubuntu Netbook Remix. It is cool. What are you waiting for. Come on, prepare your computer, laptop, netbook to test it. I’m sure, you will love it…