-
-
Notifications
You must be signed in to change notification settings - Fork 78
Document modules for supporting Wayland more clearly #146
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
efcf1ae
48dd40c
e0a0cee
ff00f4b
0d18382
5d5c249
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,6 +33,10 @@ Installation | |||||
| .. note:: | ||||||
| Getting it to F-droid is a work-in-progress, see `this PR <https://gitlab.com/fdroid/fdroiddata/-/merge_requests/5502>`_. | ||||||
|
|
||||||
| .. group-tab:: Source | ||||||
|
|
||||||
| If you prefer to build ActivityWatch from source, check out :doc:`this guide <installing-from-source>` instead. | ||||||
|
|
||||||
|
|
||||||
| Usage | ||||||
| ===== | ||||||
|
|
@@ -48,6 +52,9 @@ If you want more advanced ways to run ActivityWatch (including running it withou | |||||
| .. note:: | ||||||
| If you are running GNOME 3 or another desktop environment that does not support system trays, or if for some reason Qt can't be used on your machine, read `Running on GNOME`. | ||||||
|
|
||||||
| .. note:: | ||||||
| If your Linux system is using Wayland rather than X11, the default watchers will not work. Read :ref:`window and idle watchers for Wayland<wayland-watchers>`. | ||||||
|
||||||
| If your Linux system is using Wayland rather than X11, the default watchers will not work. Read :ref:`window and idle watchers for Wayland<wayland-watchers>`. | |
| If your Linux system is using Wayland rather than X11, the default watchers will not work. See :ref:`window watchers <window-watchers>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -28,6 +28,9 @@ If you want to ensure you have the latest version of all submodules, preserving | |||||
|
|
||||||
| git submodule foreach --recursive git pull | ||||||
|
|
||||||
| .. note:: | ||||||
| If your Linux system is using Wayland rather than X11, the default watchers will not work. Read :ref:`window and idle watchers for Wayland<wayland-watchers>` for replacement modules supporting Wayland. | ||||||
|
|
||||||
|
||||||
| .. note:: | |
| If your Linux system is using Wayland rather than X11, the default watchers will not work. Read :ref:`window and idle watchers for Wayland<wayland-watchers>` for replacement modules supporting Wayland. |
I think we've made it clear enough elsewhere in docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think users will click the "install from source" link without scrolling down and expect complete instructions to be provided there. Having an additional step for Wayland users in the "usage section" of the "getting started" page is less intuitive I think. I removed it for now and if you agree with my rationale I'll add it back.
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,24 +3,27 @@ Watchers | |||||||||
|
|
||||||||||
| Watchers are the parts of ActivityWatch that do all the data collecting. | ||||||||||
|
|
||||||||||
| ActivityWatch comes with two watchers enabled by default: | ||||||||||
| ActivityWatch comes with two watchers enabled by default supporting Windows, macOS and Linux (X11 only): | ||||||||||
|
|
||||||||||
| - :gh-aw:`aw-watcher-afk` - Watches for mouse & keyboard activity to detect if the user is active (by default, an inactive period of at least 3 minutes is flagged as AFK: away from keyboard). | ||||||||||
| - :gh-aw:`aw-watcher-window` - Watches the active window, its title, and it's url (on Chrome-based browsers & Safari). | ||||||||||
|
|
||||||||||
| These default watchers are collecting some of the most important data. | ||||||||||
| But there is more to collect, so here are some other watchers that let you do so. | ||||||||||
|
|
||||||||||
| .. _window-watchers: | ||||||||||
| .. note:: | ||||||||||
| For Wayland, see :ref:`wayland-watchers`. | ||||||||||
|
||||||||||
| For Wayland, see :ref:`wayland-watchers`. | |
| For watchers supporting Wayland, see :ref:`window-watchers`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit weird to have a link that only goes to the next section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree
ErikBjare marked this conversation as resolved.
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Window and idle watchers for Wayland | |
| ------------------------------------------- | |
| Window watchers | |
| --------------- |
I prefer the old headings and description, but good that you link to it and make the Wayland things clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could maybe make the Wayland watchers a subsection instead, that way you can still have your wayland-watchers ref.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe making Wayland watchers its own section is the best way. Makes it clear they also offer idle watcher support. Clearly separates the officially bundled watchers from the ones the ones that are needed to solve Linux compatibility issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice