Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeps sending afk events if xserver is restarted #27

Open
ErikBjare opened this issue Aug 1, 2017 · 2 comments
Open

Keeps sending afk events if xserver is restarted #27

ErikBjare opened this issue Aug 1, 2017 · 2 comments
Labels

Comments

@ErikBjare
Copy link
Member

ErikBjare commented Aug 1, 2017

Was wondering for a long while why I didn't get any activity data visualized despite the buckets being updated regularly. I now noticed I have a 54h 14m 27s long afk event...

Steps to reproduce (haven't tested):

  1. Start a xsession from a tty
  2. Start aw-qt or the modules using systemd or something (so they survive when the xsession ends)
  3. Exit the xsession (without logging out of the tty)
  4. Start the xsession again
  5. aw-watcher-afk will now endlessly send afk events

This probably has to do with KeyboardListener and MouseListener (and, in turn, PyUserInput).

@ErikBjare ErikBjare added the bug label Aug 1, 2017
@johan-bjareholt
Copy link
Member

It's not a good idea to start aw-qt using systemd since it's dependent upon X. Add it to your startup apps in your DE or add it to your .xinitrc and it should work without issues. Might still worth looking into though.

@ErikBjare
Copy link
Member Author

@johan-bjareholt Actually, what I had done was to start it was run aw-qt in a tmux session. When the xserver died, aw-qt crashed, but the server and watchers kept going.

@ErikBjare ErikBjare changed the title aw-watcher-afk keeps sending not-afk events if xserver if restarted aw-watcher-afk keeps sending afk events if xserver if restarted Aug 3, 2017
@ErikBjare ErikBjare changed the title aw-watcher-afk keeps sending afk events if xserver if restarted aw-watcher-afk keeps sending afk events if xserver is restarted Aug 3, 2017
@ErikBjare ErikBjare changed the title aw-watcher-afk keeps sending afk events if xserver is restarted Keeps sending afk events if xserver is restarted Aug 3, 2017
vasuemme111 pushed a commit to dholendar-27/aw-watcher-afk that referenced this issue Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants