talonvoice / talon

Issue Tracker for the main Talon app
85 stars 0 forks source link

Eye tracking not available on stock Ubuntu 20.04 LTS #639

Closed adamward-git closed 10 months ago

adamward-git commented 1 year ago

Looking into this software for someone who has very limited hand control and is currently unable to continue their career as an artist.

This is the log output:

2023-11-04 11:11:01.450 ERROR cannot get _NET_CURRENT_DESKTOP
   11:           app/resources/loader.py:152| 
   10:                 talon/__init__.py:43 | 
    9:       talon/scripting/__init__.py:17 | 
    8:  talon/scripting/speech_system.py:13 | 
    7: talon/experimental/screen_lock.py:1  | 
    6:                       talon/ui.py:227| 
    5:                 talon/linux/ui.py:378| 
    4:                 talon/linux/ui.py:33 | 
    3:            talon/linux/xclient.py:104| 
    2:            talon/linux/xclient.py:438| # [stack splice]
    1:            talon/linux/xclient.py:188| 
AttributeError: failed to fetch property
2023-11-04 11:11:01.791 DEBUG Talon Version: 0.4.0
2023-11-04 11:11:01.792 DEBUG UI responsive at 0.8077s
2023-11-04 11:11:01.804 DEBUG [+] /home/xxxx/Downloads/talon-linux/talon/resources/talon_plugins/01_init.py
2023-11-04 11:11:02.064 DEBUG [ ] /home/xxxx/Downloads/talon-linux/talon/resources/talon_plugins/eye_mouse.py
2023-11-04 11:11:02.065 DEBUG [ ] /home/xxxx/Downloads/talon-linux/talon/resources/talon_plugins/eye_zoom_mouse.py
2023-11-04 11:11:02.065 DEBUG Talon modules loaded at 1.0810s
2023-11-04 11:11:02.067 DEBUG User modules loaded at 1.0814s
2023-11-04 11:11:03.928  INFO Activating Microphone: "Built-in Audio Analogue Stereo"
2023-11-04 11:11:03.938 DEBUG Dispatched launch events at 1.0907s, done at 2.9540s

XWayland is installed:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xwayland is already the newest version (2:22.1.1-1ubuntu0.7).
timo commented 1 year ago

talon eye tracking is based on tobii eye tracker hardware. i see no indication in the log that one is detected, however. also, wayland is not supported by talon and i'm not sure if talon can move the mouse cursor on wayland or not.

adamward-git commented 1 year ago

Thanks for the information, I thought it might use a webcam (I use a laptop with one built in).

For Ubuntu users, Wayland is the default install. Gnome intends to drop X11 support.

If Talon intends to continue with Linux support, it needs to support Wayland.

timo commented 1 year ago

wayland support has been a topic of discussion already many times. you can look at and follow this issue to see what's missing from wayland: https://gitlab.com/fedora/dei/a11y/-/issues/10