Treg's blog

March 28th, 2005

F1 motor anno 2005

Posted by Treg in General

Have you ever seen a Formula-1 motor test? Well here you can find a movie where a team is presenting a new motor. Isn’t normal that machine!

F1 motor anno 2005

March 25th, 2005

Ubuntu or Gentoo or Ubuntu or Gentoo?

Posted by Treg in General

For the moment, there are 2 great distro’s I like to use. Ubuntu and Gentoo. After 1 month a half I decided to switch again from Ubuntu (Hoary) to Gentoo.
Previously I switched to Ubuntu cause I got sick compiling all the stuff. Now I have a bit more time, so I can make my Gentoo runs smooth. 🙂 In fact there is no reason for me to switch from Ubuntu to Gentoo again, Ubuntu runs just great (or maybe that’s the reason). :p
So after an evening setting up and a whole night compiling, I have my Xorg and Gnome (with 3D acc.) running.

March 14th, 2005

Ubuntu Linux Hoary Tree / Gnome 2.10

Posted by Treg in Screenshots

It’s amazing that I am still running the same distro with the same installation. The Hoary version of Ubuntu is still in the developement phase and it works great! 🙂
Meanwhile I set up my gdesklets again (version 0.33.1) but some psi sensors aren’t working. They are developping a new set of desklets called SideCandy. This eyecandy doesn’t slow down my system @ all, nice!

Ubuntu Hoary Linux Gnome 2.10 14-03-2005

March 3rd, 2005

Sister’s Linux @ Kot

Posted by Treg in Screenshots

My sister is using Ubuntu Linux instead of Win now and she likes it! 🙂 Here’s a screenshot!

Karolien Kotpc 13-02-2005

March 3rd, 2005

Ubuntu Hoary apt-get sources

Posted by Treg in HOWTO Ubuntu

My current Ubuntu Hoary sources.list

deb http://archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://archive.ubuntu.com/ubuntu hoary main restricted

deb http://archive.ubuntu.com/ubuntu hoary universe
deb-src http://archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe
deb ftp://ftp.nerim.net/debian-marillat/ testing main
deb http://archive.ubuntu.com/ubuntu/ warty multiverse
deb http://ubuntu.tower-net.de/ubuntu/ warty java
deb ftp://neacm.fe.up.pt/pub/ubuntu-java/ binary/
deb-src ftp://neacm.fe.up.pt/pub/ubuntu-java/ source/

March 3rd, 2005

Recording livestreams with Mplayer

Posted by Treg in Howto's

First get the url from which stream you want to record/rip.

Than open a terminal window and enter:
mplayer -srate 44100 -ao pcm -aofile output.wav -v url

url is ofcourse your stream

There is another method, but it doesn’t work al the time:
mplayer -dumpstream -dumpfile test.wav url

After the recording proces you can easily convert this files to any audio format you want.

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