Nixos ydtools permission denied socketΒΆ
To get ydotool
running on Nixos Plasma with KDE you just need to:
programs.ydotool = {
enable = true;
};
You need to also add yourself to to ydotool
group.
#/etc/nixos/configuration.nix
{ config, pkgs, ... }:
{
users.users.brent = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "ydotool" ];
};
# ...
}
This will fix the permission denied error when trying to run ydotool on Nixos.
~ β― ydotool click
failed to connect socket /run/ydotoold/socket': Permission denied
Please check if the current user has sufficient permissions to access the socket file.
Comments
comments powered by Disqus