Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

for my job I want to track the time I am actually working on my computer. Therefore, I am wondering how it is possible to track the time I am logged in in Gnome but not locked the screen. Does anyone know if there is either a program or script for this purpose. Alternatively, it would also help, if somebody could point me to hooks for login, logout, lock screen, unlock screen, which i could use in order log the times of these events into a file.

Thanks in advance, Arnd

share|improve this question

marked as duplicate by Sylvain Pineau, Takkat, Eric Carvalho, karel, Avinash Raj May 25 '14 at 3:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.