Basically ManicTime for Linux. If you're not familiar with ManicTime, there's a nice video tutorial here and here. Except currently it doesn't have UI, so it's more like an improved version of latte ...