abenz1267 / walker

Application launcher similar to Rofi etc. . Wayland native.
MIT License
263 stars 12 forks source link

Walker won't run apps if runAsService = true; #27

Closed Star-veil closed 4 months ago

Star-veil commented 4 months ago

I'm on nixOS, I installed walker using the homemanager module; I have three different scenarios:

abenz1267 commented 4 months ago
  1. what terminal are you using?
  2. what command are you trying to run? regular desktop app or a terminal cmd?
Star-veil commented 4 months ago
  1. kitty
  2. both
abenz1267 commented 4 months ago

Kitty should be recognized natively, if it's in your $PATH. From the past experience Nix users do weird stuff with their config :P. Might be a symlink issue? Or the $PATH being set after Walker is being launched.

Try setting the terminal in the config explicitly.

{
"terminal": "kitty"
}

That might not help, if your $PATH is not set correctly before launching Walker.

Star-veil commented 4 months ago

It actually tries to launch them now, but now it returns: exec: "vesktop": executable file not found in $PATH exec: "lutris": executable file not found in $PATH etc..

That might not help, if your $PATH is not set correctly before launching Walker.

I'm assuming it's this then, no idea what I could have that messes with this

schromp commented 4 months ago

Environment variables, such as path, are different when run as a systemd service. I didnt have time to figure out a solution yet though

abenz1267 commented 4 months ago

Ok, i'll close this here then for now, since it's not related to Walker.