Treg's blog

March 3rd, 2005

Tweaking Ubuntu after first install (Ubuntu Warty)

Posted by Treg in HOWTO Ubuntu

Now that you have Ubuntu installed lets tweak a few things to make your experience even better.

  1. Getting the latest updates.
    From your desktop select Computer > System Configuration > Synaptic Package Manager you will be asked to enter your password. Click the Reload button then select Mark All Upgrades and finally click Apply this will ensure your system is running the latest updates. You can follow this every few weeks to ensure you get new updates as well.
  2. Setting up Nvidia/ATI video drivers (only if you have Nvidia/ATI video cards).
    For ATI Video Drivers:
    sudo apt-get install linux-686 (if you haven't already). or -k7 or -686-smp or -386... whatever matches your kernel.
    sudo apt-get install fglrx-driver
    echo fglrx | sudo tee -a /etc/modules
    This command won’t have any effect until you reboot. To load the kernel module immediately, run sudo depmod -a ; sudo modprobe fglrx, but this will only work if you have already rebooted since upgrading the kernel. If it doesn’t work, perform the next step (below) and then reboot.
    sudo sed -i -e 's/"ati"/"fglrx"/' /etc/X11/XF86Config-4 Note: If you are going to compile 3d applications, you will want to install the fglrx-driver-dev package Note: You might want to install the fglrx-control package, which provides a control panel to configure graphics card options such as dual-head display (two monitors).

    NVIDIA Video Drivers:
    sudo apt-get install nvidia-glx
    sudo nvidia-glx-config enable
    sudo reboot
    Note: (optional): If you are going to compile 3d applications, you will want to install the nvidia-glx-dev package, like sudo apt-get install nvidia-glx-dev
    Note: (optional): the nvidia-settings package provides a control panel to configure graphics card options such as gamma correction. Install: sudo apt-get install nvidia-settings

  3. Enable Universe in Synaptic.
    From your desktop select Computer > System Configuration > Synaptic Package Manager you will be asked to enter your password. Goto Settings > Repositories you will see (2) grayed out boxes click both of them, then click the Reload button.
  4. Installing Java systemwide / Firefox.
    Download Java: http://java.sun.com
    chmod a+x j2re-1_4_2_05-linux-i586.bin
    ./j2re-1_4_2_05-linux-i586.bin
    sudo mv j2re1.4.2_05 /usr/local/
    sudo ln -sf /usr/local/j2re1.4.2_05/bin/java /usr/bin/java
    sudo ln -sf /usr/local/j2re1.4.2_05/bin/java_vm /usr/bin/java_vm
    cd /home/username/.mozilla/plugins
    If you do not have a plugins directory you can create one.
    mkdir -p /home/username/.mozilla/plugins
    ln -s /usr/local/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.so
    sudo ln -s /usr/local/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/
    That should give you working firefox java and systemwide java support.
  5. Installing XMMS music player.
    sudo apt-get install xmms
    If you are running a Nvidia video card you need to add this package as well:
    sudo apt-get install libmikmod
  6. Enable MP3 support in Rhythmbox.
    sudo apt-get install gstreamer0.8-mad
  7. Installing basic development tools.
    sudo apt-get install build-essential
  8. Turn off ipv6 so firefox loads pages faster.
    The latest version of Mozilla includes support for “IPv6” a new form of addressing things on the Internet.
    The problem is: Mozilla tries to use IPv6 before it uses IPv4 (IPv4 is the old version). When your Internet connection doesn’t support IPv6, Mozilla fails to connect on the first try. In the current version of Mozilla, you can’t change this, because of a bug.
    To fix this issue follow these steps:
    sudo nano /etc/modutils/aliases
    Look for this line:
    # alias net-pf-10 off # IPv6
    Change the line to: (remove the #)
    alias net-pf-10 off # IPv6
    sudo update-modules
  9. Installing a CPU specific kernel.
    sudo apt-get install linux-686 for newer Intel/AthlonXP
    sudo apt-get install linux-k7 for any AMD Processors
    sudo apt-get install linux-686-smp for Dual Intel Processors

Leave a reply