Daniel Gall wrote:
Hi there, i´m not (yet) too familiar with linux but would like to exchange the os of several computers in our school from windows xp to linux (knoppix hd-install). Beforehand i want to make sure if (and how) i can accomplish that a program (i.e. Mozilla) will be killed after a certain idle time (no user activity) and will restart right after.
I would write a program to do that and run it as a daemon at boot.Because I know it, I would use c++ and Qt (but not necessarily for GUI purposes) and invoke ps to snoop on who is idle. Just looking at ps now, it appears you can do that although I know nothing of ps except the man page (and few exaples ;-( ).
I think you're idea is great. Hugo.
Background: A pre-defined e-learning info-website should be seen by default when students start using the computer. Since i am aware that not all students will remain on that site i want to make sure that this page isreloaded automatically after, say , 5 minutes of no user activity.Thanks a lot for any help, Daniel