Skip to content

Can't start pkexec swhkd, XDG_CONFIG_HOME not found #201

@fritzrehde

Description

@fritzrehde

I have started swhks & in the background and am now trying to run pkexec swhkd, but I receive all of these errors:

[2023-04-08T14:11:59Z ERROR swhkd] XDG_RUNTIME_DIR has not been set.
[2023-04-08T14:11:59Z WARN  swhkd] Running swhkd as root!
[2023-04-08T14:11:59Z ERROR swhkd] XDG_CONFIG_HOME has not been set.
[2023-04-08T14:11:59Z ERROR swhkd] Config Error: Config file not found.

I am running on Arch Linux using river.
If I type in echo $XDG_CONFIG_HOME, I get the equivalent of $HOME/.config, so I am not sure why swhkd can't recognize it. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions