Tag Archives: Ubuntu

Compile upstream Linux kernel from kernel.org on Ubuntu or Debian

Linux kernelIn this article I will show you how to compile kernel from kernel.org on Debian based operating systems like Ubuntu. If you talk to any Linux guru he will say that compiling upstream kernel.org is something very complicated and reserved only for advanced users. That just isn't true. Nowadays to compile upstream kernel without excessive modification of default options all you need is some free time, because compilation process could take 30 to 60 minutes or longer depending on your PC characteristics. So lets get down to business...

Continue reading

Enable Apache mod_rewrite on Ubuntu Linux system

Apache Logo

Any LAMP (Linux Apache MySQL PHP) web development effort requires fully functional Linux web server. You can also develop using LAMP installation on other operating systems but that just isn't the real thing. The way I develop is by using Ubuntu LAMP local server I can play with without fear of cutting off hundreds of people from any public site just because I've typed colon instead semicolon somewhere in some php file. If you want to know how to setup Ubuntu Linux for your development work here's one of my earlier articles on that topic:

Ubuntu Netbeans and LAMP server with Xdebug as non-root user

In this article I will show you how to enable Apache mod_rewrite engine on your Ubuntu LAMP installation. This module is used by web administrators to "mask" their site URLs into the form they want users to see. This is done because it is not necessary or secure to expose your site innerworkings like GET parametars or scripts paths on your server.

Continue reading

Turn mouse acceleration off on Ubuntu or any other Linux PC

Tux mouseI must admit that I'm no gamer. Actually the only game I play occasionally is Urban Terror FPS. I don't want to spend those 15 minutes a month playing at the end of TAB key players list. Recently I've discovered that my gaming improves when I turn the mouse acceleration off. So lets talk about how to do this in Linux operating system. I'm not talking about gnome-mouse-properties because when you use GUI to turn the mouse acceleration off it doesn't really gets turned off, it is only reduced. In this article I will show you how to turn your mouse acceleration completely off. Follow me...

Continue reading

Ubuntu fix network stopped working after resume from sleep

I'm currently using Ubuntu Lucid on my HP Compaq CQ56 laptop. It is really Linux friendly laptop, but like every other configuration it needs some tweaking to really shine. In this post I will show you how to fix problem with ethernet network not working after resume from sleep. This procedure works for ethernet or wifi network devices, or any other hardware device that makes problems after resume from sleep.

Continue reading

Ubuntu disable/enable compiz when on battery/AC bash script

HP Compaq Presario CQ56-100SMLast week I won an award from my college sponsor Končar Electrical Engineering Institute for my graduate work on the topic of creating an advanced web social networking system using open source technologies. I must express my gratitude to the fine people on my college who nominated me and to the Končar Electrical Engineering Institute for rewarding my effort. By the way, this social networking system is work in progress and when ready, I will set it up for testing because I value your feedback for my little projects like Quick Chat.

What did I do with my reward you ask? I bought myself a laptop. My laptop selection priorities were low price and Linux operating system compatibility. I have selected HP Compaq Presario CQ56 with Suse Enterprise Linux11 factory installed. It is really good laptop for the price and very Linux friendly if any of you Linux fans are on a Laptop hunt. I might post a review on this great piece of hardware when I find some available time. Yesterday I've installed Ubuntu Maverick on this laptop and everything works great. But when everything works great, we people usually go to the picky side and start inventing problems. So to create myself some work, I've given myself a task of creating script to turn Compiz off when on battery, and turn it back on when on AC. My goal was extending my shiny new battery life for a few minutes and have fun in the process of creating this script. So here it is...

Continue reading