Skip to content

Can't get hints to run on gnome 48.1 #58

@mikeyjay39

Description

@mikeyjay39

Hello!
I'm having trouble launching the daemon, or running it directly with hints.

❯ fastfetch
                  -`                     mikeyjay@archlinux
                 .o+`                    ------------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: VirtualBox (1.2)
              `+oooooo:                  Kernel: Linux 6.14.7-arch2-1
              -+oooooo+:                 Uptime: 2 hours, 2 mins
            `/:-:++oooo+:                Packages: 830 (pacman)
           `/++++/+++++++:               Shell: bash 5.2.37
          `/++++++++++++++:              Display (Virtual-1): 1920x1080 @ 60 Hz
         `/+++ooooooooooooo/`            DE: GNOME 48.1
        ./ooosssso++osssssso+`           WM: Mutter (Wayland)
       .oossssso-````/ossssss+`          WM Theme: Adwaita
      -osssssso.      :ssssssso.         Theme: Adwaita [GTK2/3/4]
     :osssssss/        osssso+++.        Icons: Adwaita [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Font: Adwaita Sans (11pt) [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Cursor: Adwaita (24px)
 `+sso+:-`                 `.-/+oso:     Terminal: ghostty 1.1.3-arch1
`++:.                           `-/+/    Terminal Font: JetBrainsMono Nerd Font (18pt)
.`                                 `/    CPU: Intel(R) Core(TM) i7-10510U (4) @ 2.30 GHz
                                         GPU: VMware SVGA II Adapter
                                         Memory: 4.25 GiB / 7.57 GiB (56%)
                                         Swap: 3.70 MiB / 3.78 GiB (0%)
                                         Disk (/): 11.84 GiB / 100.97 GiB (12%) - btrfs
                                         Disk (/run/media/mikeyjay/VBox_GAs_7.1.4): 56.93 MiB / 56.93 MiB]
                                         Local IP (enp0s3): 10.0.2.15/24
                                         Battery (1): 53% [Discharging]
                                         Locale: en_US.UTF-8

Running directly:

❯ hints
Traceback (most recent call last):
  File "/home/mikeyjay/.local/bin/hints", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/mikeyjay/.local/share/pipx/venvs/hints/lib/python3.13/site-packages/hints/hints.py", line 357, in main
    window_system = get_window_system(config["window_system"])()
                    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mikeyjay/.local/share/pipx/venvs/hints/lib/python3.13/site-packages/hints/hints.py", line 314, in get_window_system
    raise WindowSystemNotSupported(get_args(SupportedWindowSystems))
hints.window_systems.exceptions.WindowSystemNotSupported: This window system is not supported, hints only supports one of:  x11, sway, hyprland. If you do have one of the supported window systems, it's possible Hints failed to correctly identify it. You can set the window system you are using manually in your config file. Please refer to the wiki for instructions: https://github.com/AlfredoSequeida/hints/wiki/Configuration-guide. Otherwise, to request support open an issue: https://github.com/AlfredoSequeida/hints/issues.

systemd:

❯ systemctl --user status hintsd
× hintsd.service - Hints daemon
     Loaded: loaded (/home/mikeyjay/.config/systemd/user/hintsd.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2025-05-25 01:32:12 UTC; 2min 35s ago
   Duration: 266ms
 Invocation: 5a14f142755c4d9a9d6df2173e69cae5
    Process: 27999 ExecStart=/home/mikeyjay/.local/bin/hintsd (code=exited, status=1/FAILURE)
   Main PID: 27999 (code=exited, status=1/FAILURE)

May 25 01:32:12 archlinux systemd[2054]: hintsd.service: Scheduled restart job, restart counter is at 5.
May 25 01:32:12 archlinux systemd[2054]: hintsd.service: Start request repeated too quickly.
May 25 01:32:12 archlinux systemd[2054]: hintsd.service: Failed with result 'exit-code'.
May 25 01:32:12 archlinux systemd[2054]: Failed to start Hints daemon.

Running the daemon directly:

❯ hintsd
Traceback (most recent call last):
  File "/home/mikeyjay/.local/bin/hintsd", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/mikeyjay/.local/share/pipx/venvs/hints/lib/python3.13/site-packages/hints/mouse_service.py", line 294, in main
    MouseService().run()
    ~~~~~~~~~~~~^^
  File "/home/mikeyjay/.local/share/pipx/venvs/hints/lib/python3.13/site-packages/hints/mouse_service.py", line 232, in __init__
    self.mouse = Mouse(self.screen.get_width(), self.screen.get_height())
                 ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mikeyjay/.local/share/pipx/venvs/hints/lib/python3.13/site-packages/hints/mouse_service.py", line 48, in __init__
    self.relative_mouse = UInput(
                          ~~~~~~^
        {
        ^
    ...<8 lines>...
        name="Hints relative mouse",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/mikeyjay/.local/share/pipx/venvs/hints/lib/python3.13/site-packages/evdev/uinput.py", line 152, in __init__
    self._verify()
    ~~~~~~~~~~~~^^
  File "/home/mikeyjay/.local/share/pipx/venvs/hints/lib/python3.13/site-packages/evdev/uinput.py", line 285, in _verify
    raise UInputError(msg.format(self.devnode))
evdev.uinput.UInputError: "/dev/uinput" cannot be opened for writing

I created /etc/udev/rules.d/80-hints.rules:

/etc/udev/rules.d/80-hints.rules

and /etc/environment:

ACCESSIBILITY_ENABLED=1
GTK_MODULES=gail:atk-bridge
OOO_FORCE_DESKTOP=gnome
GNOME_ACCESSIBILITY=1
QT_ACCESSIBILITY=1
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions