Saturday, March 28, 2009

How To Configure LAMP Off-line

How To Auto Download To Update Ubuntu

1.System->Administration->Software Sources->Updates.
2.Click Download all updates in background.
3.That's it!

Friday, March 27, 2009

How To See Properties Windows In Synaptic

1.Open Synaptic. Settings->Preferences->General.
2.Tick Show Package Properties in the main window.
3.That's it!

Thursday, March 26, 2009

How To Open New Tab Windows In Nautilus

1.Open Nautilus. Right-click on folder then Open In New Tab.
2.Or, Click on the folder using the scroll-wheel button.

Saturday, March 21, 2009

How To Create Photo For GRUB

1.Resize the picture to 640x480.
2.Reduce Colors to 13.
3.Save as xpm file and compress to .gz.


1.Image->Scale Image to 640x480.
2.Image->Mode->Indexed to 13.
3.Save as xpm.
4.Create archive as .gz.
5.That's it!

Thursday, March 19, 2009

How To Configure GRUB Using GUI

1.Install Start-Up Manager.
2.Get Theme from Gnome-Look. That's it!


Thoughts: Why not create GRUB themes? Few in Gnome Look.

Monday, March 16, 2009

How do you remove entries from the "opens with" menu?

1.Open Nautilus -> Select the file -> File -> Preferences -> Open With -> Select -> Remove."


1.Where you want to go is into your home folder and use ctrl+h or view -> show hidden files.
2.Then open .local -> share -> applications

