i3term does not run when installed normally #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I just saw your video in i3term and tried to install it, but launching it only prints errors.
When run after doing
make && sudo make installWhen run after doing
make && sudo make install-devIn both cases config file is not being created. But when I copied config manually to
~/.config/i3term, the dev install worked.thanks for the report. i will look into it. it seems i have managed to mess up something with my build system, i got reports about installation issues on i3ass as well.
Big thanks for this issue @DominikMarcinowski . It exposed two bugs.
I never tried running the normally installed version of the script myself, just checked that all the files got installed and manually reviewed the installed script to see that DATA_DIR was correctly replaced with the expanded
$(PREFIX)/$(NAME)(/usr/i3term) and it was. What i didn't catch was that for some reasonm4which did the replacement also removed a singlequote at a completely different location of the script:trap 'CLEANUP' EXIT INT HUP->trap 'CLEANUP EXIT INT HUPthis completely borked the script. This was obvious after runningshellcheckon the installed version of the script.I replaced
m4withsedand now all that is fine.The other issue was i forgot to create the directory
~/.config/i3termbefore copying the default config file, so cp failed. I replacedcpwithinstall -Dand now everything works.regarding
make install-dev(andmake uninstall-dev):This is what i personally use and as you might have seen they instead symlink the i3term script. I don't use sudo, instead do this:
make PREFIX=~ install-devwhich will put the symlink at~/bin/i3term. Reason for this is that now I can edit the functions in func/ and i3term script itself without re-building/re-installing. And this also skipped the whoem4replacement thing, and use data/ directory instead of/usr/i3term.