Ubuntu /bin/i3-scratchpad script not working from i3, but works from any terminal
i3 version 4.22 (2023-01-02)
I used to work in Arch till recently, and your script always worked without a problem.
But since for biz reasons I had to change to Ubuntu 22.04.1 LTS - the script doesn't work. It is in the ~/bin directory which is in the PATH. All other executables from there I can call in i3, but i3-scratchpad doesn't work.
I tried all the .profile .bashrc .zshrc stuff with PATH that I found as a solution for similar problems, but it still doesn't work.
In .xsession-errors it just says /bin/sh: line 1: i3-scratchpad: command not found
Oh the other hand: /bin/sh i3-scatchpad
in the terminal (urxvt, alacritty) works from anywhere.
I am suspecting that while getting some newer releases of apps I use that were a bit outdated in the Ubuntu repository I have made some settings change that is affecting this. But I cannot find what.
I installed and later removed i3-gnome. I don't know, maybe it has something to do with that.
Let me know if you need any further info - if this is something that you could help with.