Skip to content

key and type commands not working with hyprland binds #290

@TahaCoder43

Description

@TahaCoder43

They work normally on the terminal, also Mousemove and click command work fine with hyprland binds

Also the command does run, I do see it in btop, it just does nothing. Also it outputs nothing I am using &> to pipe it's output

What I have tried

  • running ydotoold daemon with sudo -b ydotoold --socket-path="$HOME/.ydotool_socket" --socket-own="$(id -u):$(id -g)" instead of just enabling it using nixos builtin program.ydotoold.enable

  • running the command through a shell script file which is ran by the bind

  • Running with sudo. it caused ydotool to look for the socket in /tmp but for some reason I could not preserve the environment in sudo or set variables, so I tried making a soft link in tmp for the socket but it the ydotool command outputted permission denied

  • adding myself to the uinput group, and adding uinput group to sudoers

  • using kitty -c to run ydotool command

Also note that I haven't tried each of these things with both of the commands key and type, I tried running key normally without these modifications, after that I just tried these things with the type command, and it isn't working at all

I am on

  • nixos 24.11.20250129.59e618d (Vicuna)
  • Hyprland 0.45.2
  • ydotool 1.0.4 (search.nixos.org says it should be 1.0.4 I tried checking it with ydotool --version but did not work)

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