Open japgolly opened 6 years ago
look like you don't have zsh. You may need to reset the setting using dconf:
$ dconf reset /apps/guake
zsh is my main shell. Also I've tried that reset command but it had no effect unfortunately :(
dconf is different from gconf. It's been long time since ~/.gconf/apps/guake
is no more used
dconf reset /apps/guake
That's a no-op for me. To reset all the Guake settings, I need to specify both -f
and a trailing slash on my system:
dconf reset -f /apps/guake/
Hi I just tried both:
dconf reset /apps/guake
dconf reset -f /apps/guake/
I still have the same problem.
Also to confirm zsh:
golly@golly-desktop: ~
> which zsh
/usr/bin/zsh
golly@golly-desktop: ~
> zsh
golly@golly-desktop: ~
>
Any other ideas to help diagnose this?
sadly no idea. The issue seems to be related to zsh somehow. It is the latest error message that count:
GLib.Error: g-exec-error-quark: Failed to execute child process “zsh” (No such file or directory) (8)
Others are byproducts of this exception.
Thanks for the pointer. I found the problem :smile:
> echo $SHELL
zsh
> which zsh
/usr/bin/zsh
> guake
...
GLib.Error: g-exec-error-quark: Failed to execute child process “zsh” (No such file or directory) (8)
where as this works:
SHELL=$(which zsh) guake
I think guake should look for $SHELL
on the $PATH
thanks for this analysis, i'll plan trying to fix in for next release
I think this deserves a bit more further investigation. I don't recall ever seeing $SHELL
containing a relative path. Is this "valid", is this a common practice? Does it work in other apps that spawn a shell, including other terminal emulators? Is Guake the only exception where this is broken? What goes on under the hood, how does technically Guake launch the child, and how do others? ...
@egmontkob has a good point. I googled around and wasn't able to find a definitive answer. I did however see many examples using an absolute path and none using a non-absolute one which suggests that the fault is in my environment. If you're able to find a more definitive I'd like to know too :)
I guess this is because the PATH is not set when executing the shell. Shouldn’t be hard to propagate this env var to exec
I'm using Guake 3.0.4 on Arch Linux, you can see all packages installed on my system and their versions here.
I've removed my
~/.gconf/apps/guake
directory.Trying to start
guake
fails with: