Ubuntu 12.04 – Gnome 3 close,minimize,maximize buttons

from terminal

<code>gconftool-2 --set "/apps/metacity/general/button_layout" --type string ":minimize,maximize,close"

Slow Wifi, Problem Solved- Ubuntu 10.04, 10.10

1. The Debian Avahi (nss-mdns) Bug
There is a known bug doing the rounds in Debian based distros, this includes Ubuntu.
The problem is in the nsswitch.conf file where wins mdns causes a slowdown of DNS resolution on some machines.
A simple workaround for this problem is to remove mdns4_minimal entry from the nsswitch.conf file, or change mdns4_minimal to just mdns4 (whichever works best for you):
Edit this file- /etc/nsswitch.conf
Scroll down to the entry which says:
hosts: files dns wins mdns4_minimal
and delete the mdns4_minimal entry. (I removed wins as well), s it looks like this:
hosts: files dns
2. Check your DNS in resolv.conf
You should only have two entries (usually) which are your Internet Service Provider’s DNS servers.
Check and/or edit your dns servers:
gksudo scite /etc/resolv.conf
It should look something like this:
search my.isp.com
You may have an extra IP address there, possibly your router (, and if you haven’t got dns servers configured in your router config, this may cause a problem/slowdown as well. EG:
search my.isp.com
Just remove the first one and leave the two ISP DNS server IP’s.

original link http://ubuntuforums.org/showthread.php?t=1487039&page=2

How change WiFi Rates – Linux

sudo iwconfig wlan0 rate 54M

Available rates: 1, 2, 6, 9, 12, 18, 24, 36, 48 and 54

Useful configuration tools

gconf-editor – gnome configuration tool
rcconf – system services configuration tool

Mounting NTFS partition /etc/fstab

1. Open a Terminal and type

gksudo gedit /etc/fstab

2. Add this line

/dev/sdaX /media/sdaX ntfs-3g user,defaults 0 0

X – depend on your partition layout. To check partition layout type:

sudo fdisk -l

How To Restore Nautilus Address Bar or Location Bar in Ubuntu 10.04

1 Open terminal or press Alt+F2


2. locate this


and tick a box.

Source: http://ubuntuforums.org/showthread.php?t=77346

xorg.conf – when Ubuntu is not detecting your monitor correctly

1. touch /etc/X11/xorg.conf

2. open file and paste this:

Section "Monitor"
Identifier "Monitor1"
Vendorname "Generic LCD"
Horizsync 31.5-48.0
Vertrefresh 56.0-65.0

Section "Screen"
Identifier "Screen1"
Monitor "Monitor1"
Subsection "Display"
Modes "1024x768" "800x600"

3. save & restart xorg