Installing Debian/Jessie on ThinkPad T460s

This is a Debian/Jessie installation instruction on ThinkPad T460s (product ID: 20F9CTO1WW).

First, update BIOS on Windows if necessary, since that kind of task is unfortunately typically much easier on it. Also make sure to create a recovery media for Windows 10.

Disable Secure Boot in BIOS.

Boot from the netinst (with firmware) install media. Use wired network while installing. Wireless does not work out of the box.

Boot from the install USB media. Follow the standard Debian installer instruction:

  • Language: English
  • Country: United States
  • Keymap to use: American English
  • Primary network interface: wlan0
  • Wireless network: (your choice)
  • Hostname: (your choice)
  • Domain name: (your choice)
  • Root password: (your choice)
  • Full name for the new user: (your choice)
  • Username for your account: (your choice)
  • Choose a password for the new user:
  • Re-enter password to verify: (your choice)
  • Select your time zone: (your choice)
  • Partitioning method: Manual

Here is my partitioning scheme:

1 /boot/efi  300 MB EFI System Partition (bootable, EFI System partitoin)
2 /boot      250 MB ext4
3 /          100 GB ext4
4 /usr/local  50 GB ext4
6 /home      338 GB ext4
5 SWAP        24 GB
  • Write changes to disks: yes
  • Debian archive mirror country: (your choice)
  • Debian archive mirror: (your choice)
  • HTTP proxy information: (your choice)
  • Participate in the package usage survey: (your choice)
  • Choose software to install: (your choice; recommended to install Windows manager with Wifi support)

If asked during installation, force UEFI installation: Yes (on the SSD, not USB device from which the installer is running).

After the first reboot, log in as root and do the following:

It would be convenient to add your regular user account to sudo group:

# apt-get install sudo
# adduser <username> sudo

Intel Wireless 8260

Wireless does not work out of box. Upgrade kernel and install firmware. Add contrib and non-free, as well as backports to /etc/apt/sources.list, which should have lines similar to this:

deb jessie main contrib non-free
deb-src jessie main contrib non-free

deb jessie/updates main contrib non-free
deb-src jessie/updates main contrib non-free

deb jessie-backports main contrib non-free

Then upgrade the kernel and video driver and install updated firmware:

# apt-get update
# apt-get install -t jessie-backports linux-image-4.5.0-0.bpo.1-amd64
# apt-get install -t jessie-backports firmware-linux-nonfree
# apt-get install -t jessie-backports firmware-iwlwifi
# apt-get install -t jessie-backports xserver-xorg-video-intel

Reboot and wireless should be working.

TrackPoint scrolling and disabling TrackPad

Install xinput:

$ sudo apt-get install xinput

Create ~/.xsessionrc file with the following content:

# ThinkPad T460s TrackPad/TrackPoint configuration
# Required package: xinput

# extract device id from xinput output
function get_dev_id() {
    s=$(xinput | grep "$device_name")

# TrackPoint
get_dev_id "TPPS/2 IBM TrackPoint"

xinput --set-prop --type=int --format=8 "$dev_id" "Evdev Wheel Emulation" 1
xinput --set-prop --type=int --format=8 "$dev_id" "Evdev Wheel Emulation Button" 2
xinput --set-prop --type=int --format=8 "$dev_id" "Evdev Wheel Emulation Axes" 6 7 4 5
xinput --set-prop --type=float "$dev_id" "Device Accel Constant Deceleration" 0.25
xinput --set-prop --type=float "$dev_id" "Device Accel Adaptive Deceleration" 1.0
xinput --set-prop --type=float "$dev_id" "Device Accel Velocity Scaling" 12.5

# TrackPad
get_dev_id "PS/2 Synaptics TouchPad"

# disable TrackPad if desired
xinput --set-prop --type=int "$dev_id" "Device Enabled" 0

Source this file explicitly

$ . ~/.xsessionrc

or upon the next boot, TrackPoint should be fully working.

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

2 Responses to Installing Debian/Jessie on ThinkPad T460s

  1. AAA says:


    thank you very much for this guide. It really helped me a lot. I got WIFI now on my (companies) T460s laptop and working Fn keys (to change screen brightness).

    Just for anyone else who reads this: linux-image-4.5.0-0.bpo.1-amd64 no longer works, I used linux-image-4.7.0-0.bpo.1-amd64 (as of today 3rd December 2016)

    A relieved Debian user

Leave a Reply

Your email address will not be published. Required fields are marked *