---
layout: post
title: "Debian Jessie on Dell Precision M4800"
date: 2014-11-22 01:16:09 +0100
comments: true
categories: 
---

The testing ISO image works on a USB key.

Using the nvidia (non-free) driver
----------------------------------

To install the nVidia driver:

  * make sure installed kernel headers (linux-headers) match kernel (linux-image),
    otherwise DKMS won't build.
  * install nvidia-driver (note: this will build a kernel module, so requires
    a working compiler)
  * run `nvidia-xconfig --query-gpu-info` by hand and make note of PCI BusID
  * run `nvidia-xconfig --busid=PCI:x:x:x` to generate xorg.conf

BIOS setup
----------

  * Video -> Switchable graphics -> uncheck Enable Switchable Graphics

GNOME 3
-------

Disable `gnome-keyring`:
```
$ cd /etc/xdg/autostart
$ mv gnome-keyring-ssh.desktop gnome-keyring-ssh.desktop-
$ mv gnome-keyring-gpg.desktop gnome-keyring-gpg.desktop-
```

Remember NumLock state:
```
$ gsettings set org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state true
```

Support for smart-card reader
-----------------------------

`apt-get install pcscd`

Network
-------

Disable [IPv6 Privacy Extensions](https://home.regit.org/2011/04/ipv6-privacy/) in `/etc/sysctl.conf`:

```plain
# Disable IPv6 "Privacy extensions" (random SLAAC addresses)
net.ipv6.conf.all.use_tempaddr=0
net.ipv6.conf.default.use_tempaddr=0 
```
