Running Linux On T450s

Last modified: 
Monday, 1. January 2018 - 6:35

I used a couple of moments to figure out if I wanted to stay on Kubuntu 14.04 LTS (Long Term Support), but then I decided to go with the new version 15.10. I want the new KDEnLive, so I can create more bad videos no one watches on my Youtube Channel PlantSugar.

Initial Setup

Get the bootloader working with Windows 10

sudo aptitude install efibootmgr and tried to install grub-efi-amd64 ( - (both did not work).

I used boot-repair to get my installation from legacy to uefi (efi), boot. I did not manage to purge Grub before reloading grub into the standard Windows efi partition (on my computer sdb2). The efi partion is bootable and fat32 and the recommended size is above 200MB. More info about efi. Remember to disable secure boot in your bios.

At some point you might need to disable "fast startup" in Windows 10, because your (K)Ubuntu might not want to boot. I acutally thought the graphics driver had changed, so it could not boot, but found that the fast startup in Windows 10 was the culprit. Here is what I was seeing: 

[    2.932200]Error parsing PCC subspaces from PCCT
[    3.245398]nouveau ![  DEVICE][0000:06:00.0] unknown Maxwell chipset
[    3.245406]nouveau E[  DEVICE][0000:06:00.0] unknown chipset, 0x118010a2
[    3.245410]nouveau E[     DRM] failed to create 0x00000080, -22
welcome to emergency mode!

Disable touchpad: system settings -> input devices -> Touchpad -> disable touchpad when mouse is plugged in -> remove trackpoint from the ignore list

Remove KDE wallet: System settings -> Account Details.

Desktop settings: Layout = Folder view.

Settings -> Window Management -> Task Switcher -> Deselect "Show selected window" -> select "Compact" instead of "Breeze".

Settings -> Input Devices -> Mouse -> Double click to open

Settings -> Shortcuts -> Custom Shortcuts -> Enable Examples
Run Konsole: I use this Action: nice -n 19 konsole (the shortcut is ctrl + t - t for terminal)
Show Desktop Folder with Konqueror: Create new global shortcut | Trigger = ctrl + alt + h (h for home) | action = konqueror --profile filemanagement ~/Desktop
qmmp play ctrl + a: qmmp -p
qmmp stop ctrl + s: qmmp -s
Kcalc: ctrl + l: kcalc
Print Screen with shutter: shutter -s

Settings: Remove all effects to make things go faster without bling bling: Desktop Behavior -> Desktop Effects  (via desktop effects).
Screen Locking: change "Lock screen automatically after 5 min" to 60 minutes or something.

Update And Installation

/etc/apt/sources.list is reviewed, so as many cool sources are used. Chrome and Opera repositories are added.

#Google Chrome
deb stable main
deb stable non-free
deb wily-getdeb apps
#Skype for linux
deb [arch=amd64] stable main

Add the Google Chrome public key:

wget -q -O - | sudo apt-key add -

And the Opera public key:

wget -qO- | sudo apt-key add - 

And the GetDeb public key: 

wget -q -O- | sudo apt-key add -

Skype for Linux public key:

wget  -q -O- | sudo apt-key add -


sudo add-apt-repository ppa:kdenlive/kdenlive-stable

The best browser Google Chrome: google-chrome-stable

qmmp, really great for playing music and it is the good winamp clone.

konqueror, my preferred file browser compared to Dolphin. Remember to set your default viewing properties: View -> Adjust View Properties...

Java the cool way: default-jre icedtea-plugin

Converting sound files in the command line and playing mp3 files in the command line interface for "system alerts" - do it with "play" (sox): libsox-fmt-mp3

Shutter: Fantastic for screenshots and fast editing afterwards. A similar alternative for Windows is GreenShot.

Grub (boot configuration): kde-config-grub2

If you need Linux, Apache, MySQL, PHP (LAMP), you can look into this overview, but it might be a bit outdated: LAMP.

Garmin Connect in Linux.


Latest Nvidia drivers. When using Prime to switch from Nvidia Graphics to Intel Graphics through the "Nvidia X Server Settings", the curren max intel resolution is xrandr | grep '*' = 1360x768. I am not sure how to change this permanently, but I found that if i run: xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync then it will work. You might need to run xrandr --addmode eDP1 1920x1080_60.00 too (my output is eDP1 - run xrandr to find which output is connected). To find the mode option run cvt 1920 1080 if you have a different graphical resolution. I found that I get the flickering bug, when using the intel graphics. The primary reason to run the integrated intel graphics, is to reduce power consumption, to enable longer battery life time when traveling.
Change resolution: xrandr -s 1920x1080
Available resolutions: xrandr -q
Which proprietary drivers are installed: ubuntu-drivers list

Nvidia Troubleshooting

If you are having problems with your startup, you can purge all the nvidia drivers from the ubuntu-drivers list For example:  sudo apt-get autoremove --purge nvidia-*

sudo nano /etc/X11/xorg.conf and set section "ServerLayout" to screen 0 "intel"

This might also be a life saver (source):

sudo apt-get install xserver-xorg-video-nouveau
sudo ubuntu-drivers autoinstall
sudo prime-select intel
sudo prime-select nvidia
prime-select query

All Packages


sudo aptitude update; sudo aptitude dist-upgrade -y

sudo aptitude install flac gimp gimp-gap gimp-data-extras flashplugin-nonfree vorbis-tools lame sox ffmpeg mjpegtools mplayer libdvdread4 libdvdnav4 rar unrar k4dirstat p7zip-full lzma arj rpm p7zip lmms audacity wine-stable gmail-notify ssh gparted synaptic samba nfs-common ttf-mscorefonts-installer opera vlc dia imagemagick mbmon ntfs-3g coreutils tidy maxima wxmaxima xmaxima ntfs-config txt2html kdenlive mesa-utils ubuntustudio-video googleearth-package checkinstall ubuntustudio-graphics ktorrent cmake gpsbabel powermanagement-interface shutter google-chrome-stable qmmp konqueror default-jre icedtea-plugin libsox-fmt-mp3 filezilla cheese skypeforlinux libreoffice tlp python-pip git pavucontrol acpi-call-dkms tp-smapi-dkms kompare kubuntu-restricted-extras faac faad x264 xml2 gtkmorph aspell-pl myspell-pl -y

2017-07-19 Removed because of error or outdated:

avidemux, php5-tidy, tidy-doc, kde-config-grub2