You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I launch anything through swhkd, the environment apparently gets somehow messed up. For example, trying to open an image from Discord (opened with swhkd) in a browser, I get an "Invalid environment block" popup error. On a slightly deeper level, it just seems to break xdg-open.
If I open Discord just through some start menu or something non-swhkd, this issue does not exist.
Some notes:
I didn't install with sudo. I wonder if this could be causing issues. Both swhks and swhkd seem to be running under my user. (Edit: maybe I did install with sudo, I just installed within the home directory)
I noticed swhkd seems to be creating some <hash>SHELL environment variable, which gets passed down to all the children created through swhkd. This variable looked really suspicious, and is basically why I figured out swhkd was the thing causing issues.
The text was updated successfully, but these errors were encountered:
You should be running swhks without root, while swhkd with pkexec. but i am able to reproduce this too, so probably a bug the SHELL variable is not passed correctly
minimal example would be this swhdrc
super + g
env > /tmp/log
and the log file has seemingly random characters appended to SHELL variable, which might be causing this.
I'm on Arch Linux, KDE/Wayland.
If I launch anything through
swhkd
, the environment apparently gets somehow messed up. For example, trying to open an image from Discord (opened with swhkd) in a browser, I get an "Invalid environment block" popup error. On a slightly deeper level, it just seems to breakxdg-open
.If I open Discord just through some start menu or something non-swhkd, this issue does not exist.
Some notes:
I didn't install withI wonder if this could be causing issues. Both swhks and swhkd seem to be running under my user. (Edit: maybe I did install with sudo, I just installed within the home directory)sudo
.<hash>SHELL
environment variable, which gets passed down to all the children created throughswhkd
. This variable looked really suspicious, and is basically why I figured out swhkd was the thing causing issues.The text was updated successfully, but these errors were encountered: