-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swhkd wont run + XDG_CONFIG_HOME/RUNTIME_DIR issues #203
Comments
I believe this is the similar to #201 |
Ok so maybe I tell swhkd and pexec to run in the startup screipt with the c
flag after the name and point it toward where the actual config is located ?
…On Fri, May 5, 2023, 6:14 AM heyzec ***@***.***> wrote:
I believe this is the similar to #201
<#201>
—
Reply to this email directly, view it on GitHub
<#203 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A46AI3F4FHJ7Q5F3Z6WXDK3XET4J3ANCNFSM6AAAAAAXOTSH2E>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This is happening because swhkd tries to use the config in your .config directory if the Pkexec marks this logging message as an expected error instead of a warning, and doesn't mention that it's falling back to a hardcoded path, until you actually look at at the source, which is leading to this confusion All you have to do is just create the file at |
oh alrigh ill give that a try. thank you very much |
Version Information:
swhkd 1.3.0-dev
uname -a
)swhkd -V
)Linux archlinux 6.2.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 20 Apr 2023 16:11:55 +0000 x86_64 GNU/Linux
Describe the bug:
Cant get keybinds to work in swhkd. They do work when put in the hyprland config file. When in the terminal i type "swhkswhkd pkexec swhkd" I get this error
ERROR swhkd] XDG_RUNTIME_DIR has not been set. Running swhkd as root!
[2023-04-28T01:40:11Z ERROR swhkd] XDG_CONFIG_HOME has not been set
so ok Lets look into this. I looked it up and putting export XDG_RUNTIME_DOR=/run/user/1000 amd export XDG_CONFIG_HOME=/run/user/1000 in the .zshrc file this is suppose to fix that. It didnt.
another similar bug report for swhkd said to try and run systemctl --user restart hotkey.service amd O tried that but i get Failed to restart hotkeys.service: Unit hotkeys.service not found.
So now I dont know what else to do.
here is my journal log https://pastebin.com/j2qi9w4j
Expected behavior:
I expected that once installed, and Ran sxgkd and plkexes something that my keybinds on the config file would start to work
Actual behavior:
Nothing happened. swhkd did not start nor did my keybinds work
To Reproduce:
Install swhkd in hyprland and try to start. It never started on its own so I had to try and manually start it
Additional information:
The text was updated successfully, but these errors were encountered: