To successfully flash Lineage OS to Mi 5s, there are few things to take care of. But before that please read the note below.
In Gnome we will use jmtpfs for mounting, which will do most of the jobs. So we no need to use mtpfs or install its libs.
Note: This guide will work in openSUSE 12.2 as well. Share your thoughts about openSUSE 12.2 and KDE in the comments section.