Tag Archives: debian

Installing NVidia proprietary drivers under Debian based distros

By first, you need to download the following packages with the following command

apt-get install linux-headers-$(uname -r) gcc-4.4

Then download and give execution permissions to the NVIDIA binary driver — XServer must be down.

wget http://us.download.nvidia.com/XFree86/Linux-x86/275.28/NVIDIA-Linux-x86-275.28.run
chmod +x NVIDIA-Linux-x86-275.28.run
./NVIDIA-Linux-x86-275.28.run

Now just start the X server, enjoy!

Configure LIRC to work with Windows Media Remotes

Configuring LIRC with a Windows Media Center Remote to work at Linux is easy and if you like seeing movies while you are at bed is just awesome, here an easy setup (ripped from mine old blog :) )

sudo apt-get install lirc lirc-modules-source module-assistant

Now on configuration

Windows Media Center Transceivers/Remotes (all) -> None -> DONE!

To test out the controller, is

irw

while doing this, click the keys in your controller and they will appear if it was detected correctly. Here, all were detected.

If you want to make it work with KDE and KDE apps,

apt-get install kdelirc

And configure the keys in System Settings.

Configuring a NTFS partition to be mounted at boot

Note: This might work on other distributions just installing the packages on their package managers or from source, however you want. Root password and access is required.

I been helping a friend to move into Debian Squeeze although this guide work on any I think, first of all, installing the packages, hopefully way less than any tutorial that I wrote at here.

apt-get install libfuse2 ntfs-3g

The second step is know where the NTFS partition is located, for that we will use

fdisk -l | grep NTFS

And it will output something similar to this

/dev/hdc1 * 1 9728 78140128+ 7 HPFS/NTFS

Now we know that the partition is located at /dev/hdc1, we will need to choose the path where we want it mounted, so we will create a nice folder on root ( /disk ) or on the home of an user ( /home/yourusernameathere/disk ), when we created the folder we will just add a line in /etc/fstab that will be like:

/dev/hdc1 /home/yourusernameathere ntfs-3g defaults 0 0

Was easy heh? :) Then just restart or do mount -a as root

Dealing with Debian and Nvidia drivers

You need to have closed your X server to make this work.
For 64 bits: Download the needed stuff, nvidia driver, the kernel headers, changing permissions and installing it

wget http://us.download.nvidia.com/XFree86/Linux-x86_64/260.19.36/NVIDIA-Linux-x86_64-260.19.36.run
apt-get install linux-headers-$(uname -r)
chmod +x NVIDIA-Linux-x86_64-260.19.36.run
sh NVIDIA-Linux-x86_64-260.19.36.run

For 32 bits: Download the needed stuff, nvidia driver, the kernel headers, changing permissions and installing it

wget http://us.download.nvidia.com/XFree86/Linux-x86/260.19.36/NVIDIA-Linux-x86-260.19.36.run
apt-get install linux-headers-$(uname -r)
chmod +x NVIDIA-Linux-x86-260.19.36.run
sh NVIDIA-Linux-x86-260.19.36.run

And depending of what desktop manager do you use, you will start it (gdm, kdm, w/e)

/etc/init.d/kdm start or restart //(depends if it is running)
/etc/init.d/gdm start or restart //(depends if it is running)

If it doesn’t run, just run

dpkg-reconfigure xserver-xorg