Posts

Showing posts from April, 2009

Offline Install or Update Ubuntu Packages (Without Internet)

Image
So you have a machine without Internet or the Internet is very slow and you want to update or install Ubuntu and packages. There is a simple way to install packages and softwares in machine that doesn't have Internet with it. First go to the machine that doesn't have Internet, i.e. the machine you want to install packages. Open Synaptic Package Manager from System - Administration Menu. Select the packages you want to install. Go to File and select Generate Package Download Script Save the file and bring it to the computer that has Internet. Run that file. It will download all the packages and its dependencies. Put them in a removable drive. Bring the drive back to the old machine. Open Synaptic Package Manger again. From File menu choose Add Downloaded Packages . You're done. That's 10 easy steps to install software and add packages to Ubuntu box which doesn't have Internet. To update your system follow the same above procedures bu

compiz problem in Jaunty solved

Today I upgrade few machines to Jaunty Jackalope 9.04. However in machines with Intel's graphic driver I faced two kind of problem with compiz. Problem 1: After upgrading to Jaunty, compiz couldn't be enabled. The error was saying that the driver was backlisted. To solve this create a file ~/.config/compiz/compiz-manager and put SKIP_CHECKS=yes Now enable compiz and it should work. Problem 2: After upgrading to Jaunty, compiz is very slow. You'll easily notice the performance degradation. To solve this you can revert to intrepid driver by following https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4 But what I did was used "UXA" instead of "EXA". UXA is new and far better but this has some bug, which prevented it from being default in jaunty. To do this open your /etc/X11/xorg.conf and add Option "AccelMethod" "uxa" under Section "Device"

Time to order free Jaunty Jackalope CD

https://shipit.ubuntu.com/ enjoy!!!

captcha full form

Image
I hope you know what captcha is and what it does. But do you know its actually a acronym and it stands for "C ompletely A utomated P ublic T uring test to tell C omputers and H umans A part". Well, I didn't knew it.

vi/vim quick reference

Movement Commands: h move one character left j move one line down k move one line up l move one character right H move to Home (start of first line displayed M move to start of Middle line displayed L move to start of Last line displayed O or ^ move to start of current line $ move to end of current line tc move forwards to just before character c Tc move backwards to just after character c fc move forwards on to character c Fc move backwards on to character c ; repeat last t, T, f, or F command w move forwards to the start of the next word e move forwards to the end of the next word b move backwards a word % move to matching bracket: () [] {} Movement Searching: / Search forwards for regular expression ? Search backwards for regular expression n repeat last search in the same direction N repeat last search in the reverse direction Insert Mode i Insert before the current character a Insert after the current character o Open a new line after the current line O Open a new line before the