The Road to Elysium

November 26, 2009

Fedora 12 and Nvidia-problems

Filed under: Linux — jorge @ 12:52

Update: It seems that the packages kmod-nvidia are now in the normal section of the rpmfusion-repository. So try a:

# yum install kmod-nvidia

Before attempting anything mentioned below.

This is probably just an initial thing, but, upon installing Fedora 12, if you have installed the rpmfusion-repo, you’ll probably come to notice that there are no Nvidia-packages available. The solution? Not much hassle really.

Note: If you don’t have the rpmfusion-repo installed, do it like so:

# rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Now, we proceed. First you need to disable the driver nouveau that comes as default with Fedora 12:

# echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf

Then open up your grub.conf and add the following to the end of the kernel-line:

nouveau.modeset=0 vga=0×318

Making it look something like:

kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=/dev/mapper/vg_cat-lv_root  LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=no rhgb quiet nouveau.modeset=0 vga=0×318

The thing is that the package isn’t yet in the normal sections of the rpmfusion-repository, but still under testing. So execute the following command to grab what you need:

# yum --enablerepo=updates-testing install kmod-nvidia xorg-x11-drv-nvidia-libs.i686

And that should be it. :) Reboot your machine and you should have a working Fedora 12 with Nvidia-support.

Removing your Master Boot Record (MBR)

Filed under: Snippets — jorge @ 09:42

Removing MBR (including the partition table):

# dd if=/dev/null of=/dev/sdX bs=512 count=1

Removing MBR (excluding the partition table):

# dd if=/dev/null of=/dev/sdX bs=446 count=1

sdX is the device you want to remove the MBR of (like a USB-stick).

November 17, 2009

Chromium and middle-click-loads-url

Filed under: Linux — jorge @ 10:19

Chromium is pretty great. It’s damn quick and I rather enjoy the interface. But for some reason the people developing it haven’t yet decided if they are going to implement the whole mark-an-url-and-press-the-scrollwheel-on-your-mouse-to-load-the-url. Phew, that’s a mouthful. Anyway, it has been annoying me like mad. Luckily, I found an extension at http://www.chromeextensions.org/appearance-functioning/navigate-on-paste/ which seems to do the trick. So have a look, enjoy, and let’s hope that the developers make up their mind.

Powered by WordPress