A time usage statistics tool on Linux platform, which can display:
- Statistics of computer use time since today and in the past week.
- Count the usage time of each application today and in the past week.
-
print the data in an easy way.
-
para
-h
: print the infomation of help -
para
-d
--day
: print the data of specified day -
para
-i
--in
: print the data in the past several days -
para
-f
--from
: print the data since specified number of days -
para
-g
: print all the programs instead of top 5 programs -
para
-p
--program
: Only print the specified program's data -
Set time goal and time control
-
print the data in different hours(or mins)
-
error handling mechanism
-
package the program as gnome extension
- Set the program
dist/getWindows
open automatically at boot - Move the program
dist/display
to your directory~
(this is to say, Inputmv dist/display ~
in terminal) - Reboot
- Type
./display
in terminal to start
getWindows
is a program that get the windows name that is focused every 10s, and save the data in ~/.timespent/{time}.csv
. It exists thanks to pyinstaller. display
can read the data, and print the data in terminal using an easy way. The source code in the folder src
.
GPL 3.0 or later.