THINKPAD T430S UBUNTU CONFIGURATION GUIDES

 


INSTALL AND CONFIGURE THINKFAN

thinkfan will regulate fan speeds and provide cooler and quieter operation of the ThinkPad T430s

1. Open the Terminal and enter the following command

sudo bash

2. Install lm-sensors with the following command

apt-get install lm-sensors

3. Install thinkfan with the following command

apt-get install thinkfan

4. Enable fan control with these two commands:

echo "options thinkpad_acpi fan_control=1" > /etc/modprobe.d/thinkpad_acpi.conf
modprobe thinkpad_acpi

5. Set thinkfan to run at startup by changing START=no to START=yes in /etc/defaults/thinkfan (add this line if it doesn’t already exist). Edit this file by entering the following command:

nano -w /etc/default/thinkfan

6. If you are running Ubuntu 15.04 or later, enable the systemd daemon thinkfan with the following command:

systemctl enable thinkfan.service

7. Find the names of temperature sensors with the following command:

find /sys/devices -type f -name "temp*_input"

8. Customize the sensors, temperature ranges and fan speeds that thinkfan uses by editing /etc/thinkfan.conf by entering the following command:

nano -w /etc/thinkfan.conf

9. Scroll to the bottom of this file and change the sensors and temperature settings as desired. The defaults are fairly conservative. The settings I use are:

hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp1_input

(0, 0,  60) 
(1, 57, 65) 
(2, 63, 75) 
(3, 72, 80) 
(4, 78, 90) 
(5, 87, 95) 
(7, 92, 32767)

Restart and confirm thinkfan is running by entering the following command:

service --status-all

If thinkfan is not running, check its status with the following command:

systemctl status thinkfan service

See sensor readings with the following command:

sensors


source 1 | source 2 | source 3

 


ENABLE ADVANCED POWER MANAGEMENT

TLP provides advanced power management including processor frequency scaling, a power-aware process scheduler, hard disk advanced power management as well as audio and wifi power saving modes.

Battery run time often improves dramatically after installation of TLP with default settings.

Install TLP by following the steps described here

 


RESOLVE SCREEN TEARING

Intel HD 4000 graphics will sometimes show tearing during video playback or other fast movement on the screen.

To resolve this, enter the following commands in the Terminal:

sudo mkdir /etc/X11/xorg.conf.d/

echo -e 'Section "Device" \n Identifier "Intel Graphics" \n Driver "Intel" \n Option "TearFree" "true" \nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf


Restart the computer to make the settings active.

Source

 


DISABLE SCREEN LOCK AND SCREEN SHIELD

1. Go to Settings > Privacy and turn Screen Lock off

2. Open Ubuntu Software Center and search for “gnome disable screen shield”

3. Install the Disable Screen Shield extension

 


ADJUST DESKTOP NIGHT LIGHT TEMPERATURE

1. Go to Settings > Privacy and turn on Location Services

2. Go to Settings > Displays and turn on Night Light

3. Open Ubuntu Software Center and install dconf Editor

4. Open dconf Editor and navigate to org/gnome/settings-daemon/plugins/color/night-light-temperature

5. Turn off Use default value and enter a custom value. Here are some other temperatures values to use as a guide:

1000 — Lowest value (super warm/red)
4000 — Default night light on temperature
5500 — Balanced night light temperature (recommended for most users)
6500 — Default night light off temperature
10000 — Highest value (super cool/blue)

 


FIX WIRELESS CONNECTION PROBLEMS

1. If wireless networking quits working after resuming from suspend, take the following steps to resolve this issue:

a. Open the Terminal and enter the following command

sudo nano /etc/systemd/system/wifi-resume.service

b. Paste the following script into this new file:

#/etc/systemd/system/wifi-resume.service
#sudo systemctl enable wifi-resume.service
[Unit]
Description=Restart networkmanager at resume
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target

[Service]
Type=oneshot
ExecStart=/bin/systemctl restart network-manager.service

[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target

c. Press Ctrl + X and then answer Y to save the file

d. Enter the following command to activate

 sudo systemctl enable wifi-resume.service

source

 

2. Some wireless cards in the T430s may drop active connections due to issues with power management functions in Ubuntu. Resolve this issue by automatically turning off wlan power management at startup with the following command in the Terminal:

sudo nano /etc/rc.local

Add the following two lines before the exit 0 line and then save the file:

sleep 10
iwconfig wlan0 power off
exit 0

Restart the computer.

source

 


FIX TIME DIFFERENCE WHEN DUAL BOOTING WINDOWS 10

Ubuntu maintains the hardware clock in universal time (UTC) by default, however Windows maintains the clock in local time. This results in time conflicts when dual booting Ubuntu and Windows on the same computer.

To correct this:

1. Boot into Windows

2. Open Regedit

3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

4. Right-click in the right panel and create a new DWORD (32-bit) value and name it RealTimeIsUniversal

5. Double-click the RealTimeIsUniversal DWORD and set its value to 1

6. Restart the computer


Contact Us