In the applications folder should be a file named mimeapps.list (it doesn't exist by default but is created from using, among other things, the in certain ways. If it's not there don't worry.

Read this:

Saturday, March 14, 2009

How To Access Apache Web Server From LAN

How To Fix X

the new version of Xorg doesn't reconfigure the graphics driver that way anymore. Instead, get into the VESA driver to get a working desktop (although it will be slow) by doing this from the recovery console:


Then from there, go to System->Administration->Hardware Drivers. It will let you know what proprietary drivers are available. Activate, and restart. See if that helps.

Friday, March 13, 2009

How To Repair Network Connection

sudo dhclient

This is exactly the same functionlity as the window "repair" button, which just does 'ipconfig /release" and "ipconfig /renew".

Wednesday, March 11, 2009

How To SSH need to install openssh-server need to forward port 22 from your router to your "server"

Tuesday, March 10, 2009

How To Partition Your Drive Using Ubuntu Live CD

Boot into the live CD

hit Alt F2 and type gksudo gparted

Monday, March 9, 2009

How To Enable Wireless Of Eeepc In Ubuntu

Installing ath5k driver on Ubuntu 8.10 Intrepid Ibex

The ath5k driver was removed from Ibex's 2.6.27 kernel, and moved to the backport modules. To get wireless to work (at least for the 701), you need to install an additional package. You will need wired internet access for the following steps.

sudo apt-get update
sudo apt-get install linux-backports-modules-intrepid-generic
sudo modprobe ath5k

EeePC 900s and 701s require "blacklist ath_pci" added to "/etc/modprobe.d/blacklist" to enable wireless.

sudo -s
echo blacklist ath_pci >> /etc/modprobe.d/blacklist

After this you can reboot and your wireless should work.

Sunday, March 8, 2009

How To Re-Install Installed Packages From Previous Installation of Ubuntu

You can run the following commands to copy your installed app list and then import it to the new install. It won't carry over the personal settings but it will bring over the installed programs. The downside is that if there are apps that you have installed but don't really want on a clean install they will be present as well.

Create list and copy it somewhere that won't be reformatted during the new install:

dpkg --get-selections | grep -v 'deinstall' > ~/Desktop/installed_packages.txt

Copy installed_packages.txt to the new install Desktop, then run:

sudo dpkg --clear-selections
sudo dpkg --set-selections < ~/Desktop/installed_packages.txt
sudo apt-get update
sudo apt-get dselect-upgrade

Friday, March 6, 2009

What Are The Main Directories In Linux

Here, only the most important directories in the system will be presented.

/bin is a place for most commonly used terminal commands, like ls, mount, rm, etc.

/boot contains files needed to start up the system, including the Linux kernel, a RAM disk image and bootloader configuration files.

/dev contains all device files, which are not regular files but instead refer to various hardware devices on the system, including hard drives.

/etc contains system-global configuration files, which affect the system's behavior for all users.

/home home sweet home, this is the place for users' home directories.

/lib contains very important dynamic libraries and kernel modules

/media is intended as a mount point for external devices, such as hard drives or removable media (floppies, CDs, DVDs).

/mnt is also a place for mount points, but dedicated specifically to "temporarily mounted" devices, such as network filesystems.

/opt can be used to store addition software for your system, which is not handled by the package manager.

/proc is a virtual filesystem that provides a mechanism for kernel to send information to processes.

/root is the superuser's home directory, not in /home/ to allow for booting the system even if /home/ is not available.

/sbin contains important administrative commands that should generally only be employed by the superuser.

/srv can contain data directories of services such as HTTP (/srv/www/) or FTP.

/sys is a virtual filesystem that can be accessed to set or obtain information about the kernel's view of the system.

/tmp is a place for temporary files used by applications.

/usr contains the majority of user utilities and applications, and partly replicates the root directory structure, containing for instance, among others, /usr/bin/ and /usr/lib.

/var is dedicated variable data that potentially changes rapidly; a notable directory it contains is /var/log where system log files are kept.

Wednesday, March 4, 2009

How To Zoom In To Your Desktop Or Applications Using Compiz

If you got a small screen like an Eeepc or other netbooks, you might want to Zoom-in so you could read the texts you're reading.
The first thing to do is enable Compiz:

1.Right-click on the desktop, then Change Desktop Background->Desktop Effects, and set it to Extra Effects.
2.Install Compiz Config Settings Manager via Add/Remove... in Applications.
3.After you have it installed, open it and check Enhanced Zoom Desktop in Accessibility.
To Zoom In:
1.Press the Winkey and hold, while you use the scroll wheel to zoom-in and out.
2.That's it!

Tuesday, March 3, 2009

Setting up a new computer to boot Windows and Ubuntu

Rule for for dual-boot. Windows gets first dibs.

Anyway, this is for when crap happens with Grub and you want at least Windows back.

1.If XP, boot up with Windows CD. Get to the C:\ prompt. Type "fdisk /mbr" without quotes.

2.If Vista, boot up with Windows CD. Get to C:\ prompt. Type "bootrec /fixmbr" without quotes.

Monday, March 2, 2009

How To Put Title Bar On Blender (Windowed) Using Intel Video Card

Using the previous method won't work under Intel graphics card. The workaround is to use the default windows manager Metacity, without the effects.

1.First, create a text file with this one line:

metacity --replace | blender -w -p 0 0 x y (x is height, and y is length) Eg. 1024 and 768.

2.Save the file as “blender-metacity”.
3.Edit Gnome Menu. Right-click on the menu, then Edit Menus.
4.Click on Graphics, then on the right, Blender (windowed).
5.Click Properties.
6.On the command box click Browse, then choose the text file you created.
7.That's it!

Now, you can create an application launcher on the panel to enable compiz:

1.Right-click on the panel, then Add to panel.
2.Click Custom Application Launcher.
3.Name it Compiz.
4.Enter this to the command box: compiz --replace.
5.Choose an Appropriate icon as desired by clicking the icon on the top-left.
6.Click Ok. That's it!

Sunday, March 1, 2009

How To Put Title Bar On Blender (Windowed) Using Nvidia Video Card

1.Edit Gnome Menu. Right-click on the menu, then Edit Menus.
2.Click on Graphics, then on the right, Blender (windowed).
3.Click Properties.
4.On the command box enter: blender -w -p 0 0 x y (where x is height and y is length).